Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.001786/0.001786, allocations: 109.1 kB / 19.71 MB, free: 2.145 MB / 14.72 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.002228/0.002228, allocations: 213.9 kB / 23 MB, free: 4.969 MB / 14.72 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.496/1.496, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.334/3.334, allocations: 0.49 GB / 0.7959 GB, free: 35.49 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002107/0.002107, allocations: 67.5 kB / 1.155 GB, free: 25.13 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3536/0.3558, allocations: 176.1 MB / 1.327 GB, free: 0.957 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.04249/0.3982, allocations: 31.52 MB / 1.358 GB, free: 1.348 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01859/0.4168, allocations: 10.3 MB / 1.368 GB, free: 7.02 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003669/0.4205, allocations: 198.5 kB / 1.368 GB, free: 6.824 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.01018/0.4307, allocations: 3.732 MB / 1.372 GB, free: 3.086 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.005847/0.4365, allocations: 1.948 MB / 1.374 GB, free: 1.129 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.006142/0.4427, allocations: 2.142 MB / 1.376 GB, free: 14.99 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01001/0.4527, allocations: 7.319 MB / 1.383 GB, free: 7.645 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00879/0.4615, allocations: 5.158 MB / 1.388 GB, free: 2.363 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005965/0.4674, allocations: 3.291 MB / 1.391 GB, free: 15.06 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00636/0.4738, allocations: 3.688 MB / 1.395 GB, free: 11.36 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.001568/0.4754, allocations: 0.6445 MB / 1.395 GB, free: 10.72 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003956/0.4793, allocations: 1.658 MB / 1.397 GB, free: 9.059 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.003288/0.4826, allocations: 2.611 MB / 1.4 GB, free: 6.441 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.004356/0.487, allocations: 2.342 MB / 1.402 GB, free: 4.09 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.01454/0.5015, allocations: 10.18 MB / 1.412 GB, free: 9.875 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 9.257e-06/0.5015, allocations: 0 / 1.412 GB, free: 9.875 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.605e-06/0.5015, allocations: 0 / 1.412 GB, free: 9.875 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0002818/0.5018, allocations: 0 / 1.412 GB, free: 9.875 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01112/0.5129, allocations: 5.048 MB / 1.417 GB, free: 4.766 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.513, allocations: 12.02 kB / 1.417 GB, free: 4.754 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005469/0.5184, allocations: 0.9774 MB / 1.418 GB, free: 3.773 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007581/0.526, allocations: 2.999 MB / 1.421 GB, free: 0.7031 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003125/0.5263, allocations: 349.7 kB / 1.421 GB, free: 368 kB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001397/0.5277, allocations: 460.3 kB / 1.421 GB, free: 15.91 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01586/0.5436, allocations: 7.972 MB / 1.429 GB, free: 7.516 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000137/0.5437, allocations: 31.77 kB / 1.429 GB, free: 7.484 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005036/0.5442, allocations: 196 kB / 1.429 GB, free: 7.293 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003783/0.5446, allocations: 316.9 kB / 1.43 GB, free: 6.98 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01084/0.5554, allocations: 5.698 MB / 1.435 GB, free: 1.266 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03255/0.588, allocations: 21.92 MB / 1.457 GB, free: 10.71 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002649/0.5906, allocations: 1.554 MB / 1.458 GB, free: 9.145 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001602/0.5922, allocations: 1.12 MB / 1.459 GB, free: 8.027 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 7.862e-05/0.5923, allocations: 21.31 kB / 1.459 GB, free: 8.004 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.763e-05/0.5924, allocations: 47.88 kB / 1.459 GB, free: 7.949 MB / 1.154 GB Notification: Performance of pre-optimization done (n=133): time 4.578e-06/0.5924, allocations: 0 / 1.459 GB, free: 7.949 MB / 1.154 GB Notification: Performance of matching and sorting (n=136): time 0.01507/0.6075, allocations: 6.187 MB / 1.465 GB, free: 1.719 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.135e-05/0.6075, allocations: 72.66 kB / 1.465 GB, free: 1.637 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002247/0.6098, allocations: 1.411 MB / 1.467 GB, free: 228 kB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001135/0.6099, allocations: 45.7 kB / 1.467 GB, free: 176 kB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001603/0.6115, allocations: 2.065 MB / 1.469 GB, free: 14.09 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.000547/0.6121, allocations: 0.5035 MB / 1.469 GB, free: 13.58 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005657/0.6126, allocations: 343.4 kB / 1.47 GB, free: 13.24 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.6128, allocations: 305.1 kB / 1.47 GB, free: 12.94 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001373/0.6141, allocations: 0.9096 MB / 1.471 GB, free: 12.03 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00194/0.6161, allocations: 1.597 MB / 1.472 GB, free: 10.12 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003587/0.6197, allocations: 2.737 MB / 1.475 GB, free: 7.07 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.435e-05/0.6197, allocations: 8 kB / 1.475 GB, free: 7.062 MB / 1.17 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006733/0.6264, allocations: 3.5 MB / 1.479 GB, free: 3.516 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 3.926e-05/0.6264, allocations: 16 kB / 1.479 GB, free: 3.5 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.829e-05/0.6265, allocations: 20 kB / 1.479 GB, free: 3.48 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002834/0.6293, allocations: 0.9042 MB / 1.479 GB, free: 2.539 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001209/0.6305, allocations: 355.3 kB / 1.48 GB, free: 2.191 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02288/0.6534, allocations: 21.47 MB / 1.501 GB, free: 11.5 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001613/0.655, allocations: 104 kB / 1.501 GB, free: 11.4 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001478/0.6551, allocations: 80 kB / 1.501 GB, free: 11.32 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002672/0.6578, allocations: 1.614 MB / 1.503 GB, free: 9.699 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004173/0.6582, allocations: 202.7 kB / 1.503 GB, free: 9.5 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005567/0.6638, allocations: 2.963 MB / 1.506 GB, free: 6.484 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.516e-05/0.6638, allocations: 7.969 kB / 1.506 GB, free: 6.477 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/0.6638, allocations: 3.938 kB / 1.506 GB, free: 6.473 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00107/0.6649, allocations: 378.6 kB / 1.506 GB, free: 6.102 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002446/0.6651, allocations: 23.98 kB / 1.506 GB, free: 6.078 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006946/0.6658, allocations: 63.92 kB / 1.506 GB, free: 6.016 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002913/0.6661, allocations: 137 kB / 1.506 GB, free: 5.883 MB / 1.201 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006734/0.6729, allocations: 3.092 MB / 1.509 GB, free: 2.742 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004923/0.6778, allocations: 3.272 MB / 1.512 GB, free: 15.45 MB / 1.217 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00138/0.6792, allocations: 0.9275 MB / 1.513 GB, free: 14.52 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001477/0.6806, allocations: 0.8942 MB / 1.514 GB, free: 13.64 MB / 1.217 GB Notification: Performance of Backend: time 4.71e-07/0.6806, allocations: 0 / 1.514 GB, free: 13.64 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.007431/0.6881, allocations: 3.799 MB / 1.518 GB, free: 9.68 MB / 1.217 GB Notification: Performance of SimCode: time 0.01416/0.7022, allocations: 8.291 MB / 1.526 GB, free: 1.355 MB / 1.217 GB Notification: Performance of Templates: time 0.08186/0.7841, allocations: 48.87 MB / 1.574 GB, free: 1.227 MB / 1.264 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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: 10.552938779001124]