Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.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.001688/0.001688, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002197/0.002197, allocations: 213.6 kB / 22.24 MB, free: 4.855 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.744/1.744, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 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.351/3.351, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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.ACLine_L_N,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_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,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_N") [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.002304/0.002304, allocations: 70.11 kB / 1.186 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.373/0.3753, allocations: 181.9 MB / 1.364 GB, free: 13.54 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.04252/0.4178, allocations: 33.76 MB / 1.397 GB, free: 11.66 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.0206/0.4384, allocations: 11.54 MB / 1.408 GB, free: 100 kB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003182/0.4416, allocations: 214.5 kB / 1.408 GB, free: 15.88 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.01175/0.4534, allocations: 4.266 MB / 1.412 GB, free: 11.61 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.006407/0.4598, allocations: 2.1 MB / 1.415 GB, free: 9.504 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.006434/0.4662, allocations: 2.41 MB / 1.417 GB, free: 7.094 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0107/0.4769, allocations: 8.457 MB / 1.425 GB, free: 14.61 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009904/0.4868, allocations: 6.175 MB / 1.431 GB, free: 8.316 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006373/0.4932, allocations: 3.868 MB / 1.435 GB, free: 4.438 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007057/0.5003, allocations: 4.147 MB / 1.439 GB, free: 284 kB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.001669/0.5019, allocations: 0.7774 MB / 1.44 GB, free: 15.5 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00419/0.5061, allocations: 1.903 MB / 1.442 GB, free: 13.59 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.003801/0.5099, allocations: 3.141 MB / 1.445 GB, free: 10.45 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.004968/0.5149, allocations: 2.747 MB / 1.447 GB, free: 7.688 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.01495/0.5298, allocations: 12.07 MB / 1.459 GB, free: 11.58 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 8.886e-06/0.5298, allocations: 4 kB / 1.459 GB, free: 11.57 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.184e-06/0.5298, allocations: 0 / 1.459 GB, free: 11.57 MB / 1.154 GB Notification: Performance of Transformations before backend: time 0.0003448/0.5302, allocations: 0 / 1.459 GB, free: 11.57 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01403/0.5442, allocations: 5.859 MB / 1.465 GB, free: 5.652 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.5443, allocations: 11.97 kB / 1.465 GB, free: 5.641 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005792/0.5501, allocations: 1.086 MB / 1.466 GB, free: 4.551 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008331/0.5584, allocations: 3.415 MB / 1.469 GB, free: 1.066 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003623/0.5588, allocations: 419.4 kB / 1.47 GB, free: 0.6562 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001324/0.5601, allocations: 0.5354 MB / 1.47 GB, free: 124 kB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01781/0.5779, allocations: 9.388 MB / 1.479 GB, free: 6.34 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001545/0.578, allocations: 23.83 kB / 1.479 GB, free: 6.316 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006172/0.5787, allocations: 240 kB / 1.48 GB, free: 6.082 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004144/0.5791, allocations: 346.8 kB / 1.48 GB, free: 5.742 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01261/0.5917, allocations: 6.822 MB / 1.487 GB, free: 14.91 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03595/0.6276, allocations: 24.27 MB / 1.51 GB, free: 6.043 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003708/0.6313, allocations: 2.292 MB / 1.513 GB, free: 3.766 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002717/0.6341, allocations: 1.763 MB / 1.514 GB, free: 2.008 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000101/0.6342, allocations: 26 kB / 1.514 GB, free: 1.98 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.623e-05/0.6342, allocations: 52.5 kB / 1.514 GB, free: 1.922 MB / 1.201 GB Notification: Performance of pre-optimization done (n=179): time 4.308e-06/0.6342, allocations: 4 kB / 1.514 GB, free: 1.918 MB / 1.201 GB Notification: Performance of matching and sorting (n=182): time 0.02514/0.6594, allocations: 9.671 MB / 1.524 GB, free: 8.23 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.146e-05/0.6594, allocations: 73.34 kB / 1.524 GB, free: 8.145 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002175/0.6616, allocations: 1.449 MB / 1.525 GB, free: 6.695 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0001847/0.6618, allocations: 53.7 kB / 1.525 GB, free: 6.637 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.001699/0.6635, allocations: 2.315 MB / 1.528 GB, free: 4.301 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006892/0.6642, allocations: 0.6739 MB / 1.528 GB, free: 3.621 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006766/0.6648, allocations: 408.1 kB / 1.529 GB, free: 3.215 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.665, allocations: 309.1 kB / 1.529 GB, free: 2.91 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001847/0.6668, allocations: 1.179 MB / 1.53 GB, free: 1.727 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002425/0.6692, allocations: 1.881 MB / 1.532 GB, free: 15.53 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004716/0.674, allocations: 3.367 MB / 1.535 GB, free: 11.85 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.529e-05/0.674, allocations: 4 kB / 1.535 GB, free: 11.85 MB / 1.232 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.008291/0.6823, allocations: 4.528 MB / 1.54 GB, free: 7.297 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 3.41e-05/0.6823, allocations: 16 kB / 1.54 GB, free: 7.281 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.623e-05/0.6823, allocations: 20 kB / 1.54 GB, free: 7.262 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004011/0.6863, allocations: 1.586 MB / 1.541 GB, free: 5.668 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001261/0.6876, allocations: 351.4 kB / 1.542 GB, free: 5.324 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02647/0.7141, allocations: 17.82 MB / 1.559 GB, free: 3.098 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002196/0.7163, allocations: 119.9 kB / 1.559 GB, free: 2.98 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00033/0.7166, allocations: 100 kB / 1.559 GB, free: 2.883 MB / 1.248 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 (177): * 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: 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 {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003484/0.7201, allocations: 1.895 MB / 1.561 GB, free: 0.9766 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005224/0.7206, allocations: 222.6 kB / 1.561 GB, free: 0.7578 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007747/0.7284, allocations: 4.051 MB / 1.565 GB, free: 12.67 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-05/0.7284, allocations: 16 kB / 1.565 GB, free: 12.66 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-05/0.7284, allocations: 16 kB / 1.565 GB, free: 12.64 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.786e-05/0.7284, allocations: 7.969 kB / 1.565 GB, free: 12.63 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01654/0.745, allocations: 7.841 MB / 1.573 GB, free: 4.672 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.211e-05/0.745, allocations: 4 kB / 1.573 GB, free: 4.668 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00088/0.7459, allocations: 187.7 kB / 1.573 GB, free: 4.484 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003583/0.7494, allocations: 1.354 MB / 1.574 GB, free: 3.121 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001437/0.7496, allocations: 36 kB / 1.574 GB, free: 3.086 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02338/0.773, allocations: 16.6 MB / 1.591 GB, free: 2.074 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.025e-05/0.773, allocations: 11.94 kB / 1.591 GB, free: 2.062 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007472/0.7805, allocations: 4.024 MB / 1.595 GB, free: 13.95 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001478/0.7819, allocations: 458.4 kB / 1.595 GB, free: 13.5 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004377/0.7824, allocations: 39.98 kB / 1.595 GB, free: 13.46 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001119/0.7835, allocations: 87.89 kB / 1.595 GB, free: 13.37 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004549/0.7839, allocations: 169.5 kB / 1.595 GB, free: 13.2 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001185/0.7841, allocations: 48 kB / 1.595 GB, free: 13.16 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001494/0.7856, allocations: 0.9193 MB / 1.596 GB, free: 12.25 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7856, allocations: 4 kB / 1.596 GB, free: 12.24 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.003152/0.7887, allocations: 0.9921 MB / 1.597 GB, free: 11.25 MB / 1.295 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 (85): * Single equations (assignments): 81 * 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,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003358/0.789, allocations: 143 kB / 1.597 GB, free: 11.1 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.007304/0.7963, allocations: 4.166 MB / 1.601 GB, free: 6.887 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 5.62e-06/0.7963, allocations: 1 kB / 1.601 GB, free: 6.887 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.004482/0.8008, allocations: 2.575 MB / 1.604 GB, free: 4.258 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003326/0.8042, allocations: 0.7514 MB / 1.605 GB, free: 3.539 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6837/1.488, allocations: 8.882 MB / 1.613 GB, free: 220 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006278/1.494, allocations: 3.038 MB / 1.616 GB, free: 219.7 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001958/1.496, allocations: 452.2 kB / 1.617 GB, free: 219.7 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003438/1.496, allocations: 109.9 kB / 1.617 GB, free: 219.7 MB / 1.295 GB Notification: Performance of SimCode: time 9.92e-07/1.496, allocations: 1.125 kB / 1.617 GB, free: 219.7 MB / 1.295 GB Notification: Performance of Templates: time 0.08043/1.577, allocations: 50.22 MB / 1.666 GB, free: 200.6 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.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: 11.5729716476053]