Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001708/0.001708, allocations: 111.2 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001928/0.001928, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.515/1.515, allocations: 225.6 MB / 249.4 MB, free: 3.137 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.756/2.756, allocations: 476.7 MB / 0.7628 GB, free: 15.2 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 63.89 kB / 1.107 GB, free: 4.586 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.014/1.015, allocations: 168.7 MB / 1.272 GB, free: 7.91 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.04347/1.059, allocations: 36.66 MB / 1.308 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.02356/1.082, allocations: 11.93 MB / 1.319 GB, free: 7.953 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004298/1.087, allocations: 162.6 kB / 1.32 GB, free: 7.902 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.01275/1.1, allocations: 4.421 MB / 1.324 GB, free: 5.309 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.007027/1.107, allocations: 2.085 MB / 1.326 GB, free: 4.031 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.007706/1.114, allocations: 2.471 MB / 1.328 GB, free: 2.621 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01401/1.128, allocations: 8.457 MB / 1.337 GB, free: 14.84 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01449/1.143, allocations: 5.866 MB / 1.342 GB, free: 11.88 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007774/1.151, allocations: 3.793 MB / 1.346 GB, free: 10.13 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009175/1.16, allocations: 4.429 MB / 1.35 GB, free: 8.234 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.003174/1.163, allocations: 0.7793 MB / 1.351 GB, free: 8.234 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008347/1.171, allocations: 2.074 MB / 1.353 GB, free: 7.516 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.006967/1.178, allocations: 3.136 MB / 1.356 GB, free: 5.484 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.01167/1.19, allocations: 3.401 MB / 1.36 GB, free: 3.078 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.02764/1.217, allocations: 12.01 MB / 1.371 GB, free: 10.36 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/1.217, allocations: 1.094 kB / 1.371 GB, free: 10.36 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.142e-06/1.217, allocations: 0 / 1.371 GB, free: 10.36 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0005277/1.218, allocations: 0 / 1.371 GB, free: 10.36 MB / 1.061 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.02548/1.244, allocations: 5.946 MB / 1.377 GB, free: 6.352 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/1.244, allocations: 9.906 kB / 1.377 GB, free: 6.352 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009033/1.253, allocations: 1.089 MB / 1.378 GB, free: 5.809 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01095/1.264, allocations: 3.464 MB / 1.382 GB, free: 3.586 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000588/1.264, allocations: 414.2 kB / 1.382 GB, free: 3.398 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003205/1.267, allocations: 0.5379 MB / 1.382 GB, free: 3.211 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03052/1.298, allocations: 9.082 MB / 1.391 GB, free: 10.29 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003041/1.298, allocations: 35.77 kB / 1.391 GB, free: 10.25 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002385/1.301, allocations: 232 kB / 1.392 GB, free: 10.03 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000516/1.301, allocations: 346.8 kB / 1.392 GB, free: 9.688 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01704/1.318, allocations: 6.826 MB / 1.399 GB, free: 2.852 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06017/1.378, allocations: 39.86 MB / 1.437 GB, free: 7.277 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00623/1.384, allocations: 2.908 MB / 1.44 GB, free: 4.219 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00286/1.387, allocations: 1.782 MB / 1.442 GB, free: 2.445 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001355/1.387, allocations: 25.98 kB / 1.442 GB, free: 2.418 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.289e-05/1.388, allocations: 52.56 kB / 1.442 GB, free: 2.359 MB / 1.123 GB Notification: Performance of pre-optimization done (n=179): time 3.256e-06/1.388, allocations: 0 / 1.442 GB, free: 2.359 MB / 1.123 GB Notification: Performance of matching and sorting (n=182): time 0.03572/1.423, allocations: 9.996 MB / 1.452 GB, free: 8.273 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.012e-05/1.423, allocations: 73.41 kB / 1.452 GB, free: 8.188 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003539/1.427, allocations: 1.53 MB / 1.453 GB, free: 6.613 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0003224/1.427, allocations: 57.7 kB / 1.454 GB, free: 6.551 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.00183/1.429, allocations: 2.32 MB / 1.456 GB, free: 4.207 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008769/1.43, allocations: 0.6701 MB / 1.456 GB, free: 3.531 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000853/1.431, allocations: 408.1 kB / 1.457 GB, free: 3.125 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001291/1.431, allocations: 305.1 kB / 1.457 GB, free: 2.824 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001965/1.433, allocations: 1.183 MB / 1.458 GB, free: 1.637 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002551/1.435, allocations: 1.877 MB / 1.46 GB, free: 15.44 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004811/1.44, allocations: 3.375 MB / 1.463 GB, free: 11.75 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.705e-05/1.44, allocations: 8 kB / 1.463 GB, free: 11.74 MB / 1.154 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.008506/1.449, allocations: 4.531 MB / 1.468 GB, free: 7.188 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 3.623e-05/1.449, allocations: 12 kB / 1.468 GB, free: 7.176 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.785e-05/1.449, allocations: 28 kB / 1.468 GB, free: 7.148 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004141/1.453, allocations: 1.58 MB / 1.469 GB, free: 5.562 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001474/1.454, allocations: 355.3 kB / 1.47 GB, free: 5.215 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0295/1.484, allocations: 18.61 MB / 1.488 GB, free: 2.047 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001986/1.486, allocations: 115.9 kB / 1.488 GB, free: 1.934 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003614/1.486, allocations: 95.98 kB / 1.488 GB, free: 1.84 MB / 1.17 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.004347/1.491, allocations: 1.902 MB / 1.49 GB, free: 15.92 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007407/1.491, allocations: 238.5 kB / 1.49 GB, free: 15.69 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008506/1.5, allocations: 4.036 MB / 1.494 GB, free: 11.62 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.969e-05/1.5, allocations: 20 kB / 1.494 GB, free: 11.61 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.643e-05/1.5, allocations: 16 kB / 1.494 GB, free: 11.59 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.351e-05/1.5, allocations: 11.95 kB / 1.494 GB, free: 11.58 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02091/1.521, allocations: 9.41 MB / 1.503 GB, free: 1.914 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.587e-05/1.521, allocations: 12.5 kB / 1.503 GB, free: 1.902 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000865/1.522, allocations: 183.7 kB / 1.504 GB, free: 1.723 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003844/1.526, allocations: 1.351 MB / 1.505 GB, free: 372 kB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000198/1.526, allocations: 36 kB / 1.505 GB, free: 336 kB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02427/1.55, allocations: 17.37 MB / 1.522 GB, free: 14.4 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.826e-06/1.55, allocations: 7.938 kB / 1.522 GB, free: 14.39 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007504/1.558, allocations: 4.04 MB / 1.526 GB, free: 10.27 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001363/1.559, allocations: 0.5346 MB / 1.526 GB, free: 9.711 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002866/1.559, allocations: 39.94 kB / 1.526 GB, free: 9.672 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000904/1.56, allocations: 87.89 kB / 1.527 GB, free: 9.586 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004751/1.561, allocations: 161.7 kB / 1.527 GB, free: 9.426 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001199/1.561, allocations: 51.94 kB / 1.527 GB, free: 9.375 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001434/1.562, allocations: 1.005 MB / 1.528 GB, free: 8.348 MB / 1.217 GB Notification: Performance of sort global known variables: time 9e-08/1.562, allocations: 0 / 1.528 GB, free: 8.348 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.003418/1.566, allocations: 0.9883 MB / 1.529 GB, free: 7.359 MB / 1.217 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.0003244/1.566, allocations: 147.6 kB / 1.529 GB, free: 7.207 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.007647/1.574, allocations: 4.17 MB / 1.533 GB, free: 2.988 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 1.017e-05/1.574, allocations: 4 kB / 1.533 GB, free: 2.984 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.00462/1.578, allocations: 2.576 MB / 1.535 GB, free: 368 kB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003548/1.582, allocations: 0.7737 MB / 1.536 GB, free: 15.61 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01661/1.598, allocations: 8.877 MB / 1.545 GB, free: 6.648 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005364/1.604, allocations: 3.576 MB / 1.548 GB, free: 3.039 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001514/1.605, allocations: 463.9 kB / 1.549 GB, free: 2.582 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003218/1.606, allocations: 111.4 kB / 1.549 GB, free: 2.473 MB / 1.232 GB Notification: Performance of SimCode: time 1.413e-06/1.606, allocations: 4 kB / 1.549 GB, free: 2.469 MB / 1.232 GB Notification: Performance of Templates: time 0.08558/1.691, allocations: 46 MB / 1.594 GB, free: 4.918 MB / 1.279 GB " [Timeout remaining time 298] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 10.585921597667038]