Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001164/0.001164, allocations: 80.48 kB / 19.93 MB, free: 4.629 MB / 18.57 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.001299/0.001299, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.8578/0.8578, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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 1.728/1.728, allocations: 389 MB / 0.6338 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.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_latest_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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 1.001 GB, free: 11.85 MB / 0.9167 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.141e-05/2.272e-05, allocations: 6.219 kB / 1.001 GB, free: 11.84 MB / 0.9167 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.4283/0.4283, allocations: 30.82 MB / 1.031 GB, free: 23.23 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.01158/0.4399, allocations: 10.14 MB / 1.041 GB, free: 21.66 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001903/0.4418, allocations: 197.2 kB / 1.041 GB, free: 21.57 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.004325/0.4461, allocations: 3.754 MB / 1.045 GB, free: 20.03 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.003483/0.4496, allocations: 2.001 MB / 1.047 GB, free: 18.82 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.003639/0.4532, allocations: 2.164 MB / 1.049 GB, free: 17.6 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.006392/0.4596, allocations: 7.453 MB / 1.056 GB, free: 14.16 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005713/0.4653, allocations: 5.119 MB / 1.061 GB, free: 11.59 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005129/0.4704, allocations: 4.592 MB / 1.066 GB, free: 9.352 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004073/0.4745, allocations: 3.235 MB / 1.069 GB, free: 8.262 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.001138/0.4757, allocations: 0.6457 MB / 1.069 GB, free: 8.262 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00269/0.4783, allocations: 1.676 MB / 1.071 GB, free: 7.863 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.002002/0.4803, allocations: 2.727 MB / 1.074 GB, free: 6.605 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.002476/0.4828, allocations: 2.014 MB / 1.076 GB, free: 5.609 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.007575/0.4904, allocations: 10.31 MB / 1.086 GB, free: 1.055 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.4904, allocations: 0.9688 kB / 1.086 GB, free: 1.055 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.362e-06/0.4904, allocations: 4 kB / 1.086 GB, free: 1.051 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001106/0.4905, allocations: 0 / 1.086 GB, free: 1.051 MB / 0.9323 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.005923/0.4964, allocations: 4.999 MB / 1.091 GB, free: 13.64 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.4965, allocations: 10.88 kB / 1.091 GB, free: 13.64 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002785/0.4993, allocations: 0.9939 MB / 1.092 GB, free: 13.15 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003698/0.503, allocations: 2.986 MB / 1.094 GB, free: 11.26 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001837/0.5031, allocations: 349 kB / 1.095 GB, free: 11.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005202/0.5037, allocations: 475.4 kB / 1.095 GB, free: 10.93 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007861/0.5115, allocations: 7.965 MB / 1.103 GB, free: 5.77 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-05/0.5116, allocations: 30.14 kB / 1.103 GB, free: 5.75 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003543/0.512, allocations: 197 kB / 1.103 GB, free: 5.605 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002383/0.5122, allocations: 320 kB / 1.104 GB, free: 5.527 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00625/0.5185, allocations: 5.702 MB / 1.109 GB, free: 2.582 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01592/0.5344, allocations: 21.88 MB / 1.131 GB, free: 15.72 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001556/0.5359, allocations: 1.54 MB / 1.132 GB, free: 14.17 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001098/0.537, allocations: 1.133 MB / 1.133 GB, free: 13.04 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 5.425e-05/0.5371, allocations: 17.25 kB / 1.133 GB, free: 13.03 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/0.5371, allocations: 43.88 kB / 1.133 GB, free: 12.97 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=133): time 2.565e-06/0.5371, allocations: 0 / 1.133 GB, free: 12.97 MB / 0.9792 GB Notification: Performance of matching and sorting (n=136): time 0.007481/0.5446, allocations: 6.202 MB / 1.139 GB, free: 6.73 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.528e-05/0.5446, allocations: 64.72 kB / 1.139 GB, free: 6.652 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00104/0.5457, allocations: 1.403 MB / 1.141 GB, free: 5.246 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 6.256e-05/0.5457, allocations: 45.7 kB / 1.141 GB, free: 5.195 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007673/0.5465, allocations: 2.057 MB / 1.143 GB, free: 3.121 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002439/0.5467, allocations: 0.4996 MB / 1.143 GB, free: 2.617 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003091/0.547, allocations: 347.3 kB / 1.144 GB, free: 2.273 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 6.397e-05/0.5471, allocations: 308.3 kB / 1.144 GB, free: 1.973 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008424/0.548, allocations: 0.9135 MB / 1.145 GB, free: 1.059 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001251/0.5492, allocations: 1.593 MB / 1.146 GB, free: 15.16 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002109/0.5513, allocations: 2.732 MB / 1.149 GB, free: 12.12 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.197e-06/0.5513, allocations: 11.94 kB / 1.149 GB, free: 12.11 MB / 0.9948 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.003512/0.5548, allocations: 3.504 MB / 1.152 GB, free: 8.559 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.5549, allocations: 12 kB / 1.152 GB, free: 8.547 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.941e-05/0.5549, allocations: 24 kB / 1.152 GB, free: 8.523 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001511/0.5564, allocations: 0.9041 MB / 1.153 GB, free: 7.586 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005994/0.557, allocations: 351.4 kB / 1.154 GB, free: 7.242 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01236/0.5693, allocations: 21.45 MB / 1.175 GB, free: 0.5664 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007431/0.5701, allocations: 99.86 kB / 1.175 GB, free: 480 kB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.526e-05/0.5702, allocations: 92.45 kB / 1.175 GB, free: 388 kB / 1.01 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.002265/0.5725, allocations: 1.605 MB / 1.176 GB, free: 14.77 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000163/0.5726, allocations: 202.8 kB / 1.177 GB, free: 14.57 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003042/0.5757, allocations: 2.959 MB / 1.179 GB, free: 11.55 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.5757, allocations: 12 kB / 1.179 GB, free: 11.54 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.025e-05/0.5757, allocations: 15.98 kB / 1.179 GB, free: 11.52 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.5757, allocations: 3.984 kB / 1.179 GB, free: 11.52 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006406/0.5821, allocations: 6.011 MB / 1.185 GB, free: 5.383 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/0.5821, allocations: 4 kB / 1.185 GB, free: 5.379 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003881/0.5825, allocations: 179.7 kB / 1.186 GB, free: 5.203 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001221/0.5837, allocations: 0.8179 MB / 1.186 GB, free: 4.348 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.47e-05/0.5838, allocations: 32 kB / 1.186 GB, free: 4.316 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01195/0.5957, allocations: 20.32 MB / 1.206 GB, free: 14.77 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.5957, allocations: 11.94 kB / 1.206 GB, free: 14.76 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003244/0.599, allocations: 2.989 MB / 1.209 GB, free: 11.66 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005267/0.5995, allocations: 378.6 kB / 1.209 GB, free: 11.29 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001226/0.5996, allocations: 35.92 kB / 1.209 GB, free: 11.26 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004184/0.6, allocations: 71.86 kB / 1.21 GB, free: 11.19 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002741/0.6003, allocations: 132.6 kB / 1.21 GB, free: 11.05 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.184e-05/0.6004, allocations: 40 kB / 1.21 GB, free: 11.02 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.0008034/0.6012, allocations: 0.8942 MB / 1.211 GB, free: 10.13 MB / 1.057 GB Notification: Performance of sort global known variables: time 1e-07/0.6012, allocations: 0 / 1.211 GB, free: 10.13 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.002242/0.6034, allocations: 0.793 MB / 1.211 GB, free: 9.336 MB / 1.057 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.0002123/0.6036, allocations: 135 kB / 1.212 GB, free: 9.191 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.003472/0.6071, allocations: 3.912 MB / 1.215 GB, free: 5.137 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.6071, allocations: 0 / 1.215 GB, free: 5.137 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.002175/0.6093, allocations: 2.663 MB / 1.218 GB, free: 2.316 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001688/0.611, allocations: 0.7126 MB / 1.219 GB, free: 1.637 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009904/0.6209, allocations: 7.96 MB / 1.226 GB, free: 9.574 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002394/0.6233, allocations: 2.631 MB / 1.229 GB, free: 6.91 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002546/0.6235, allocations: 124.4 kB / 1.229 GB, free: 6.789 MB / 1.073 GB Notification: Performance of SimCode: time 8.82e-07/0.6235, allocations: 4 kB / 1.229 GB, free: 6.785 MB / 1.073 GB Notification: Performance of Templates: time 0.1811/0.8046, allocations: 323 MB / 1.544 GB, free: 3.477 MB / 1.385 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 14.43370765261352]