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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001576/0.001576, allocations: 107.4 kB / 18.19 MB, free: 4.141 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001903/0.001903, allocations: 189.9 kB / 21.34 MB, free: 1 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.498/1.498, allocations: 225.6 MB / 249.9 MB, free: 3.23 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.8/2.8, allocations: 476.7 MB / 0.7634 GB, free: 15.21 MB / 0.6075 GB [Timeout remaining time 86] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,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=500,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: Performance of FrontEnd - loaded program: time 0.001959/0.001959, allocations: 63.89 kB / 1.108 GB, free: 4.758 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.137/1.139, allocations: 168.7 MB / 1.272 GB, free: 7.934 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.044/1.183, allocations: 35.46 MB / 1.307 GB, free: 224 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0225/1.206, allocations: 11.63 MB / 1.318 GB, free: 8.285 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004649/1.21, allocations: 162.3 kB / 1.319 GB, free: 8.234 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.01208/1.223, allocations: 4.328 MB / 1.323 GB, free: 5.656 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.008349/1.231, allocations: 2.08 MB / 1.325 GB, free: 4.383 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.008555/1.239, allocations: 2.462 MB / 1.327 GB, free: 2.977 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01481/1.254, allocations: 8.461 MB / 1.335 GB, free: 15.2 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01611/1.27, allocations: 8.426 MB / 1.344 GB, free: 11.81 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009056/1.279, allocations: 3.797 MB / 1.347 GB, free: 10.05 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01002/1.289, allocations: 4.422 MB / 1.352 GB, free: 8.211 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.003814/1.293, allocations: 0.7794 MB / 1.352 GB, free: 8.211 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007917/1.301, allocations: 2.065 MB / 1.354 GB, free: 7.711 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.007198/1.308, allocations: 3.149 MB / 1.358 GB, free: 5.906 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.01044/1.319, allocations: 3.394 MB / 1.361 GB, free: 3.508 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.02284/1.342, allocations: 12.01 MB / 1.373 GB, free: 10.79 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 9.147e-06/1.342, allocations: 1.312 kB / 1.373 GB, free: 10.79 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.805e-06/1.342, allocations: 0 / 1.373 GB, free: 10.79 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0004959/1.342, allocations: 0 / 1.373 GB, free: 10.79 MB / 1.061 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.02245/1.365, allocations: 5.946 MB / 1.378 GB, free: 6.777 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/1.365, allocations: 9.625 kB / 1.378 GB, free: 6.777 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008724/1.373, allocations: 1.089 MB / 1.379 GB, free: 6.234 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01002/1.383, allocations: 3.469 MB / 1.383 GB, free: 3.73 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004646/1.384, allocations: 407.5 kB / 1.383 GB, free: 3.332 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002885/1.387, allocations: 0.5432 MB / 1.384 GB, free: 2.789 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02634/1.413, allocations: 9.083 MB / 1.393 GB, free: 9.387 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000227/1.413, allocations: 23.78 kB / 1.393 GB, free: 9.363 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001893/1.415, allocations: 236 kB / 1.393 GB, free: 9.133 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004521/1.416, allocations: 350.8 kB / 1.393 GB, free: 8.789 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01684/1.432, allocations: 6.83 MB / 1.4 GB, free: 1.949 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0608/1.493, allocations: 39.86 MB / 1.439 GB, free: 6.371 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004344/1.498, allocations: 2.903 MB / 1.442 GB, free: 3.32 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002818/1.5, allocations: 1.782 MB / 1.443 GB, free: 1.547 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 9.46e-05/1.501, allocations: 21.98 kB / 1.443 GB, free: 1.523 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.37e-05/1.501, allocations: 52.56 kB / 1.444 GB, free: 1.465 MB / 1.123 GB Notification: Performance of pre-optimization done (n=179): time 3.416e-06/1.501, allocations: 4 kB / 1.444 GB, free: 1.461 MB / 1.123 GB Notification: Performance of matching and sorting (n=182): time 0.02633/1.527, allocations: 9.996 MB / 1.453 GB, free: 7.375 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.514e-05/1.527, allocations: 73.34 kB / 1.453 GB, free: 7.289 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002498/1.529, allocations: 1.534 MB / 1.455 GB, free: 5.711 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.000264/1.53, allocations: 49.7 kB / 1.455 GB, free: 5.656 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.001957/1.532, allocations: 2.327 MB / 1.457 GB, free: 3.305 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008465/1.533, allocations: 0.6623 MB / 1.458 GB, free: 2.637 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007021/1.533, allocations: 408.1 kB / 1.458 GB, free: 2.23 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001653/1.533, allocations: 313.1 kB / 1.458 GB, free: 1.922 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001877/1.535, allocations: 1.175 MB / 1.46 GB, free: 0.7422 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002493/1.538, allocations: 1.885 MB / 1.461 GB, free: 14.53 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00479/1.543, allocations: 3.367 MB / 1.465 GB, free: 10.85 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.461e-05/1.543, allocations: 12 kB / 1.465 GB, free: 10.84 MB / 1.154 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.008553/1.551, allocations: 4.535 MB / 1.469 GB, free: 6.281 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 4.133e-05/1.551, allocations: 16 kB / 1.469 GB, free: 6.266 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.099e-05/1.551, allocations: 20 kB / 1.469 GB, free: 6.246 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004018/1.555, allocations: 1.583 MB / 1.471 GB, free: 4.656 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001358/1.557, allocations: 355.3 kB / 1.471 GB, free: 4.309 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02684/1.583, allocations: 18.6 MB / 1.489 GB, free: 1.152 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002155/1.586, allocations: 119.9 kB / 1.489 GB, free: 1.035 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004287/1.586, allocations: 96 kB / 1.49 GB, free: 0.9414 MB / 1.17 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.004394/1.59, allocations: 1.892 MB / 1.491 GB, free: 15.04 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007337/1.591, allocations: 242.5 kB / 1.492 GB, free: 14.8 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007921/1.599, allocations: 4.039 MB / 1.496 GB, free: 10.73 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.835e-05/1.599, allocations: 16 kB / 1.496 GB, free: 10.72 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-05/1.599, allocations: 16 kB / 1.496 GB, free: 10.7 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.351e-05/1.599, allocations: 11.97 kB / 1.496 GB, free: 10.69 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0208/1.62, allocations: 9.415 MB / 1.505 GB, free: 1.02 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.273e-05/1.62, allocations: 7.984 kB / 1.505 GB, free: 1.012 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009077/1.621, allocations: 179.7 kB / 1.505 GB, free: 0.8359 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00375/1.625, allocations: 1.349 MB / 1.506 GB, free: 15.47 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002131/1.625, allocations: 43.98 kB / 1.506 GB, free: 15.43 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02523/1.65, allocations: 17.37 MB / 1.523 GB, free: 13.5 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.171e-05/1.65, allocations: 7.938 kB / 1.523 GB, free: 13.5 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008426/1.659, allocations: 4.036 MB / 1.527 GB, free: 9.371 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001645/1.66, allocations: 0.5385 MB / 1.528 GB, free: 8.812 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006856/1.661, allocations: 35.98 kB / 1.528 GB, free: 8.777 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00143/1.662, allocations: 87.89 kB / 1.528 GB, free: 8.691 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005664/1.663, allocations: 165.7 kB / 1.528 GB, free: 8.527 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001376/1.663, allocations: 44 kB / 1.528 GB, free: 8.484 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001994/1.665, allocations: 1.001 MB / 1.529 GB, free: 7.461 MB / 1.217 GB Notification: Performance of sort global known variables: time 1e-07/1.665, allocations: 0 / 1.529 GB, free: 7.461 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.00442/1.669, allocations: 0.9882 MB / 1.53 GB, free: 6.473 MB / 1.217 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.0004012/1.67, allocations: 155.6 kB / 1.53 GB, free: 6.312 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.007905/1.678, allocations: 4.174 MB / 1.534 GB, free: 2.09 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 8.676e-06/1.678, allocations: 0 / 1.534 GB, free: 2.09 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.004878/1.683, allocations: 2.576 MB / 1.537 GB, free: 15.46 MB / 1.233 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004465/1.687, allocations: 0.7816 MB / 1.538 GB, free: 14.71 MB / 1.233 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02338/1.71, allocations: 9.631 MB / 1.547 GB, free: 4.984 MB / 1.233 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007316/1.718, allocations: 3.662 MB / 1.55 GB, free: 1.289 MB / 1.233 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000609/1.718, allocations: 139.3 kB / 1.551 GB, free: 1.152 MB / 1.233 GB Notification: Performance of SimCode: time 1.883e-06/1.718, allocations: 0 / 1.551 GB, free: 1.152 MB / 1.233 GB Notification: Performance of Templates: time 0.2392/1.958, allocations: 159.8 MB / 1.707 GB, free: 1.289 MB / 1.389 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