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.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.001818/0.001818, allocations: 110.5 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.002222/0.002222, allocations: 216.7 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.452/1.452, allocations: 230.6 MB / 256.8 MB, free: 8.039 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.731/2.731, 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_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: 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.002065/0.002065, allocations: 66.38 kB / 1.119 GB, free: 40.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3753/0.3773, allocations: 170 MB / 1.285 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.04801/0.4253, allocations: 36.67 MB / 1.32 GB, free: 6.383 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02327/0.4486, allocations: 11.98 MB / 1.332 GB, free: 10.37 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004208/0.4528, allocations: 210.4 kB / 1.332 GB, free: 10.16 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.01244/0.4653, allocations: 4.451 MB / 1.337 GB, free: 5.699 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.00756/0.4728, allocations: 2.092 MB / 1.339 GB, free: 3.598 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.00737/0.4802, allocations: 2.463 MB / 1.341 GB, free: 1.137 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01332/0.4935, allocations: 8.465 MB / 1.349 GB, free: 8.648 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01109/0.5046, allocations: 6.243 MB / 1.355 GB, free: 2.289 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007701/0.5123, allocations: 3.845 MB / 1.359 GB, free: 14.43 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008918/0.5212, allocations: 4.428 MB / 1.364 GB, free: 9.992 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.00275/0.524, allocations: 0.7812 MB / 1.364 GB, free: 9.211 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006257/0.5302, allocations: 2.059 MB / 1.366 GB, free: 7.148 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.005395/0.5356, allocations: 3.145 MB / 1.369 GB, free: 3.996 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.00699/0.5426, allocations: 3.4 MB / 1.373 GB, free: 0.582 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.01819/0.5608, allocations: 12 MB / 1.384 GB, free: 4.543 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.5608, allocations: 0 / 1.384 GB, free: 4.543 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.374e-06/0.5608, allocations: 7.938 kB / 1.384 GB, free: 4.535 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0003851/0.5612, allocations: 0 / 1.384 GB, free: 4.535 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: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.02209/0.5833, allocations: 5.873 MB / 1.39 GB, free: 14.6 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 7.44e-05/0.5834, allocations: 12.03 kB / 1.39 GB, free: 14.59 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00813/0.5915, allocations: 1.086 MB / 1.391 GB, free: 13.5 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01048/0.602, allocations: 3.419 MB / 1.395 GB, free: 10.01 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005856/0.6025, allocations: 411.5 kB / 1.395 GB, free: 9.609 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002906/0.6055, allocations: 0.5393 MB / 1.396 GB, free: 9.07 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02686/0.6323, allocations: 9.083 MB / 1.404 GB, free: 15.67 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00038/0.6327, allocations: 23.78 kB / 1.404 GB, free: 15.64 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002105/0.6348, allocations: 244 kB / 1.405 GB, free: 15.41 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005127/0.6353, allocations: 350.8 kB / 1.405 GB, free: 15.06 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01761/0.6529, allocations: 6.83 MB / 1.412 GB, free: 8.223 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06118/0.7141, allocations: 39.5 MB / 1.45 GB, free: 13 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004248/0.7184, allocations: 2.294 MB / 1.452 GB, free: 10.71 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003101/0.7215, allocations: 1.783 MB / 1.454 GB, free: 8.926 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001733/0.7216, allocations: 18 kB / 1.454 GB, free: 8.906 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.648e-05/0.7217, allocations: 52.56 kB / 1.454 GB, free: 8.848 MB / 1.154 GB Notification: Performance of pre-optimization done (n=179): time 4.038e-06/0.7217, allocations: 0 / 1.454 GB, free: 8.848 MB / 1.154 GB Notification: Performance of matching and sorting (n=182): time 0.02572/0.7474, allocations: 9.694 MB / 1.464 GB, free: 15.14 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.805e-05/0.7475, allocations: 73.41 kB / 1.464 GB, free: 15.05 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00243/0.7499, allocations: 1.522 MB / 1.465 GB, free: 13.48 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001664/0.7501, allocations: 57.7 kB / 1.465 GB, free: 13.42 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001927/0.752, allocations: 2.327 MB / 1.468 GB, free: 11.07 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.000798/0.7528, allocations: 0.6584 MB / 1.468 GB, free: 10.41 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007434/0.7536, allocations: 416 kB / 1.469 GB, free: 9.992 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.7537, allocations: 309.1 kB / 1.469 GB, free: 9.688 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001999/0.7557, allocations: 1.179 MB / 1.47 GB, free: 8.504 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002636/0.7584, allocations: 1.877 MB / 1.472 GB, free: 6.312 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004862/0.7632, allocations: 3.371 MB / 1.475 GB, free: 2.633 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-05/0.7632, allocations: 8 kB / 1.475 GB, free: 2.625 MB / 1.17 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.008702/0.7719, allocations: 4.531 MB / 1.48 GB, free: 14.07 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 4.337e-05/0.772, allocations: 12 kB / 1.48 GB, free: 14.06 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.134e-05/0.772, allocations: 28.16 kB / 1.48 GB, free: 14.03 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004015/0.776, allocations: 1.586 MB / 1.481 GB, free: 12.44 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001338/0.7774, allocations: 355.3 kB / 1.482 GB, free: 12.09 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02587/0.8032, allocations: 18.18 MB / 1.499 GB, free: 9.453 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001941/0.8052, allocations: 115.9 kB / 1.499 GB, free: 9.34 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001998/0.8054, allocations: 104 kB / 1.5 GB, free: 9.238 MB / 1.201 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.003735/0.8091, allocations: 1.883 MB / 1.501 GB, free: 7.344 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005574/0.8097, allocations: 238.6 kB / 1.502 GB, free: 7.109 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007542/0.8172, allocations: 4.051 MB / 1.506 GB, free: 3.027 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.116e-05/0.8172, allocations: 16 kB / 1.506 GB, free: 3.012 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.681e-05/0.8173, allocations: 16 kB / 1.506 GB, free: 2.996 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.892e-05/0.8173, allocations: 11.95 kB / 1.506 GB, free: 2.984 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01768/0.835, allocations: 9.402 MB / 1.515 GB, free: 9.332 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.261e-05/0.835, allocations: 4 kB / 1.515 GB, free: 9.328 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008158/0.8358, allocations: 183.7 kB / 1.515 GB, free: 9.148 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003454/0.8392, allocations: 1.352 MB / 1.516 GB, free: 7.789 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001653/0.8394, allocations: 36 kB / 1.516 GB, free: 7.754 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02374/0.8631, allocations: 16.96 MB / 1.533 GB, free: 6.336 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-05/0.8632, allocations: 7.938 kB / 1.533 GB, free: 6.328 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007459/0.8706, allocations: 4.032 MB / 1.537 GB, free: 2.203 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001554/0.8722, allocations: 482.3 kB / 1.537 GB, free: 1.73 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000285/0.8725, allocations: 32 kB / 1.537 GB, free: 1.699 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000887/0.8733, allocations: 87.89 kB / 1.537 GB, free: 1.613 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005228/0.8739, allocations: 181.5 kB / 1.538 GB, free: 1.434 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001076/0.874, allocations: 44 kB / 1.538 GB, free: 1.391 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001541/0.8755, allocations: 1.001 MB / 1.539 GB, free: 376 kB / 1.232 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8755, allocations: 0 / 1.539 GB, free: 376 kB / 1.232 GB Notification: Performance of remove unused functions: time 0.003458/0.879, allocations: 0.9883 MB / 1.54 GB, free: 15.38 MB / 1.248 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.000316/0.8793, allocations: 147 kB / 1.54 GB, free: 15.22 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.007449/0.8867, allocations: 4.182 MB / 1.544 GB, free: 11 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 9.057e-06/0.8867, allocations: 3.938 kB / 1.544 GB, free: 10.99 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.004605/0.8914, allocations: 2.572 MB / 1.546 GB, free: 8.367 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0035/0.8949, allocations: 0.7831 MB / 1.547 GB, free: 7.613 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0191/0.914, allocations: 9.632 MB / 1.557 GB, free: 13.88 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005427/0.9194, allocations: 3.67 MB / 1.56 GB, free: 10.18 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006102/0.92, allocations: 127.4 kB / 1.56 GB, free: 10.05 MB / 1.264 GB Notification: Performance of SimCode: time 1.493e-06/0.92, allocations: 3.938 kB / 1.56 GB, free: 10.05 MB / 1.264 GB Notification: Performance of Templates: time 0.8939/1.814, allocations: 159.9 MB / 1.716 GB, free: 200.3 MB / 1.295 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/jenkins1/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: 22.498458005982684]