Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00151/0.00151, allocations: 104.2 kB / 19.74 MB, free: 2.07 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.001714/0.001714, allocations: 215 kB / 23.04 MB, free: 4.863 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.443/1.443, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.148/3.148, allocations: 0.49 GB / 0.7959 GB, free: 35.37 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002027/0.002027, allocations: 67.05 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3727/0.3747, allocations: 176.1 MB / 1.327 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.04208/0.4168, allocations: 33.76 MB / 1.36 GB, free: 15.07 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02047/0.4373, allocations: 11.55 MB / 1.371 GB, free: 3.496 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003414/0.4407, allocations: 206.5 kB / 1.372 GB, free: 3.293 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.01136/0.4521, allocations: 4.265 MB / 1.376 GB, free: 15.02 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.00679/0.4589, allocations: 2.096 MB / 1.378 GB, free: 12.91 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.006823/0.4657, allocations: 2.411 MB / 1.38 GB, free: 10.5 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01237/0.4781, allocations: 8.465 MB / 1.388 GB, free: 2.012 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01101/0.4891, allocations: 6.146 MB / 1.394 GB, free: 11.74 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007525/0.4966, allocations: 3.884 MB / 1.398 GB, free: 7.848 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007781/0.5044, allocations: 4.143 MB / 1.402 GB, free: 3.691 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.001727/0.5061, allocations: 0.7812 MB / 1.403 GB, free: 2.91 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004542/0.5106, allocations: 1.896 MB / 1.405 GB, free: 1.012 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.003891/0.5145, allocations: 3.141 MB / 1.408 GB, free: 13.86 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.005057/0.5196, allocations: 2.751 MB / 1.411 GB, free: 11.1 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.01554/0.5351, allocations: 12.07 MB / 1.422 GB, free: 15 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 7.674e-06/0.5351, allocations: 0 / 1.422 GB, free: 15 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.054e-06/0.5351, allocations: 0 / 1.422 GB, free: 15 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0003287/0.5355, allocations: 0 / 1.422 GB, free: 15 MB / 1.123 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.01412/0.5496, allocations: 5.867 MB / 1.428 GB, free: 9.066 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.5496, allocations: 8.031 kB / 1.428 GB, free: 9.059 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005784/0.5554, allocations: 1.102 MB / 1.429 GB, free: 7.953 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008049/0.5635, allocations: 3.422 MB / 1.433 GB, free: 4.461 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003391/0.5638, allocations: 411.5 kB / 1.433 GB, free: 4.059 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00118/0.565, allocations: 0.5471 MB / 1.434 GB, free: 3.512 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01895/0.5839, allocations: 9.376 MB / 1.443 GB, free: 9.742 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001703/0.5841, allocations: 27.77 kB / 1.443 GB, free: 9.715 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006465/0.5848, allocations: 240 kB / 1.443 GB, free: 9.48 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003967/0.5852, allocations: 354.7 kB / 1.443 GB, free: 9.133 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0127/0.5979, allocations: 6.814 MB / 1.45 GB, free: 2.309 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03781/0.6357, allocations: 24.27 MB / 1.474 GB, free: 9.438 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003623/0.6393, allocations: 2.285 MB / 1.476 GB, free: 7.156 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002563/0.6419, allocations: 1.779 MB / 1.478 GB, free: 5.387 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001098/0.642, allocations: 21.94 kB / 1.478 GB, free: 5.363 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.099e-05/0.642, allocations: 56.55 kB / 1.478 GB, free: 5.301 MB / 1.17 GB Notification: Performance of pre-optimization done (n=179): time 4.488e-06/0.642, allocations: 0 / 1.478 GB, free: 5.301 MB / 1.17 GB Notification: Performance of matching and sorting (n=182): time 0.0251/0.6671, allocations: 9.659 MB / 1.487 GB, free: 11.62 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.061e-05/0.6672, allocations: 73.34 kB / 1.487 GB, free: 11.54 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002125/0.6693, allocations: 1.449 MB / 1.489 GB, free: 10.09 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0001561/0.6695, allocations: 57.7 kB / 1.489 GB, free: 10.03 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.001728/0.6712, allocations: 2.311 MB / 1.491 GB, free: 7.695 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006786/0.6719, allocations: 0.67 MB / 1.492 GB, free: 7.02 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006537/0.6725, allocations: 408.2 kB / 1.492 GB, free: 6.613 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.6727, allocations: 305.1 kB / 1.492 GB, free: 6.312 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001685/0.6744, allocations: 1.179 MB / 1.493 GB, free: 5.129 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002316/0.6767, allocations: 1.877 MB / 1.495 GB, free: 2.93 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004406/0.6811, allocations: 3.375 MB / 1.499 GB, free: 15.24 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.458e-05/0.6811, allocations: 8 kB / 1.499 GB, free: 15.23 MB / 1.201 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.007991/0.6891, allocations: 4.519 MB / 1.503 GB, free: 10.69 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 4.181e-05/0.6891, allocations: 19.98 kB / 1.503 GB, free: 10.67 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.165e-05/0.6892, allocations: 24 kB / 1.503 GB, free: 10.65 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003901/0.6931, allocations: 1.581 MB / 1.505 GB, free: 9.059 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001307/0.6944, allocations: 347.4 kB / 1.505 GB, free: 8.719 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02427/0.7186, allocations: 17.83 MB / 1.522 GB, free: 6.477 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001889/0.7205, allocations: 127.8 kB / 1.522 GB, free: 6.352 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001883/0.7207, allocations: 92 kB / 1.522 GB, free: 6.262 MB / 1.217 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.003472/0.7242, allocations: 1.895 MB / 1.524 GB, free: 4.355 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004889/0.7247, allocations: 222.6 kB / 1.525 GB, free: 4.137 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007216/0.7319, allocations: 4.04 MB / 1.528 GB, free: 68 kB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.852e-05/0.7319, allocations: 16 kB / 1.529 GB, free: 52 kB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.319e-05/0.7319, allocations: 20 kB / 1.529 GB, free: 32 kB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.022e-05/0.732, allocations: 11.95 kB / 1.529 GB, free: 20 kB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01542/0.7474, allocations: 7.833 MB / 1.536 GB, free: 8.062 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.174e-05/0.7474, allocations: 8 kB / 1.536 GB, free: 8.055 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008377/0.7482, allocations: 183.7 kB / 1.536 GB, free: 7.875 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003412/0.7516, allocations: 1.351 MB / 1.538 GB, free: 6.516 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001297/0.7518, allocations: 36 kB / 1.538 GB, free: 6.48 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02307/0.7748, allocations: 16.62 MB / 1.554 GB, free: 5.453 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/0.7748, allocations: 4 kB / 1.554 GB, free: 5.449 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007429/0.7823, allocations: 4.02 MB / 1.558 GB, free: 1.344 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001485/0.7838, allocations: 458.5 kB / 1.558 GB, free: 0.8945 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002376/0.784, allocations: 32 kB / 1.558 GB, free: 0.8633 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009083/0.7849, allocations: 88.39 kB / 1.558 GB, free: 0.7773 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005447/0.7854, allocations: 173.5 kB / 1.559 GB, free: 0.6055 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001084/0.7856, allocations: 47.94 kB / 1.559 GB, free: 0.5586 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001374/0.7869, allocations: 0.931 MB / 1.56 GB, free: 15.64 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7869, allocations: 0 / 1.56 GB, free: 15.64 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.003427/0.7904, allocations: 0.9805 MB / 1.561 GB, free: 14.66 MB / 1.264 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.0003162/0.7907, allocations: 154.9 kB / 1.561 GB, free: 14.49 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.007478/0.7981, allocations: 4.163 MB / 1.565 GB, free: 10.28 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 8.265e-06/0.7982, allocations: 256 / 1.565 GB, free: 10.28 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.00471/0.8029, allocations: 2.583 MB / 1.567 GB, free: 7.648 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003469/0.8063, allocations: 0.7669 MB / 1.568 GB, free: 6.914 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01913/0.8255, allocations: 9.641 MB / 1.577 GB, free: 13.18 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005715/0.8312, allocations: 3.129 MB / 1.58 GB, free: 10.01 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006067/0.8318, allocations: 127.4 kB / 1.581 GB, free: 9.883 MB / 1.279 GB Notification: Performance of SimCode: time 1.532e-06/0.8318, allocations: 0 / 1.581 GB, free: 9.883 MB / 1.279 GB Notification: Performance of Templates: time 0.9282/1.76, allocations: 161.3 MB / 1.738 GB, free: 149 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 21.7904956380371]