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.001311/0.001311, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001517/0.001517, allocations: 222.9 kB / 23 MB, free: 4.914 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.495/1.495, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.408/3.408, allocations: 0.5107 GB / 0.8166 GB, free: 17.82 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,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: 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.003259/0.003259, allocations: 68.28 kB / 1.187 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5652/0.5684, allocations: 181.9 MB / 1.365 GB, free: 13.61 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.08057/0.649, allocations: 31.53 MB / 1.395 GB, free: 13.98 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.02907/0.6781, allocations: 10.28 MB / 1.405 GB, free: 3.668 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004568/0.6826, allocations: 198.6 kB / 1.406 GB, free: 3.473 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.01449/0.6971, allocations: 3.735 MB / 1.409 GB, free: 15.73 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.008611/0.7057, allocations: 1.956 MB / 1.411 GB, free: 13.77 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.008545/0.7143, allocations: 2.145 MB / 1.413 GB, free: 11.62 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.01116/0.7254, allocations: 7.319 MB / 1.42 GB, free: 4.281 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008088/0.7335, allocations: 5.103 MB / 1.425 GB, free: 15.05 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005857/0.7394, allocations: 3.299 MB / 1.429 GB, free: 11.75 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006503/0.7459, allocations: 3.449 MB / 1.432 GB, free: 8.285 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.001461/0.7474, allocations: 0.6445 MB / 1.433 GB, free: 7.641 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003969/0.7513, allocations: 1.65 MB / 1.434 GB, free: 5.988 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.003145/0.7545, allocations: 2.615 MB / 1.437 GB, free: 3.367 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.003861/0.7583, allocations: 2.342 MB / 1.439 GB, free: 1.016 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.01337/0.7717, allocations: 10.18 MB / 1.449 GB, free: 6.801 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 9.167e-06/0.7717, allocations: 0 / 1.449 GB, free: 6.801 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.595e-06/0.7717, allocations: 7.938 kB / 1.449 GB, free: 6.793 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.0002986/0.772, allocations: 0 / 1.449 GB, free: 6.793 MB / 1.139 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.01182/0.7838, allocations: 5.048 MB / 1.454 GB, free: 1.684 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.7839, allocations: 8.031 kB / 1.454 GB, free: 1.676 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00518/0.7891, allocations: 0.9813 MB / 1.455 GB, free: 0.6914 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00713/0.7962, allocations: 2.995 MB / 1.458 GB, free: 13.62 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003013/0.7965, allocations: 349.7 kB / 1.458 GB, free: 13.28 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009113/0.7974, allocations: 460.3 kB / 1.459 GB, free: 12.83 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01425/0.8117, allocations: 7.972 MB / 1.466 GB, free: 4.434 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001358/0.8118, allocations: 31.78 kB / 1.466 GB, free: 4.402 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004779/0.8123, allocations: 204 kB / 1.467 GB, free: 4.203 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003748/0.8126, allocations: 308.9 kB / 1.467 GB, free: 3.898 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01059/0.8232, allocations: 5.706 MB / 1.473 GB, free: 14.17 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03131/0.8545, allocations: 21.91 MB / 1.494 GB, free: 7.629 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002566/0.8571, allocations: 1.546 MB / 1.495 GB, free: 6.078 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001573/0.8587, allocations: 1.124 MB / 1.497 GB, free: 4.957 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 7.054e-05/0.8587, allocations: 17.31 kB / 1.497 GB, free: 4.938 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.891e-05/0.8588, allocations: 43.88 kB / 1.497 GB, free: 4.887 MB / 1.186 GB Notification: Performance of pre-optimization done (n=133): time 3.777e-06/0.8588, allocations: 0 / 1.497 GB, free: 4.887 MB / 1.186 GB Notification: Performance of matching and sorting (n=136): time 0.01357/0.8724, allocations: 6.203 MB / 1.503 GB, free: 14.64 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.048e-05/0.8724, allocations: 72.66 kB / 1.503 GB, free: 14.55 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001838/0.8743, allocations: 1.407 MB / 1.504 GB, free: 13.14 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 8.929e-05/0.8744, allocations: 45.7 kB / 1.504 GB, free: 13.09 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.001494/0.8758, allocations: 2.057 MB / 1.506 GB, free: 11.02 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004644/0.8763, allocations: 0.5074 MB / 1.507 GB, free: 10.51 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005426/0.8769, allocations: 347.3 kB / 1.507 GB, free: 10.16 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.877, allocations: 309.1 kB / 1.507 GB, free: 9.855 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001323/0.8783, allocations: 0.9096 MB / 1.508 GB, free: 8.945 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001919/0.8802, allocations: 1.597 MB / 1.51 GB, free: 7.039 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003521/0.8838, allocations: 2.733 MB / 1.512 GB, free: 3.992 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.134e-05/0.8838, allocations: 8 kB / 1.512 GB, free: 3.984 MB / 1.201 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006038/0.8898, allocations: 3.496 MB / 1.516 GB, free: 452 kB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.994e-05/0.8898, allocations: 16 kB / 1.516 GB, free: 436 kB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.667e-05/0.8899, allocations: 20 kB / 1.516 GB, free: 416 kB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002593/0.8925, allocations: 0.9117 MB / 1.517 GB, free: 15.45 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001111/0.8936, allocations: 355.3 kB / 1.517 GB, free: 15.11 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02234/0.9159, allocations: 21.46 MB / 1.538 GB, free: 8.422 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001644/0.9176, allocations: 104 kB / 1.538 GB, free: 8.32 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001419/0.9177, allocations: 83.94 kB / 1.538 GB, free: 8.238 MB / 1.232 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.003039/0.9207, allocations: 1.611 MB / 1.54 GB, free: 6.617 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003543/0.9211, allocations: 198.8 kB / 1.54 GB, free: 6.422 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005399/0.9265, allocations: 2.963 MB / 1.543 GB, free: 3.41 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.552e-05/0.9265, allocations: 15.94 kB / 1.543 GB, free: 3.395 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-05/0.9265, allocations: 8 kB / 1.543 GB, free: 3.387 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.384e-05/0.9265, allocations: 11.97 kB / 1.543 GB, free: 3.375 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01099/0.9375, allocations: 6.003 MB / 1.549 GB, free: 13.24 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.109e-05/0.9375, allocations: 4 kB / 1.549 GB, free: 13.23 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00079/0.9383, allocations: 179.7 kB / 1.549 GB, free: 13.06 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002401/0.9407, allocations: 0.822 MB / 1.55 GB, free: 12.2 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.391e-05/0.9408, allocations: 32 kB / 1.55 GB, free: 12.17 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02122/0.962, allocations: 20.33 MB / 1.57 GB, free: 6.602 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.613e-06/0.962, allocations: 4 kB / 1.57 GB, free: 6.598 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006049/0.9681, allocations: 3.002 MB / 1.573 GB, free: 3.48 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001208/0.9693, allocations: 386.5 kB / 1.573 GB, free: 3.102 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001987/0.9695, allocations: 24 kB / 1.573 GB, free: 3.078 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008048/0.9703, allocations: 75.91 kB / 1.573 GB, free: 3.004 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000373/0.9707, allocations: 132.6 kB / 1.573 GB, free: 2.875 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.58e-05/0.9708, allocations: 36 kB / 1.573 GB, free: 2.84 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.001465/0.9722, allocations: 0.8942 MB / 1.574 GB, free: 1.953 MB / 1.264 GB Notification: Performance of sort global known variables: time 9.1e-08/0.9722, allocations: 0 / 1.574 GB, free: 1.953 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.003321/0.9755, allocations: 0.789 MB / 1.575 GB, free: 1.164 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.0002897/0.9758, allocations: 135.1 kB / 1.575 GB, free: 1.023 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.006069/0.9819, allocations: 3.925 MB / 1.579 GB, free: 12.95 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.9819, allocations: 0 / 1.579 GB, free: 12.95 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.003803/0.9857, allocations: 2.667 MB / 1.581 GB, free: 10.12 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002782/0.9885, allocations: 0.7112 MB / 1.582 GB, free: 9.438 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01728/1.006, allocations: 7.96 MB / 1.59 GB, free: 1.375 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003818/1.01, allocations: 2.635 MB / 1.592 GB, free: 14.71 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005369/1.01, allocations: 119.4 kB / 1.593 GB, free: 14.59 MB / 1.295 GB Notification: Performance of SimCode: time 1.332e-06/1.01, allocations: 4 kB / 1.593 GB, free: 14.59 MB / 1.295 GB Notification: Performance of Templates: time 1.044/2.055, allocations: 323 MB / 1.908 GB, free: 6.371 MB / 1.357 GB " [Timeout remaining time 298] 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/jenkins1/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: 24.46629133168608]