Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001673/0.001673, allocations: 102.1 kB / 19.7 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.001956/0.001956, allocations: 215.7 kB / 23.01 MB, free: 4.609 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.482/1.482, allocations: 230.6 MB / 256.8 MB, free: 8.047 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.752/2.752, allocations: 476.7 MB / 0.7714 GB, free: 4.277 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_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_11_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.002063/0.002063, allocations: 68.75 kB / 1.119 GB, free: 40.37 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3593/0.3614, allocations: 170 MB / 1.285 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.04556/0.4069, allocations: 36.82 MB / 1.321 GB, free: 6.273 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01974/0.4267, allocations: 10.35 MB / 1.331 GB, free: 11.89 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004333/0.431, allocations: 190.6 kB / 1.331 GB, free: 11.7 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.01128/0.4423, allocations: 3.975 MB / 1.335 GB, free: 7.719 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.007536/0.4498, allocations: 2.146 MB / 1.337 GB, free: 5.562 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.006258/0.4561, allocations: 2.037 MB / 1.339 GB, free: 3.527 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01252/0.4686, allocations: 7.975 MB / 1.347 GB, free: 11.53 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009362/0.478, allocations: 5.28 MB / 1.352 GB, free: 6.125 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007276/0.4852, allocations: 3.47 MB / 1.355 GB, free: 2.645 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008108/0.4934, allocations: 3.933 MB / 1.359 GB, free: 14.7 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.00267/0.496, allocations: 0.6758 MB / 1.36 GB, free: 14.02 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005245/0.5013, allocations: 1.475 MB / 1.361 GB, free: 12.55 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.005139/0.5064, allocations: 2.681 MB / 1.364 GB, free: 9.859 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.007593/0.514, allocations: 3.112 MB / 1.367 GB, free: 6.734 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.01681/0.5308, allocations: 10.41 MB / 1.377 GB, free: 12.29 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.124e-06/0.5308, allocations: 0 / 1.377 GB, free: 12.29 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.583e-06/0.5308, allocations: 3.938 kB / 1.377 GB, free: 12.29 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0003747/0.5312, allocations: 4 kB / 1.377 GB, free: 12.29 MB / 1.076 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.01652/0.5477, allocations: 5.455 MB / 1.382 GB, free: 6.773 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.578e-05/0.5478, allocations: 12.03 kB / 1.382 GB, free: 6.762 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00563/0.5534, allocations: 0.985 MB / 1.383 GB, free: 5.773 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008683/0.5621, allocations: 3.14 MB / 1.386 GB, free: 2.57 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004132/0.5625, allocations: 361.9 kB / 1.387 GB, free: 2.215 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002042/0.5645, allocations: 464.3 kB / 1.387 GB, free: 1.762 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01875/0.5833, allocations: 7.906 MB / 1.395 GB, free: 9.492 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001352/0.5834, allocations: 19.83 kB / 1.395 GB, free: 9.473 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005899/0.584, allocations: 208 kB / 1.395 GB, free: 9.27 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005802/0.5846, allocations: 373.1 kB / 1.395 GB, free: 8.902 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01357/0.5982, allocations: 5.937 MB / 1.401 GB, free: 2.949 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04982/0.648, allocations: 35.69 MB / 1.436 GB, free: 12.01 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003632/0.6516, allocations: 1.99 MB / 1.438 GB, free: 10 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00216/0.6538, allocations: 1.328 MB / 1.439 GB, free: 8.676 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001114/0.6539, allocations: 17.31 kB / 1.439 GB, free: 8.656 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.368e-05/0.654, allocations: 59.81 kB / 1.439 GB, free: 8.59 MB / 1.139 GB Notification: Performance of pre-optimization done (n=157): time 3.917e-06/0.654, allocations: 4 kB / 1.439 GB, free: 8.586 MB / 1.139 GB Notification: Performance of matching and sorting (n=160): time 0.01441/0.6684, allocations: 6.663 MB / 1.446 GB, free: 1.879 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.216e-05/0.6684, allocations: 76.72 kB / 1.446 GB, free: 1.793 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002908/0.6714, allocations: 1.861 MB / 1.448 GB, free: 15.9 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.000184/0.6715, allocations: 53.7 kB / 1.448 GB, free: 15.84 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001963/0.6735, allocations: 2.196 MB / 1.45 GB, free: 13.63 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006966/0.6742, allocations: 0.5771 MB / 1.451 GB, free: 13.05 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007107/0.6749, allocations: 412 kB / 1.451 GB, free: 12.64 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.675, allocations: 301.1 kB / 1.451 GB, free: 12.34 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001665/0.6767, allocations: 1.058 MB / 1.452 GB, free: 11.28 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002291/0.679, allocations: 1.764 MB / 1.454 GB, free: 9.191 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004318/0.6833, allocations: 3.049 MB / 1.457 GB, free: 5.832 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.085e-05/0.6833, allocations: 4 kB / 1.457 GB, free: 5.828 MB / 1.154 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.007048/0.6904, allocations: 3.903 MB / 1.461 GB, free: 1.879 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 3.735e-05/0.6904, allocations: 20.06 kB / 1.461 GB, free: 1.859 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.978e-05/0.6904, allocations: 23.98 kB / 1.461 GB, free: 1.836 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002529/0.693, allocations: 0.9427 MB / 1.462 GB, free: 0.8555 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001583/0.6946, allocations: 427.3 kB / 1.462 GB, free: 448 kB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02343/0.718, allocations: 21.53 MB / 1.483 GB, free: 9.523 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002111/0.7201, allocations: 123.9 kB / 1.483 GB, free: 9.402 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002036/0.7203, allocations: 96 kB / 1.483 GB, free: 9.309 MB / 1.186 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.003049/0.7233, allocations: 1.652 MB / 1.485 GB, free: 7.645 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000602/0.7239, allocations: 266.4 kB / 1.485 GB, free: 7.383 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005936/0.7299, allocations: 3.232 MB / 1.488 GB, free: 4.098 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.562e-05/0.7299, allocations: 16 kB / 1.488 GB, free: 4.082 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.146e-05/0.7299, allocations: 16 kB / 1.488 GB, free: 4.066 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.488e-05/0.7299, allocations: 11.91 kB / 1.488 GB, free: 4.055 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01384/0.7438, allocations: 7.505 MB / 1.496 GB, free: 12.41 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.005e-05/0.7438, allocations: 4 kB / 1.496 GB, free: 12.4 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000947/0.7447, allocations: 220.2 kB / 1.496 GB, free: 12.19 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002469/0.7472, allocations: 0.8843 MB / 1.497 GB, free: 11.27 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001212/0.7473, allocations: 39.98 kB / 1.497 GB, free: 11.23 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02355/0.7709, allocations: 21.52 MB / 1.518 GB, free: 4.332 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-06/0.7709, allocations: 4 kB / 1.518 GB, free: 4.328 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006173/0.777, allocations: 3.369 MB / 1.521 GB, free: 0.8477 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001594/0.7786, allocations: 482.1 kB / 1.522 GB, free: 384 kB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003309/0.779, allocations: 39.98 kB / 1.522 GB, free: 344 kB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001031/0.78, allocations: 95.83 kB / 1.522 GB, free: 248 kB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003958/0.7804, allocations: 140.9 kB / 1.522 GB, free: 104 kB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001039/0.7805, allocations: 52 kB / 1.522 GB, free: 52 kB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001873/0.7824, allocations: 1.225 MB / 1.523 GB, free: 14.81 MB / 1.233 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7824, allocations: 0 / 1.523 GB, free: 14.81 MB / 1.233 GB Notification: Performance of remove unused functions: time 0.003006/0.7854, allocations: 0.9023 MB / 1.524 GB, free: 13.91 MB / 1.233 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.0002921/0.7857, allocations: 157.5 kB / 1.524 GB, free: 13.75 MB / 1.233 GB Notification: Performance of simCode: created initialization part: time 0.007062/0.7927, allocations: 4.284 MB / 1.528 GB, free: 9.312 MB / 1.233 GB Notification: Performance of simCode: created event and clocks part: time 8.436e-06/0.7927, allocations: 4 kB / 1.528 GB, free: 9.309 MB / 1.233 GB Notification: Performance of simCode: created simulation system equations: time 0.004676/0.7974, allocations: 2.91 MB / 1.531 GB, free: 6.242 MB / 1.233 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003734/0.8012, allocations: 0.8349 MB / 1.532 GB, free: 5.422 MB / 1.233 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01634/0.8175, allocations: 8.465 MB / 1.54 GB, free: 12.86 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004483/0.822, allocations: 3.275 MB / 1.543 GB, free: 9.555 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007729/0.8228, allocations: 159.4 kB / 1.544 GB, free: 9.398 MB / 1.248 GB Notification: Performance of SimCode: time 1.273e-06/0.8228, allocations: 0 / 1.544 GB, free: 9.398 MB / 1.248 GB Notification: Performance of Templates: time 0.9751/1.798, allocations: 340.1 MB / 1.876 GB, free: 66.62 MB / 1.311 GB " [Timeout remaining time 298] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 25.608713057008572]