Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.001583/0.001583, 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.00209/0.00209, allocations: 221.1 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.512/1.512, allocations: 230.6 MB / 256.8 MB, free: 7.824 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.306/3.306, allocations: 0.5107 GB / 0.8166 GB, free: 17.85 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_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") [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.002153/0.002153, allocations: 70.83 kB / 1.187 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4013/0.4034, 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_R): time 0.04667/0.4501, allocations: 33.68 MB / 1.398 GB, free: 11.82 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.01972/0.4698, allocations: 10.02 MB / 1.407 GB, free: 1.77 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003391/0.4732, allocations: 190.6 kB / 1.407 GB, free: 1.582 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.01081/0.484, allocations: 3.828 MB / 1.411 GB, free: 13.75 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.006314/0.4903, allocations: 2.142 MB / 1.413 GB, free: 11.59 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.005583/0.4959, allocations: 1.963 MB / 1.415 GB, free: 9.633 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.01113/0.507, allocations: 7.972 MB / 1.423 GB, free: 1.637 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01052/0.5176, allocations: 5.236 MB / 1.428 GB, free: 12.28 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006217/0.5238, allocations: 3.498 MB / 1.432 GB, free: 8.77 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006824/0.5306, allocations: 3.691 MB / 1.435 GB, free: 5.066 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.001988/0.5326, allocations: 0.6797 MB / 1.436 GB, free: 4.387 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00392/0.5365, allocations: 1.358 MB / 1.437 GB, free: 3.027 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.004297/0.5408, allocations: 2.697 MB / 1.44 GB, free: 332 kB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.005967/0.5468, allocations: 2.506 MB / 1.442 GB, free: 13.81 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.01367/0.5605, allocations: 10.46 MB / 1.452 GB, free: 3.312 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.5605, allocations: 0 / 1.452 GB, free: 3.312 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.174e-06/0.5605, allocations: 0 / 1.452 GB, free: 3.312 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.0003133/0.5608, allocations: 0 / 1.452 GB, free: 3.312 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: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01424/0.575, allocations: 5.457 MB / 1.458 GB, free: 13.8 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.5751, allocations: 16.02 kB / 1.458 GB, free: 13.78 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005524/0.5806, allocations: 0.9812 MB / 1.459 GB, free: 12.8 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008492/0.5891, allocations: 3.136 MB / 1.462 GB, free: 9.594 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004016/0.5895, allocations: 357.9 kB / 1.462 GB, free: 9.242 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001501/0.591, allocations: 472.3 kB / 1.463 GB, free: 8.781 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0187/0.6097, allocations: 8.671 MB / 1.471 GB, free: 15.56 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002005/0.6099, allocations: 15.88 kB / 1.471 GB, free: 15.54 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001221/0.6111, allocations: 212 kB / 1.471 GB, free: 15.34 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006456/0.6117, allocations: 373 kB / 1.472 GB, free: 14.97 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01292/0.6247, allocations: 5.926 MB / 1.477 GB, free: 9.031 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03932/0.664, allocations: 22.96 MB / 1.5 GB, free: 1.41 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004062/0.668, allocations: 1.987 MB / 1.502 GB, free: 15.41 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00231/0.6704, allocations: 1.333 MB / 1.503 GB, free: 14.08 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001306/0.6705, allocations: 17.31 kB / 1.503 GB, free: 14.06 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.459e-05/0.6705, allocations: 51.88 kB / 1.503 GB, free: 14 MB / 1.201 GB Notification: Performance of pre-optimization done (n=157): time 4.899e-06/0.6706, allocations: 0 / 1.503 GB, free: 14 MB / 1.201 GB Notification: Performance of matching and sorting (n=160): time 0.01583/0.6864, allocations: 6.647 MB / 1.51 GB, free: 7.305 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.888e-05/0.6865, allocations: 72.7 kB / 1.51 GB, free: 7.223 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003245/0.6897, allocations: 1.705 MB / 1.511 GB, free: 5.48 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0002487/0.69, allocations: 57.7 kB / 1.511 GB, free: 5.418 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.00186/0.6918, allocations: 2.195 MB / 1.514 GB, free: 3.203 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007333/0.6926, allocations: 0.5848 MB / 1.514 GB, free: 2.613 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000868/0.6934, allocations: 411.9 kB / 1.515 GB, free: 2.203 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.6936, allocations: 301.1 kB / 1.515 GB, free: 1.906 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001871/0.6954, allocations: 1.058 MB / 1.516 GB, free: 0.8438 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002555/0.698, allocations: 1.764 MB / 1.518 GB, free: 14.76 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004571/0.7026, allocations: 3.049 MB / 1.521 GB, free: 11.4 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.618e-05/0.7026, allocations: 8 kB / 1.521 GB, free: 11.39 MB / 1.217 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.007512/0.7101, allocations: 3.891 MB / 1.524 GB, free: 7.453 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 4.157e-05/0.7101, allocations: 16 kB / 1.524 GB, free: 7.438 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.155e-05/0.7102, allocations: 24 kB / 1.524 GB, free: 7.414 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002688/0.7129, allocations: 0.9279 MB / 1.525 GB, free: 6.449 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001697/0.7146, allocations: 427.2 kB / 1.526 GB, free: 6.031 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02401/0.7386, allocations: 21.11 MB / 1.546 GB, free: 15.69 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002117/0.7407, allocations: 127.9 kB / 1.546 GB, free: 15.56 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003892/0.7411, allocations: 95.94 kB / 1.547 GB, free: 15.47 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 (227): * Single equations (assignments): 215 * 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,6,100.0%), (2,6,100.0%), (2,6,100.0%), (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.003272/0.7444, allocations: 1.646 MB / 1.548 GB, free: 13.81 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006679/0.745, allocations: 254.4 kB / 1.548 GB, free: 13.56 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00633/0.7514, allocations: 3.233 MB / 1.552 GB, free: 10.28 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.738e-05/0.7514, allocations: 16 kB / 1.552 GB, free: 10.27 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.439e-05/0.7514, allocations: 16 kB / 1.552 GB, free: 10.25 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.701e-05/0.7514, allocations: 7.969 kB / 1.552 GB, free: 10.24 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01343/0.7649, allocations: 6.433 MB / 1.558 GB, free: 3.676 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-05/0.7649, allocations: 4.562 kB / 1.558 GB, free: 3.672 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009896/0.7659, allocations: 219.6 kB / 1.558 GB, free: 3.457 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00247/0.7683, allocations: 0.8882 MB / 1.559 GB, free: 2.531 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001566/0.7685, allocations: 35.98 kB / 1.559 GB, free: 2.496 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02391/0.7924, allocations: 21.09 MB / 1.58 GB, free: 12.17 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.055e-05/0.7924, allocations: 7.938 kB / 1.58 GB, free: 12.16 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006795/0.7992, allocations: 3.34 MB / 1.583 GB, free: 8.711 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001605/0.8008, allocations: 454.3 kB / 1.583 GB, free: 8.266 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005889/0.8014, allocations: 35.98 kB / 1.583 GB, free: 8.23 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001429/0.8028, allocations: 91.89 kB / 1.583 GB, free: 8.141 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004432/0.8033, allocations: 148.9 kB / 1.584 GB, free: 7.992 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001324/0.8034, allocations: 44 kB / 1.584 GB, free: 7.949 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.002027/0.8054, allocations: 1.09 MB / 1.585 GB, free: 6.84 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8054, allocations: 4 kB / 1.585 GB, free: 6.836 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.003202/0.8086, allocations: 0.8984 MB / 1.586 GB, free: 5.938 MB / 1.279 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 (109): * Single equations (assignments): 97 * 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,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,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003405/0.809, allocations: 155 kB / 1.586 GB, free: 5.777 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.007408/0.8164, allocations: 4.299 MB / 1.59 GB, free: 1.32 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 9.387e-06/0.8164, allocations: 4 kB / 1.59 GB, free: 1.316 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.004847/0.8212, allocations: 2.902 MB / 1.593 GB, free: 14.26 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003958/0.8252, allocations: 0.7722 MB / 1.593 GB, free: 13.5 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01735/0.8425, allocations: 8.434 MB / 1.602 GB, free: 4.965 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005129/0.8477, allocations: 2.739 MB / 1.604 GB, free: 2.191 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007427/0.8484, allocations: 143.4 kB / 1.605 GB, free: 2.051 MB / 1.295 GB Notification: Performance of SimCode: time 1.232e-06/0.8484, allocations: 0 / 1.605 GB, free: 2.051 MB / 1.295 GB Notification: Performance of Templates: time 0.9417/1.79, allocations: 340.6 MB / 1.937 GB, free: 12.78 MB / 1.389 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.776253177784383]