Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002431/0.002431, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003111/0.003111, allocations: 173.2 kB / 22.76 MB, free: 1.664 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.551/1.551, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.339/3.339, allocations: 429.5 MB / 0.6729 GB, free: 4.004 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0 / 0.8775 GB, free: 6.645 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.632e-05/2.778e-05, allocations: 2.312 kB / 0.8775 GB, free: 6.641 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01516/0.01519, allocations: 10.05 MB / 0.8873 GB, free: 12.58 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.006286/0.02148, allocations: 3.102 MB / 0.8903 GB, free: 9.48 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008124/0.02229, allocations: 43.69 kB / 0.8903 GB, free: 9.438 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.002192/0.02448, allocations: 0.7113 MB / 0.891 GB, free: 8.723 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001771/0.02625, allocations: 0.746 MB / 0.8918 GB, free: 7.973 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001757/0.02801, allocations: 0.643 MB / 0.8924 GB, free: 7.328 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.003516/0.03152, allocations: 2.784 MB / 0.8951 GB, free: 4.531 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002134/0.03366, allocations: 1.368 MB / 0.8965 GB, free: 3.125 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00257/0.03623, allocations: 1.594 MB / 0.898 GB, free: 1.527 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002473/0.0387, allocations: 1.407 MB / 0.8994 GB, free: 120 kB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0004111/0.03911, allocations: 216 kB / 0.8996 GB, free: 15.9 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009957/0.04011, allocations: 471.2 kB / 0.9 GB, free: 15.45 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.001256/0.04136, allocations: 1.064 MB / 0.9011 GB, free: 14.38 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.00107/0.04243, allocations: 0.7251 MB / 0.9018 GB, free: 13.65 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.004246/0.04668, allocations: 3.51 MB / 0.9052 GB, free: 10.13 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.04668, allocations: 0 / 0.9052 GB, free: 10.13 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.242e-06/0.04668, allocations: 0 / 0.9052 GB, free: 10.13 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.262e-05/0.04674, allocations: 0 / 0.9052 GB, free: 10.13 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.004573/0.05131, allocations: 2.217 MB / 0.9074 GB, free: 7.867 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.05135, allocations: 8.031 kB / 0.9074 GB, free: 7.859 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006353/0.0577, allocations: 1.178 MB / 0.9085 GB, free: 6.68 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002715/0.06042, allocations: 1.064 MB / 0.9096 GB, free: 5.582 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001116/0.06053, allocations: 115.2 kB / 0.9097 GB, free: 5.469 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003278/0.06086, allocations: 148.3 kB / 0.9098 GB, free: 5.324 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003853/0.06471, allocations: 1.844 MB / 0.9116 GB, free: 3.332 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.247e-05/0.06475, allocations: 4.125 kB / 0.9116 GB, free: 3.328 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002005/0.06495, allocations: 68.34 kB / 0.9117 GB, free: 3.262 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002598/0.06521, allocations: 182.9 kB / 0.9119 GB, free: 3.082 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002542/0.06775, allocations: 0.8785 MB / 0.9127 GB, free: 2.199 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01766/0.08542, allocations: 10.17 MB / 0.9227 GB, free: 7.719 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001343/0.08676, allocations: 0.4913 MB / 0.9231 GB, free: 7.211 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008494/0.08761, allocations: 376.1 kB / 0.9235 GB, free: 6.84 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 7.578e-05/0.08769, allocations: 12.66 kB / 0.9235 GB, free: 6.828 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.402e-05/0.08773, allocations: 46.05 kB / 0.9236 GB, free: 6.773 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=82): time 2.504e-06/0.08773, allocations: 4 kB / 0.9236 GB, free: 6.77 MB / 0.8855 GB Notification: Performance of matching and sorting (n=139): time 0.02336/0.1111, allocations: 5.997 MB / 0.9294 GB, free: 0.75 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.382e-05/0.1112, allocations: 64.72 kB / 0.9295 GB, free: 0.6758 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001463/0.1126, allocations: 0.964 MB / 0.9304 GB, free: 15.7 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0001493/0.1128, allocations: 45.7 kB / 0.9305 GB, free: 15.64 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007962/0.1136, allocations: 0.8464 MB / 0.9313 GB, free: 14.79 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006498/0.1142, allocations: 0.5465 MB / 0.9318 GB, free: 14.24 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007407/0.115, allocations: 337.2 kB / 0.9321 GB, free: 13.9 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0003632/0.1153, allocations: 0.555 MB / 0.9327 GB, free: 13.34 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001094/0.1164, allocations: 423.8 kB / 0.9331 GB, free: 12.92 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001608/0.118, allocations: 0.9119 MB / 0.934 GB, free: 11.85 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003243/0.1213, allocations: 1.48 MB / 0.9354 GB, free: 10.21 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.636e-06/0.1213, allocations: 4 kB / 0.9354 GB, free: 10.2 MB / 0.9011 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01022/0.1315, allocations: 3.074 MB / 0.9384 GB, free: 7.102 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 3.161e-05/0.1315, allocations: 11.98 kB / 0.9384 GB, free: 7.09 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.863e-05/0.1315, allocations: 12 kB / 0.9385 GB, free: 7.078 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009252/0.1408, allocations: 1.952 MB / 0.9404 GB, free: 5.113 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008669/0.1417, allocations: 199.6 kB / 0.9406 GB, free: 4.918 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03157/0.1732, allocations: 15.75 MB / 0.9559 GB, free: 4.688 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001515/0.1747, allocations: 103.9 kB / 0.956 GB, free: 4.586 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001634/0.1749, allocations: 56 kB / 0.9561 GB, free: 4.531 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,12,100.0%), (6,12,100.0%), (6,24,100.0%), (6,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006885/0.1756, allocations: 280.2 kB / 0.9564 GB, free: 4.242 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003648/0.176, allocations: 159.3 kB / 0.9565 GB, free: 4.086 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01025/0.1862, allocations: 2.897 MB / 0.9593 GB, free: 1.156 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-05/0.1862, allocations: 19.98 kB / 0.9594 GB, free: 1.137 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.748e-05/0.1863, allocations: 16 kB / 0.9594 GB, free: 1.121 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.669e-05/0.1863, allocations: 11.86 kB / 0.9594 GB, free: 1.109 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01564/0.2019, allocations: 5.313 MB / 0.9646 GB, free: 11.67 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.311e-05/0.2019, allocations: 11.92 kB / 0.9646 GB, free: 11.66 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005183/0.2025, allocations: 115.8 kB / 0.9647 GB, free: 11.54 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00928/0.2117, allocations: 1.85 MB / 0.9665 GB, free: 9.68 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001625/0.2119, allocations: 28 kB / 0.9665 GB, free: 9.652 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02964/0.2415, allocations: 14.49 MB / 0.9807 GB, free: 10.67 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.694e-06/0.2415, allocations: 11.94 kB / 0.9807 GB, free: 10.66 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0101/0.2516, allocations: 2.98 MB / 0.9836 GB, free: 7.574 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001249/0.2529, allocations: 371 kB / 0.984 GB, free: 7.211 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002263/0.2531, allocations: 35.94 kB / 0.984 GB, free: 7.176 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009824/0.2541, allocations: 71.91 kB / 0.9841 GB, free: 7.105 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005621/0.2547, allocations: 128.9 kB / 0.9842 GB, free: 6.98 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001217/0.2548, allocations: 40 kB / 0.9842 GB, free: 6.941 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0008909/0.2557, allocations: 0.5732 MB / 0.9848 GB, free: 6.375 MB / 0.948 GB Notification: Performance of sort global known variables: time 8e-08/0.2557, allocations: 0 / 0.9848 GB, free: 6.375 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002413/0.2581, allocations: 0.7266 MB / 0.9855 GB, free: 5.648 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,12,100.0%), (6,24,100.0%), (6,6,100.0%), (10,14,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002749/0.2584, allocations: 131.2 kB / 0.9856 GB, free: 5.508 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.006221/0.2646, allocations: 2.706 MB / 0.9883 GB, free: 2.734 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.2646, allocations: 0 / 0.9883 GB, free: 2.734 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.005169/0.2698, allocations: 2.128 MB / 0.9903 GB, free: 0.5312 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001538/0.2713, allocations: 220.6 kB / 0.9905 GB, free: 332 kB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006338/0.2776, allocations: 3.34 MB / 0.9938 GB, free: 12.9 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001492/0.2791, allocations: 0.9839 MB / 0.9948 GB, free: 11.88 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0006946/0.2798, allocations: 253.2 kB / 0.995 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001904/0.28, allocations: 56.48 kB / 0.9951 GB, free: 11.57 MB / 0.9636 GB Notification: Performance of SimCode: time 1.051e-06/0.28, allocations: 0 / 0.9951 GB, free: 11.57 MB / 0.9636 GB Notification: Performance of Templates: time 0.0704/0.3504, allocations: 42.82 MB / 1.037 GB, free: 0.9844 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.302525351988152]