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.001665/0.001665, allocations: 113.5 kB / 17.13 MB, free: 5.926 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.001909/0.001909, allocations: 206.5 kB / 20.09 MB, free: 2.977 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.691/1.691, allocations: 230.6 MB / 253.5 MB, free: 15.09 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 2.954/2.954, allocations: 0.49 GB / 0.7923 GB, free: 1.309 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.002037/0.002037, allocations: 75.89 kB / 1.15 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.012/1.014, allocations: 176.1 MB / 1.322 GB, free: 25.1 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04045/1.055, allocations: 38.6 MB / 1.36 GB, free: 15.09 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0253/1.08, allocations: 11.17 MB / 1.371 GB, free: 7.395 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005993/1.086, allocations: 203.2 kB / 1.371 GB, free: 7.301 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.01397/1.1, allocations: 4.418 MB / 1.375 GB, free: 4.676 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.01058/1.111, allocations: 2.335 MB / 1.377 GB, free: 3.211 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.008557/1.119, allocations: 2.174 MB / 1.379 GB, free: 1.98 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01685/1.136, allocations: 9.276 MB / 1.389 GB, free: 13.77 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01885/1.155, allocations: 8.535 MB / 1.397 GB, free: 10.33 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01017/1.165, allocations: 4.108 MB / 1.401 GB, free: 8.461 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01115/1.176, allocations: 4.75 MB / 1.406 GB, free: 6.508 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.004614/1.181, allocations: 0.8221 MB / 1.406 GB, free: 6.508 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009554/1.19, allocations: 1.61 MB / 1.408 GB, free: 6.215 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.01119/1.202, allocations: 3.233 MB / 1.411 GB, free: 4.805 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.01959/1.221, allocations: 3.655 MB / 1.415 GB, free: 2.465 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.02639/1.248, allocations: 12.35 MB / 1.427 GB, free: 10.3 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/1.248, allocations: 0 / 1.427 GB, free: 10.3 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.963e-06/1.248, allocations: 0 / 1.427 GB, free: 10.3 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0004559/1.248, allocations: 1 kB / 1.427 GB, free: 10.3 MB / 1.107 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.0238/1.272, allocations: 6.48 MB / 1.433 GB, free: 6.004 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.471e-05/1.272, allocations: 13.14 kB / 1.433 GB, free: 6 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007942/1.28, allocations: 1.092 MB / 1.434 GB, free: 5.469 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01028/1.29, allocations: 3.633 MB / 1.438 GB, free: 2.988 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004532/1.291, allocations: 427.7 kB / 1.438 GB, free: 2.57 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002979/1.293, allocations: 0.5393 MB / 1.439 GB, free: 2.031 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02637/1.32, allocations: 9.374 MB / 1.448 GB, free: 8.324 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001817/1.32, allocations: 23.83 kB / 1.448 GB, free: 8.301 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001824/1.322, allocations: 251.9 kB / 1.448 GB, free: 8.055 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007093/1.323, allocations: 422.9 kB / 1.448 GB, free: 7.641 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01707/1.34, allocations: 7.123 MB / 1.455 GB, free: 0.5078 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05713/1.397, allocations: 41.07 MB / 1.495 GB, free: 3.695 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005969/1.403, allocations: 2.901 MB / 1.498 GB, free: 0.7773 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003207/1.406, allocations: 1.949 MB / 1.5 GB, free: 14.84 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001351/1.406, allocations: 22 kB / 1.5 GB, free: 14.82 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.945e-05/1.406, allocations: 60.56 kB / 1.5 GB, free: 14.75 MB / 1.186 GB Notification: Performance of pre-optimization done (n=209): time 3.717e-06/1.406, allocations: 0 / 1.5 GB, free: 14.75 MB / 1.186 GB Notification: Performance of matching and sorting (n=212): time 0.02665/1.433, allocations: 10.58 MB / 1.511 GB, free: 4.078 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.776e-05/1.433, allocations: 77.34 kB / 1.511 GB, free: 3.988 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003187/1.436, allocations: 2.006 MB / 1.513 GB, free: 1.965 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0002989/1.436, allocations: 65.7 kB / 1.513 GB, free: 1.895 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.002053/1.438, allocations: 2.474 MB / 1.515 GB, free: 15.39 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.001004/1.439, allocations: 0.7669 MB / 1.516 GB, free: 14.62 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008474/1.44, allocations: 477.5 kB / 1.516 GB, free: 14.15 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001466/1.44, allocations: 309.1 kB / 1.517 GB, free: 13.84 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002212/1.443, allocations: 1.372 MB / 1.518 GB, free: 12.47 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00289/1.446, allocations: 2.108 MB / 1.52 GB, free: 10.05 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005381/1.451, allocations: 3.77 MB / 1.524 GB, free: 5.965 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.224e-05/1.451, allocations: 4 kB / 1.524 GB, free: 5.961 MB / 1.201 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.009132/1.46, allocations: 5.031 MB / 1.529 GB, free: 0.9062 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 3.592e-05/1.46, allocations: 12 kB / 1.529 GB, free: 0.8945 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.241e-05/1.46, allocations: 24 kB / 1.529 GB, free: 0.8711 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004001/1.464, allocations: 1.586 MB / 1.53 GB, free: 15.28 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001871/1.466, allocations: 455.2 kB / 1.531 GB, free: 14.83 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02585/1.492, allocations: 18.58 MB / 1.549 GB, free: 11.69 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002883/1.495, allocations: 143.9 kB / 1.549 GB, free: 11.55 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004112/1.495, allocations: 116 kB / 1.549 GB, free: 11.44 MB / 1.232 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.004366/1.5, allocations: 1.937 MB / 1.551 GB, free: 9.488 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008067/1.5, allocations: 298.2 kB / 1.551 GB, free: 9.195 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008239/1.509, allocations: 4.4 MB / 1.555 GB, free: 4.766 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.067e-05/1.509, allocations: 20 kB / 1.556 GB, free: 4.746 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.389e-05/1.509, allocations: 20 kB / 1.556 GB, free: 4.727 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.867e-05/1.509, allocations: 11.91 kB / 1.556 GB, free: 4.715 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01942/1.528, allocations: 9.613 MB / 1.565 GB, free: 10.95 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-05/1.528, allocations: 4 kB / 1.565 GB, free: 10.95 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001185/1.529, allocations: 236.2 kB / 1.565 GB, free: 10.71 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003815/1.533, allocations: 1.427 MB / 1.567 GB, free: 9.277 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002676/1.533, allocations: 43.98 kB / 1.567 GB, free: 9.234 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02672/1.56, allocations: 18.59 MB / 1.585 GB, free: 6.09 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/1.56, allocations: 8 kB / 1.585 GB, free: 6.082 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00864/1.569, allocations: 4.499 MB / 1.589 GB, free: 1.496 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002094/1.571, allocations: 0.6436 MB / 1.59 GB, free: 0.832 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007759/1.572, allocations: 43.94 kB / 1.59 GB, free: 0.7891 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001691/1.573, allocations: 119.9 kB / 1.59 GB, free: 0.6719 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005739/1.574, allocations: 181.6 kB / 1.59 GB, free: 0.4961 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001505/1.574, allocations: 60 kB / 1.59 GB, free: 448 kB / 1.264 GB Notification: Performance of sorting global known variables: time 0.002172/1.576, allocations: 1.315 MB / 1.591 GB, free: 15.11 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.1e-07/1.576, allocations: 8 kB / 1.591 GB, free: 15.11 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.004742/1.581, allocations: 1.141 MB / 1.593 GB, free: 13.96 MB / 1.279 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.0004208/1.581, allocations: 163 kB / 1.593 GB, free: 13.8 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.008305/1.59, allocations: 4.54 MB / 1.597 GB, free: 9.203 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 9.639e-06/1.59, allocations: 4.25 kB / 1.597 GB, free: 9.199 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.005323/1.595, allocations: 2.812 MB / 1.6 GB, free: 6.344 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00466/1.6, allocations: 0.9006 MB / 1.601 GB, free: 5.457 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02313/1.623, allocations: 10.2 MB / 1.611 GB, free: 11.16 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006081/1.629, allocations: 3.78 MB / 1.614 GB, free: 7.34 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009536/1.63, allocations: 167.4 kB / 1.615 GB, free: 7.176 MB / 1.295 GB Notification: Performance of SimCode: time 1.784e-06/1.63, allocations: 0 / 1.615 GB, free: 7.176 MB / 1.295 GB Notification: Performance of Templates: time 0.2586/1.888, allocations: 172.4 MB / 1.783 GB, free: 10.94 MB / 1.467 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.378580146993045]