Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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.001882/0.001882, allocations: 102.1 kB / 19.7 MB, free: 2.246 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.002529/0.002529, allocations: 222.5 kB / 23.01 MB, free: 5.086 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.552/1.552, allocations: 230.6 MB / 256.8 MB, free: 7.965 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.488/3.488, allocations: 0.49 GB / 0.7958 GB, free: 33.28 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_R_N,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_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,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_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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.002045/0.002045, allocations: 71.55 kB / 1.155 GB, free: 25.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3694/0.3715, allocations: 176.1 MB / 1.327 GB, free: 1.434 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04944/0.4209, allocations: 39.8 MB / 1.366 GB, free: 9.508 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02244/0.4433, allocations: 11.45 MB / 1.377 GB, free: 14.03 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004736/0.4481, allocations: 206.5 kB / 1.377 GB, free: 13.83 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.01279/0.4609, allocations: 4.551 MB / 1.382 GB, free: 9.266 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.007889/0.4687, allocations: 2.332 MB / 1.384 GB, free: 6.922 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.006985/0.4757, allocations: 2.252 MB / 1.386 GB, free: 4.672 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01426/0.49, allocations: 9.281 MB / 1.395 GB, free: 11.36 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01274/0.5027, allocations: 6.396 MB / 1.402 GB, free: 4.84 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009244/0.512, allocations: 4.106 MB / 1.406 GB, free: 0.7227 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009536/0.5215, allocations: 4.751 MB / 1.41 GB, free: 11.96 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.003139/0.5247, allocations: 0.8242 MB / 1.411 GB, free: 11.13 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005929/0.5306, allocations: 1.611 MB / 1.413 GB, free: 9.52 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.006386/0.537, allocations: 3.227 MB / 1.416 GB, free: 6.285 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.009298/0.5463, allocations: 3.661 MB / 1.419 GB, free: 2.609 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.01959/0.5659, allocations: 12.34 MB / 1.431 GB, free: 6.227 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 8.837e-06/0.5659, allocations: 7.938 kB / 1.431 GB, free: 6.219 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.635e-06/0.5659, allocations: 0 / 1.431 GB, free: 6.219 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0004023/0.5663, allocations: 0 / 1.431 GB, free: 6.219 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: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01869/0.585, allocations: 6.399 MB / 1.438 GB, free: 15.76 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 5.147e-05/0.585, allocations: 12.03 kB / 1.438 GB, free: 15.75 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00654/0.5916, allocations: 1.094 MB / 1.439 GB, free: 14.65 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009812/0.6014, allocations: 3.572 MB / 1.442 GB, free: 11.01 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004998/0.6019, allocations: 423.8 kB / 1.443 GB, free: 10.6 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002375/0.6042, allocations: 0.5433 MB / 1.443 GB, free: 10.05 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02446/0.6287, allocations: 9.37 MB / 1.452 GB, free: 360 kB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002727/0.629, allocations: 27.83 kB / 1.452 GB, free: 332 kB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001796/0.6308, allocations: 248 kB / 1.453 GB, free: 84 kB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007731/0.6315, allocations: 426.9 kB / 1.453 GB, free: 15.66 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01694/0.6485, allocations: 7.123 MB / 1.46 GB, free: 8.527 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05907/0.7076, allocations: 40.72 MB / 1.5 GB, free: 12.06 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005301/0.7129, allocations: 2.901 MB / 1.503 GB, free: 9.152 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003371/0.7162, allocations: 1.945 MB / 1.504 GB, free: 7.211 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001697/0.7164, allocations: 22 kB / 1.504 GB, free: 7.188 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.323e-05/0.7165, allocations: 68.5 kB / 1.505 GB, free: 7.113 MB / 1.201 GB Notification: Performance of pre-optimization done (n=209): time 4.589e-06/0.7165, allocations: 0 / 1.505 GB, free: 7.113 MB / 1.201 GB Notification: Performance of matching and sorting (n=212): time 0.02645/0.7429, allocations: 10.27 MB / 1.515 GB, free: 12.83 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.195e-05/0.743, allocations: 73.41 kB / 1.515 GB, free: 12.74 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003265/0.7463, allocations: 1.998 MB / 1.517 GB, free: 10.73 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0003434/0.7466, allocations: 65.64 kB / 1.517 GB, free: 10.66 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.002042/0.7487, allocations: 2.482 MB / 1.519 GB, free: 8.148 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009064/0.7496, allocations: 0.7668 MB / 1.52 GB, free: 7.375 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007797/0.7503, allocations: 485.5 kB / 1.52 GB, free: 6.895 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.7505, allocations: 301.1 kB / 1.521 GB, free: 6.598 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002139/0.7526, allocations: 1.376 MB / 1.522 GB, free: 5.219 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002755/0.7554, allocations: 2.104 MB / 1.524 GB, free: 2.797 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005229/0.7606, allocations: 3.766 MB / 1.528 GB, free: 14.71 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.114e-05/0.7606, allocations: 4 kB / 1.528 GB, free: 14.71 MB / 1.232 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.008739/0.7694, allocations: 5.027 MB / 1.533 GB, free: 9.66 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 3.932e-05/0.7694, allocations: 16 kB / 1.533 GB, free: 9.645 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.605e-05/0.7694, allocations: 32.16 kB / 1.533 GB, free: 9.613 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003689/0.7731, allocations: 1.581 MB / 1.534 GB, free: 8.023 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001689/0.7748, allocations: 447.3 kB / 1.535 GB, free: 7.586 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02505/0.7999, allocations: 18.18 MB / 1.552 GB, free: 4.949 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002317/0.8022, allocations: 151.8 kB / 1.552 GB, free: 4.801 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002938/0.8025, allocations: 108 kB / 1.553 GB, free: 4.695 MB / 1.248 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 (231): * Single equations (assignments): 227 * 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 {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003732/0.8062, allocations: 1.94 MB / 1.554 GB, free: 2.746 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007088/0.8069, allocations: 302.2 kB / 1.555 GB, free: 2.449 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008081/0.815, allocations: 4.408 MB / 1.559 GB, free: 14.01 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.562e-05/0.815, allocations: 23.98 kB / 1.559 GB, free: 13.99 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.024e-05/0.815, allocations: 16 kB / 1.559 GB, free: 13.97 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.789e-05/0.8151, allocations: 7.969 kB / 1.559 GB, free: 13.96 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01927/0.8343, allocations: 9.608 MB / 1.569 GB, free: 4.215 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.645e-05/0.8344, allocations: 4 kB / 1.569 GB, free: 4.211 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001135/0.8355, allocations: 235.6 kB / 1.569 GB, free: 3.98 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003666/0.8392, allocations: 1.43 MB / 1.57 GB, free: 2.539 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002904/0.8394, allocations: 36 kB / 1.57 GB, free: 2.504 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02648/0.8659, allocations: 18.18 MB / 1.588 GB, free: 15.86 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.582e-06/0.8659, allocations: 4.047 kB / 1.588 GB, free: 15.85 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008682/0.8746, allocations: 4.507 MB / 1.592 GB, free: 11.26 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002154/0.8768, allocations: 0.5722 MB / 1.593 GB, free: 10.68 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007023/0.8775, allocations: 43.94 kB / 1.593 GB, free: 10.64 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001594/0.8791, allocations: 115.9 kB / 1.593 GB, free: 10.53 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006069/0.8797, allocations: 193.5 kB / 1.593 GB, free: 10.34 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000169/0.8798, allocations: 60 kB / 1.593 GB, free: 10.28 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.002203/0.882, allocations: 1.311 MB / 1.595 GB, free: 8.961 MB / 1.295 GB Notification: Performance of sort global known variables: time 1e-07/0.882, allocations: 0 / 1.595 GB, free: 8.961 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.003938/0.886, allocations: 1.141 MB / 1.596 GB, free: 7.82 MB / 1.295 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 (107): * Single equations (assignments): 103 * 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 {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004085/0.8864, allocations: 171 kB / 1.596 GB, free: 7.645 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.008323/0.8947, allocations: 4.543 MB / 1.6 GB, free: 3.047 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.514e-05/0.8947, allocations: 4 kB / 1.6 GB, free: 3.043 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.005233/0.9, allocations: 2.809 MB / 1.603 GB, free: 196 kB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.696/1.596, allocations: 0.8983 MB / 1.604 GB, free: 256.4 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02109/1.617, allocations: 10.32 MB / 1.614 GB, free: 253.5 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00754/1.625, allocations: 3.782 MB / 1.618 GB, free: 252.7 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009536/1.626, allocations: 167.5 kB / 1.618 GB, free: 252.7 MB / 1.295 GB Notification: Performance of SimCode: time 1.212e-06/1.626, allocations: 0 / 1.618 GB, free: 252.7 MB / 1.295 GB Notification: Performance of Templates: time 0.158/1.784, allocations: 172.4 MB / 1.786 GB, free: 104.6 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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: 25.85785997300991]