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.002183/0.002183, allocations: 104.3 kB / 16.45 MB, free: 6.449 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.002604/0.002604, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.592/1.592, allocations: 230.6 MB / 252.8 MB, free: 9.129 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.241/3.241, allocations: 0.4899 GB / 0.7915 GB, free: 33.32 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.002142/0.002142, allocations: 72.78 kB / 1.149 GB, free: 26.17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3754/0.3775, allocations: 176.1 MB / 1.321 GB, free: 2.84 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.04259/0.4201, allocations: 33.18 MB / 1.354 GB, free: 1.551 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01966/0.4398, allocations: 10.41 MB / 1.364 GB, free: 7.109 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003592/0.4433, allocations: 198.5 kB / 1.364 GB, free: 6.914 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.01095/0.4543, allocations: 3.779 MB / 1.368 GB, free: 3.125 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.006273/0.4606, allocations: 1.944 MB / 1.37 GB, free: 1.172 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.006165/0.4667, allocations: 2.133 MB / 1.372 GB, free: 15.04 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01107/0.4778, allocations: 7.321 MB / 1.379 GB, free: 7.699 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01317/0.491, allocations: 7.058 MB / 1.386 GB, free: 0.5195 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006717/0.4977, allocations: 3.276 MB / 1.389 GB, free: 13.23 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007121/0.5048, allocations: 3.68 MB / 1.393 GB, free: 9.539 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.002268/0.5071, allocations: 0.6445 MB / 1.393 GB, free: 8.895 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005378/0.5125, allocations: 1.806 MB / 1.395 GB, free: 7.09 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.005046/0.5175, allocations: 2.607 MB / 1.397 GB, free: 4.477 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.006171/0.5237, allocations: 2.902 MB / 1.4 GB, free: 1.562 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.01496/0.5386, allocations: 10.13 MB / 1.41 GB, free: 7.402 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 9.888e-06/0.5387, allocations: 3.984 kB / 1.41 GB, free: 7.398 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.683e-06/0.5387, allocations: 0 / 1.41 GB, free: 7.398 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0003414/0.539, allocations: 0 / 1.41 GB, free: 7.398 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.0129/0.5519, allocations: 5.128 MB / 1.415 GB, free: 2.191 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/0.5519, allocations: 15.92 kB / 1.415 GB, free: 2.176 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005838/0.5578, allocations: 0.9735 MB / 1.416 GB, free: 1.199 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006884/0.5647, allocations: 3.055 MB / 1.419 GB, free: 14.08 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003775/0.565, allocations: 357.5 kB / 1.42 GB, free: 13.73 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001552/0.5666, allocations: 460.3 kB / 1.42 GB, free: 13.29 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01797/0.5846, allocations: 7.671 MB / 1.427 GB, free: 5.266 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002382/0.5848, allocations: 19.83 kB / 1.427 GB, free: 5.246 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001394/0.5862, allocations: 200 kB / 1.428 GB, free: 5.051 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004562/0.5867, allocations: 316.9 kB / 1.428 GB, free: 4.738 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0144/0.6011, allocations: 5.706 MB / 1.434 GB, free: 15.01 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05025/0.6513, allocations: 34.9 MB / 1.468 GB, free: 8.91 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003442/0.6547, allocations: 2.008 MB / 1.47 GB, free: 6.785 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001933/0.6567, allocations: 1.124 MB / 1.471 GB, free: 5.664 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001095/0.6568, allocations: 13.31 kB / 1.471 GB, free: 5.652 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.55e-05/0.6568, allocations: 55.81 kB / 1.471 GB, free: 5.59 MB / 1.17 GB Notification: Performance of pre-optimization done (n=133): time 3.316e-06/0.6568, allocations: 0 / 1.471 GB, free: 5.59 MB / 1.17 GB Notification: Performance of matching and sorting (n=136): time 0.01652/0.6734, allocations: 7.118 MB / 1.478 GB, free: 14.2 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.17e-05/0.6734, allocations: 64.72 kB / 1.478 GB, free: 14.12 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003285/0.6767, allocations: 1.488 MB / 1.479 GB, free: 12.59 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0002608/0.677, allocations: 49.7 kB / 1.479 GB, free: 12.54 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.00179/0.6788, allocations: 2.061 MB / 1.481 GB, free: 10.45 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006979/0.6795, allocations: 0.5035 MB / 1.482 GB, free: 9.945 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000814/0.6803, allocations: 351.3 kB / 1.482 GB, free: 9.594 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.6804, allocations: 305.1 kB / 1.482 GB, free: 9.293 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00157/0.682, allocations: 0.9096 MB / 1.483 GB, free: 8.383 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002121/0.6841, allocations: 1.597 MB / 1.485 GB, free: 6.473 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003935/0.688, allocations: 2.733 MB / 1.487 GB, free: 3.43 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.836e-05/0.6881, allocations: 11.94 kB / 1.487 GB, free: 3.418 MB / 1.186 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.00714/0.6952, allocations: 3.516 MB / 1.491 GB, free: 15.85 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 3.867e-05/0.6952, allocations: 18.03 kB / 1.491 GB, free: 15.84 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.446e-05/0.6953, allocations: 23.94 kB / 1.491 GB, free: 15.81 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002978/0.6983, allocations: 0.8962 MB / 1.492 GB, free: 14.88 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001349/0.6996, allocations: 347.4 kB / 1.492 GB, free: 14.54 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02591/0.7255, allocations: 23.12 MB / 1.515 GB, free: 5.742 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001854/0.7274, allocations: 108 kB / 1.515 GB, free: 5.637 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003358/0.7277, allocations: 88 kB / 1.515 GB, free: 5.551 MB / 1.217 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.003051/0.7308, allocations: 1.609 MB / 1.517 GB, free: 3.93 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005928/0.7313, allocations: 222.6 kB / 1.517 GB, free: 3.711 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006613/0.738, allocations: 2.951 MB / 1.52 GB, free: 0.7148 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.926e-05/0.738, allocations: 16 kB / 1.52 GB, free: 0.6992 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.536e-05/0.738, allocations: 8 kB / 1.52 GB, free: 0.6914 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.7e-05/0.738, allocations: 3.984 kB / 1.52 GB, free: 0.6875 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01613/0.7542, allocations: 7.317 MB / 1.527 GB, free: 9.141 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.758e-05/0.7542, allocations: 4 kB / 1.527 GB, free: 9.137 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009293/0.7551, allocations: 179.8 kB / 1.527 GB, free: 8.961 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002724/0.7578, allocations: 0.8179 MB / 1.528 GB, free: 8.105 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001633/0.758, allocations: 28 kB / 1.528 GB, free: 8.078 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02448/0.7825, allocations: 21.97 MB / 1.549 GB, free: 432 kB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.135e-06/0.7825, allocations: 11.88 kB / 1.549 GB, free: 420 kB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006043/0.7885, allocations: 3.007 MB / 1.552 GB, free: 13.29 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001078/0.7896, allocations: 475.5 kB / 1.553 GB, free: 12.81 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004039/0.79, allocations: 39.98 kB / 1.553 GB, free: 12.77 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00102/0.791, allocations: 68.11 kB / 1.553 GB, free: 12.7 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004018/0.7914, allocations: 128.6 kB / 1.553 GB, free: 12.57 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.892e-05/0.7915, allocations: 43.98 kB / 1.553 GB, free: 12.53 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.001714/0.7932, allocations: 0.9717 MB / 1.554 GB, free: 11.54 MB / 1.264 GB Notification: Performance of sort global known variables: time 1e-07/0.7932, allocations: 0 / 1.554 GB, free: 11.54 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.003131/0.7964, allocations: 0.7891 MB / 1.555 GB, free: 10.75 MB / 1.264 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (91): * Single equations (assignments): 79 * 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 {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002977/0.7967, allocations: 143.1 kB / 1.555 GB, free: 10.6 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.006571/0.8032, allocations: 3.914 MB / 1.559 GB, free: 6.535 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 7.734e-06/0.8033, allocations: 4 kB / 1.559 GB, free: 6.531 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.004189/0.8074, allocations: 2.662 MB / 1.561 GB, free: 3.711 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003812/0.8113, allocations: 0.7367 MB / 1.562 GB, free: 2.996 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0168/0.8281, allocations: 7.228 MB / 1.569 GB, free: 11.68 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005137/0.8332, allocations: 3.117 MB / 1.572 GB, free: 8.531 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001651/0.8348, allocations: 461.9 kB / 1.572 GB, free: 8.078 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004307/0.8353, allocations: 115.4 kB / 1.573 GB, free: 7.965 MB / 1.279 GB Notification: Performance of SimCode: time 1.302e-06/0.8353, allocations: 0 / 1.573 GB, free: 7.965 MB / 1.279 GB Notification: Performance of Templates: time 0.07467/0.91, allocations: 36.71 MB / 1.608 GB, free: 3.711 MB / 1.311 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/jenkins/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.857837713323534]