Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001401/0.001401, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001862/0.001862, allocations: 215.2 kB / 22.25 MB, free: 5.082 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 MB, free: 8.016 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.79/2.79, allocations: 476.7 MB / 0.7706 GB, free: 4.355 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_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_11_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_11_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.00208/0.00208, allocations: 65.66 kB / 1.118 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3149/0.317, allocations: 170 MB / 1.284 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.0564/0.3734, allocations: 39.8 MB / 1.323 GB, free: 3.289 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02108/0.3945, allocations: 11.45 MB / 1.334 GB, free: 7.805 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003451/0.3979, allocations: 202.5 kB / 1.334 GB, free: 7.605 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.01238/0.4103, allocations: 4.55 MB / 1.339 GB, free: 3.043 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.006955/0.4173, allocations: 2.332 MB / 1.341 GB, free: 0.6992 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.006414/0.4237, allocations: 2.245 MB / 1.343 GB, free: 14.46 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.01319/0.4369, allocations: 9.289 MB / 1.352 GB, free: 5.141 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01095/0.4478, allocations: 6.396 MB / 1.358 GB, free: 14.62 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007322/0.4552, allocations: 4.102 MB / 1.362 GB, free: 10.51 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009039/0.4642, allocations: 4.755 MB / 1.367 GB, free: 5.742 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.002347/0.4666, allocations: 0.8203 MB / 1.368 GB, free: 4.922 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004323/0.4709, allocations: 1.607 MB / 1.369 GB, free: 3.312 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.004412/0.4753, allocations: 3.238 MB / 1.373 GB, free: 68 kB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.006077/0.4814, allocations: 3.653 MB / 1.376 GB, free: 12.39 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.01578/0.4971, allocations: 12.35 MB / 1.388 GB, free: 8 kB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.4972, allocations: 0 / 1.388 GB, free: 8 kB / 1.076 GB Notification: Performance of FrontEnd: time 2.084e-06/0.4972, allocations: 0 / 1.388 GB, free: 8 kB / 1.076 GB Notification: Performance of Transformations before backend: time 0.000332/0.4975, allocations: 4 kB / 1.388 GB, free: 4 kB / 1.076 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.01731/0.5148, allocations: 6.399 MB / 1.394 GB, free: 9.543 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.5148, allocations: 8.031 kB / 1.394 GB, free: 9.535 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006223/0.5211, allocations: 1.094 MB / 1.395 GB, free: 8.438 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009505/0.5306, allocations: 3.572 MB / 1.399 GB, free: 4.805 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005513/0.5311, allocations: 423.8 kB / 1.399 GB, free: 4.391 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00218/0.5333, allocations: 0.5471 MB / 1.4 GB, free: 3.844 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02216/0.5555, allocations: 9.385 MB / 1.409 GB, free: 10.12 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002435/0.5557, allocations: 23.81 kB / 1.409 GB, free: 10.1 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001705/0.5574, allocations: 244 kB / 1.409 GB, free: 9.863 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007718/0.5582, allocations: 422.9 kB / 1.41 GB, free: 9.449 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01667/0.5748, allocations: 7.123 MB / 1.417 GB, free: 2.316 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05803/0.6329, allocations: 40.7 MB / 1.456 GB, free: 5.859 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00542/0.6383, allocations: 2.913 MB / 1.459 GB, free: 2.953 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003424/0.6417, allocations: 1.945 MB / 1.461 GB, free: 1 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001766/0.6419, allocations: 22 kB / 1.461 GB, free: 0.9766 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.471e-05/0.642, allocations: 60.56 kB / 1.461 GB, free: 0.9102 MB / 1.154 GB Notification: Performance of pre-optimization done (n=209): time 4.658e-06/0.642, allocations: 0 / 1.461 GB, free: 0.9102 MB / 1.154 GB Notification: Performance of matching and sorting (n=212): time 0.02743/0.6694, allocations: 10.27 MB / 1.471 GB, free: 6.621 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.425e-05/0.6695, allocations: 77.34 kB / 1.471 GB, free: 6.531 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003586/0.6731, allocations: 2.002 MB / 1.473 GB, free: 4.512 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0002895/0.6733, allocations: 69.69 kB / 1.473 GB, free: 4.438 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.002112/0.6755, allocations: 2.474 MB / 1.476 GB, free: 1.938 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009255/0.6764, allocations: 0.7668 MB / 1.477 GB, free: 1.164 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009737/0.6774, allocations: 481.5 kB / 1.477 GB, free: 0.6875 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.6775, allocations: 313.1 kB / 1.477 GB, free: 388 kB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002392/0.6799, allocations: 1.376 MB / 1.479 GB, free: 15 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003053/0.6829, allocations: 2.096 MB / 1.481 GB, free: 12.59 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005779/0.6887, allocations: 3.77 MB / 1.484 GB, free: 8.512 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.892e-05/0.6887, allocations: 8 kB / 1.484 GB, free: 8.504 MB / 1.186 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.009772/0.6985, allocations: 5.023 MB / 1.489 GB, free: 3.457 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 4.052e-05/0.6986, allocations: 19.94 kB / 1.489 GB, free: 3.438 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-05/0.6986, allocations: 24.86 kB / 1.489 GB, free: 3.414 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004011/0.7026, allocations: 1.594 MB / 1.491 GB, free: 1.812 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001905/0.7045, allocations: 451.3 kB / 1.491 GB, free: 1.371 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02668/0.7312, allocations: 18.17 MB / 1.509 GB, free: 14.74 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002465/0.7337, allocations: 143.9 kB / 1.509 GB, free: 14.6 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002659/0.7339, allocations: 112 kB / 1.509 GB, free: 14.49 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 (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.003603/0.7375, allocations: 1.941 MB / 1.511 GB, free: 12.54 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007152/0.7382, allocations: 306.2 kB / 1.511 GB, free: 12.24 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008093/0.7463, allocations: 4.4 MB / 1.516 GB, free: 7.809 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.056e-05/0.7464, allocations: 24 kB / 1.516 GB, free: 7.785 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.047e-05/0.7464, allocations: 16.12 kB / 1.516 GB, free: 7.77 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.243e-05/0.7464, allocations: 23.83 kB / 1.516 GB, free: 7.746 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01777/0.7642, allocations: 9.597 MB / 1.525 GB, free: 14.01 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.33e-05/0.7642, allocations: 4 kB / 1.525 GB, free: 14.01 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001041/0.7652, allocations: 227.6 kB / 1.525 GB, free: 13.79 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003677/0.7689, allocations: 1.431 MB / 1.527 GB, free: 12.34 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000164/0.7691, allocations: 40 kB / 1.527 GB, free: 12.3 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02617/0.7952, allocations: 18.19 MB / 1.545 GB, free: 9.652 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.003e-06/0.7952, allocations: 4 kB / 1.545 GB, free: 9.648 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008117/0.8034, allocations: 4.507 MB / 1.549 GB, free: 5.051 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001822/0.8052, allocations: 0.5722 MB / 1.55 GB, free: 4.477 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004054/0.8056, allocations: 47.98 kB / 1.55 GB, free: 4.43 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001266/0.8069, allocations: 111.9 kB / 1.55 GB, free: 4.32 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005197/0.8074, allocations: 189.5 kB / 1.55 GB, free: 4.137 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001404/0.8075, allocations: 56 kB / 1.55 GB, free: 4.082 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.002096/0.8096, allocations: 1.323 MB / 1.551 GB, free: 2.75 MB / 1.248 GB Notification: Performance of sort global known variables: time 7e-08/0.8096, allocations: 0 / 1.551 GB, free: 2.75 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.003329/0.8129, allocations: 1.141 MB / 1.552 GB, free: 1.609 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 (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.000368/0.8133, allocations: 159 kB / 1.553 GB, free: 1.445 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.008213/0.8215, allocations: 4.539 MB / 1.557 GB, free: 12.86 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 1.085e-05/0.8215, allocations: 4 kB / 1.557 GB, free: 12.86 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.005123/0.8267, allocations: 2.809 MB / 1.56 GB, free: 9.996 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004024/0.8307, allocations: 0.8932 MB / 1.561 GB, free: 9.117 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01897/0.8497, allocations: 9.56 MB / 1.57 GB, free: 15.46 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005312/0.855, allocations: 3.694 MB / 1.574 GB, free: 11.73 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.002145/0.8571, allocations: 0.5556 MB / 1.574 GB, free: 11.17 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004608/0.8576, allocations: 147.4 kB / 1.574 GB, free: 11.02 MB / 1.279 GB Notification: Performance of SimCode: time 1.062e-06/0.8576, allocations: 0 / 1.574 GB, free: 11.02 MB / 1.279 GB Notification: Performance of Templates: time 0.7276/1.585, allocations: 54.19 MB / 1.627 GB, free: 284.1 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 11.427942004054785]