Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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.002056/0.002056, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.002675/0.002675, allocations: 213 kB / 23.01 MB, free: 4.566 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.51/1.51, allocations: 230.6 MB / 256.8 MB, free: 8.016 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.267/3.267, allocations: 0.505 GB / 0.8108 GB, free: 22.05 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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") [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.002037/0.002037, allocations: 62.83 kB / 1.178 GB, free: 16.85 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3544/0.3565, allocations: 180.2 MB / 1.354 GB, free: 7.969 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.04054/0.397, allocations: 32.15 MB / 1.385 GB, free: 7.711 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02388/0.4209, allocations: 14.02 MB / 1.399 GB, free: 9.652 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003909/0.4248, allocations: 198.4 kB / 1.399 GB, free: 9.457 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.009423/0.4342, allocations: 3.336 MB / 1.403 GB, free: 6.113 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.008811/0.443, allocations: 2.786 MB / 1.405 GB, free: 3.312 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.006193/0.4492, allocations: 2.07 MB / 1.407 GB, free: 1.242 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.01226/0.4615, allocations: 7.63 MB / 1.415 GB, free: 9.586 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009105/0.4706, allocations: 4.651 MB / 1.419 GB, free: 4.816 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008174/0.4788, allocations: 3.638 MB / 1.423 GB, free: 1.168 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007518/0.4863, allocations: 3.5 MB / 1.426 GB, free: 13.65 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.002104/0.4884, allocations: 0.5938 MB / 1.427 GB, free: 13.06 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004655/0.493, allocations: 1.525 MB / 1.428 GB, free: 11.54 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.003753/0.4968, allocations: 2.408 MB / 1.431 GB, free: 9.121 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.006692/0.5035, allocations: 2.882 MB / 1.434 GB, free: 6.227 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.01422/0.5177, allocations: 9.469 MB / 1.443 GB, free: 12.73 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/0.5177, allocations: 0 / 1.443 GB, free: 12.73 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.024e-06/0.5177, allocations: 4 kB / 1.443 GB, free: 12.72 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.0002982/0.518, allocations: 0 / 1.443 GB, free: 12.72 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: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01364/0.5317, allocations: 5.164 MB / 1.448 GB, free: 7.492 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.5317, allocations: 8.031 kB / 1.448 GB, free: 7.484 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006502/0.5382, allocations: 1.028 MB / 1.449 GB, free: 6.453 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007795/0.546, allocations: 3.013 MB / 1.452 GB, free: 3.348 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003411/0.5463, allocations: 312.8 kB / 1.452 GB, free: 3.039 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001475/0.5478, allocations: 428 kB / 1.453 GB, free: 2.621 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01502/0.5628, allocations: 6.752 MB / 1.459 GB, free: 11.59 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001292/0.563, allocations: 19.83 kB / 1.459 GB, free: 11.57 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004853/0.5635, allocations: 184 kB / 1.459 GB, free: 11.39 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008945/0.5643, allocations: 372 kB / 1.46 GB, free: 11.03 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01042/0.5748, allocations: 5.114 MB / 1.465 GB, free: 5.895 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03992/0.6147, allocations: 30.27 MB / 1.494 GB, free: 4.859 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002339/0.617, allocations: 1.309 MB / 1.496 GB, free: 3.535 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001858/0.6189, allocations: 1.251 MB / 1.497 GB, free: 2.285 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001109/0.619, allocations: 13.31 kB / 1.497 GB, free: 2.27 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.836e-05/0.619, allocations: 47.88 kB / 1.497 GB, free: 2.215 MB / 1.186 GB Notification: Performance of pre-optimization done (n=130): time 3.347e-06/0.619, allocations: 0 / 1.497 GB, free: 2.215 MB / 1.186 GB Notification: Performance of matching and sorting (n=199): time 0.08492/0.704, allocations: 22.85 MB / 1.519 GB, free: 11.3 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.007e-05/0.704, allocations: 77.34 kB / 1.519 GB, free: 11.21 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003664/0.7077, allocations: 2.066 MB / 1.521 GB, free: 9.129 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.000411/0.7081, allocations: 57.7 kB / 1.521 GB, free: 9.066 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.001765/0.7099, allocations: 2.059 MB / 1.523 GB, free: 6.988 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008719/0.7107, allocations: 0.7087 MB / 1.524 GB, free: 6.273 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007665/0.7115, allocations: 416.4 kB / 1.524 GB, free: 5.859 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.7117, allocations: 305.1 kB / 1.525 GB, free: 5.559 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00223/0.7139, allocations: 1.43 MB / 1.526 GB, free: 4.125 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00287/0.7168, allocations: 2.021 MB / 1.528 GB, free: 1.855 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005624/0.7224, allocations: 3.696 MB / 1.532 GB, free: 13.92 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.121e-05/0.7224, allocations: 4 kB / 1.532 GB, free: 13.91 MB / 1.232 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01213/0.7345, allocations: 5.6 MB / 1.537 GB, free: 8.246 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 3.89e-05/0.7346, allocations: 15.98 kB / 1.537 GB, free: 8.23 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.893e-05/0.7346, allocations: 16 kB / 1.537 GB, free: 8.215 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007117/0.7417, allocations: 2.076 MB / 1.539 GB, free: 6.082 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001642/0.7433, allocations: 379.4 kB / 1.54 GB, free: 5.711 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04507/0.7884, allocations: 36.61 MB / 1.575 GB, free: 15.03 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002415/0.7908, allocations: 135.9 kB / 1.575 GB, free: 14.89 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002704/0.7911, allocations: 88 kB / 1.575 GB, free: 14.81 MB / 1.279 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,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.002851/0.794, allocations: 1.513 MB / 1.577 GB, free: 13.29 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006434/0.7946, allocations: 290.5 kB / 1.577 GB, free: 13 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01128/0.8059, allocations: 5.149 MB / 1.582 GB, free: 7.777 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.408e-05/0.8059, allocations: 19.98 kB / 1.582 GB, free: 7.758 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-05/0.8059, allocations: 20 kB / 1.582 GB, free: 7.738 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-05/0.806, allocations: 7.969 kB / 1.582 GB, free: 7.73 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02027/0.8262, allocations: 9.586 MB / 1.592 GB, free: 13.94 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.897e-05/0.8263, allocations: 4 kB / 1.592 GB, free: 13.93 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009854/0.8272, allocations: 219.6 kB / 1.592 GB, free: 13.72 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006023/0.8333, allocations: 1.842 MB / 1.594 GB, free: 11.82 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002641/0.8335, allocations: 40 kB / 1.594 GB, free: 11.78 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.7136/1.547, allocations: 35.61 MB / 1.628 GB, free: 212.5 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.916e-06/1.547, allocations: 11.06 kB / 1.629 GB, free: 212.5 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009825/1.557, allocations: 4.861 MB / 1.633 GB, free: 210.4 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001924/1.559, allocations: 0.5567 MB / 1.634 GB, free: 210.3 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000502/1.559, allocations: 41.92 kB / 1.634 GB, free: 210.2 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001412/1.561, allocations: 136.1 kB / 1.634 GB, free: 210.2 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007752/1.562, allocations: 196.7 kB / 1.634 GB, free: 210.2 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001403/1.562, allocations: 56.06 kB / 1.634 GB, free: 210.2 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.002177/1.564, allocations: 1.378 MB / 1.636 GB, free: 209.6 MB / 1.295 GB Notification: Performance of sort global known variables: time 7e-08/1.564, allocations: 0 / 1.636 GB, free: 209.6 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.004096/1.568, allocations: 1.045 MB / 1.637 GB, free: 209.6 MB / 1.295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004041/1.568, allocations: 169 kB / 1.637 GB, free: 209.4 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.009499/1.578, allocations: 6.015 MB / 1.643 GB, free: 205.9 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.375e-05/1.578, allocations: 2.094 kB / 1.643 GB, free: 205.9 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.00653/1.584, allocations: 4.276 MB / 1.647 GB, free: 203.1 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004552/1.589, allocations: 1.003 MB / 1.648 GB, free: 202.8 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01609/1.605, allocations: 8.832 MB / 1.656 GB, free: 198.7 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004314/1.609, allocations: 3.178 MB / 1.659 GB, free: 197.5 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007369/1.61, allocations: 160.3 kB / 1.66 GB, free: 197.5 MB / 1.295 GB Notification: Performance of SimCode: time 1.472e-06/1.61, allocations: 0 / 1.66 GB, free: 197.5 MB / 1.295 GB Notification: Performance of Templates: time 0.4159/2.026, allocations: 465.2 MB / 2.114 GB, free: 2.988 MB / 1.545 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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: 28.52387847600039]