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.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.00169/0.00169, allocations: 103.2 kB / 18.19 MB, free: 3.879 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.001894/0.001894, allocations: 189.9 kB / 21.34 MB, free: 0.7383 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.489/1.489, allocations: 225.6 MB / 250 MB, free: 13.41 MB / 206.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 3.011/3.011, allocations: 476.7 MB / 0.7634 GB, free: 11.04 MB / 0.6231 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_R_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,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=500,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: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 59.91 kB / 1.108 GB, free: 7.488 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8309/0.8328, allocations: 168.7 MB / 1.272 GB, free: 4.719 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04616/0.879, allocations: 38.59 MB / 1.31 GB, free: 14.01 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02141/0.9004, allocations: 11.11 MB / 1.321 GB, free: 2.871 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004296/0.9047, allocations: 159.2 kB / 1.321 GB, free: 2.715 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.01252/0.9172, allocations: 4.428 MB / 1.325 GB, free: 14.28 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.007827/0.9251, allocations: 2.332 MB / 1.328 GB, free: 11.93 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.00673/0.9318, allocations: 2.231 MB / 1.33 GB, free: 9.703 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01323/0.945, allocations: 9.284 MB / 1.339 GB, free: 404 kB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01424/0.9593, allocations: 8.533 MB / 1.347 GB, free: 7.746 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007991/0.9672, allocations: 4.051 MB / 1.351 GB, free: 3.684 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009206/0.9765, allocations: 4.751 MB / 1.356 GB, free: 14.92 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.003104/0.9796, allocations: 0.8242 MB / 1.357 GB, free: 14.09 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005511/0.9851, allocations: 1.615 MB / 1.358 GB, free: 12.48 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.006196/0.9913, allocations: 3.235 MB / 1.361 GB, free: 9.234 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.009124/1, allocations: 3.653 MB / 1.365 GB, free: 5.566 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.01949/1.02, allocations: 12.35 MB / 1.377 GB, free: 9.18 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 8.747e-06/1.02, allocations: 4 kB / 1.377 GB, free: 9.176 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.833e-06/1.02, allocations: 0 / 1.377 GB, free: 9.176 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0004755/1.02, allocations: 0 / 1.377 GB, free: 9.176 MB / 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.02076/1.041, allocations: 6.463 MB / 1.383 GB, free: 2.633 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.139e-05/1.041, allocations: 12.03 kB / 1.383 GB, free: 2.621 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006934/1.048, allocations: 1.102 MB / 1.384 GB, free: 1.516 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009516/1.058, allocations: 3.622 MB / 1.388 GB, free: 13.84 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004351/1.058, allocations: 435.7 kB / 1.388 GB, free: 13.41 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002168/1.06, allocations: 0.5394 MB / 1.389 GB, free: 12.88 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02229/1.083, allocations: 9.38 MB / 1.398 GB, free: 3.164 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001582/1.083, allocations: 23.77 kB / 1.398 GB, free: 3.141 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009294/1.084, allocations: 248 kB / 1.398 GB, free: 2.898 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006295/1.084, allocations: 418.9 kB / 1.399 GB, free: 2.488 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01619/1.1, allocations: 7.123 MB / 1.406 GB, free: 11.36 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0536/1.154, allocations: 41.07 MB / 1.446 GB, free: 14.55 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00489/1.159, allocations: 2.913 MB / 1.449 GB, free: 11.62 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003019/1.162, allocations: 1.938 MB / 1.451 GB, free: 9.695 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001158/1.162, allocations: 29.92 kB / 1.451 GB, free: 9.664 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.06e-05/1.162, allocations: 64.56 kB / 1.451 GB, free: 9.594 MB / 1.154 GB Notification: Performance of pre-optimization done (n=209): time 4.167e-06/1.162, allocations: 0 / 1.451 GB, free: 9.594 MB / 1.154 GB Notification: Performance of matching and sorting (n=212): time 0.02484/1.187, allocations: 10.57 MB / 1.461 GB, free: 14.93 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.11e-05/1.187, allocations: 77.34 kB / 1.461 GB, free: 14.84 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003124/1.19, allocations: 2.017 MB / 1.463 GB, free: 12.8 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0002845/1.19, allocations: 61.7 kB / 1.463 GB, free: 12.74 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001861/1.192, allocations: 2.474 MB / 1.465 GB, free: 10.24 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.000877/1.193, allocations: 0.7591 MB / 1.466 GB, free: 9.473 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000792/1.194, allocations: 485.5 kB / 1.467 GB, free: 8.992 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.00013/1.194, allocations: 301.1 kB / 1.467 GB, free: 8.695 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002104/1.196, allocations: 1.376 MB / 1.468 GB, free: 7.316 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002754/1.199, allocations: 2.1 MB / 1.47 GB, free: 4.902 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005266/1.204, allocations: 3.766 MB / 1.474 GB, free: 0.8242 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.829e-05/1.204, allocations: 12 kB / 1.474 GB, free: 0.8125 MB / 1.17 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.009105/1.213, allocations: 5.027 MB / 1.479 GB, free: 11.76 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.981e-05/1.213, allocations: 19.94 kB / 1.479 GB, free: 11.74 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.64e-05/1.213, allocations: 24.16 kB / 1.479 GB, free: 11.72 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003791/1.217, allocations: 1.584 MB / 1.481 GB, free: 10.12 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001885/1.219, allocations: 455.2 kB / 1.481 GB, free: 9.68 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02504/1.244, allocations: 18.59 MB / 1.499 GB, free: 6.531 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002448/1.247, allocations: 143.9 kB / 1.499 GB, free: 6.391 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003302/1.247, allocations: 108 kB / 1.499 GB, free: 6.285 MB / 1.201 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.003828/1.251, allocations: 1.948 MB / 1.501 GB, free: 4.328 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008373/1.252, allocations: 302.2 kB / 1.502 GB, free: 4.031 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007866/1.259, allocations: 4.396 MB / 1.506 GB, free: 15.61 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.49e-05/1.259, allocations: 20 kB / 1.506 GB, free: 15.59 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.503e-05/1.26, allocations: 20 kB / 1.506 GB, free: 15.57 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-05/1.26, allocations: 11.95 kB / 1.506 GB, free: 15.55 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01834/1.278, allocations: 9.617 MB / 1.515 GB, free: 5.785 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.643e-05/1.278, allocations: 4 kB / 1.515 GB, free: 5.781 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001058/1.279, allocations: 227.6 kB / 1.516 GB, free: 5.559 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003535/1.282, allocations: 1.438 MB / 1.517 GB, free: 4.113 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002077/1.283, allocations: 40 kB / 1.517 GB, free: 4.074 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02484/1.308, allocations: 18.59 MB / 1.535 GB, free: 0.9258 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/1.308, allocations: 4 kB / 1.535 GB, free: 0.9219 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008321/1.316, allocations: 4.499 MB / 1.54 GB, free: 12.34 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001999/1.318, allocations: 0.6436 MB / 1.54 GB, free: 11.67 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005061/1.318, allocations: 39.98 kB / 1.54 GB, free: 11.63 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001316/1.32, allocations: 115.9 kB / 1.54 GB, free: 11.52 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005391/1.32, allocations: 185.6 kB / 1.54 GB, free: 11.34 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001468/1.32, allocations: 60 kB / 1.541 GB, free: 11.28 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.002085/1.322, allocations: 1.315 MB / 1.542 GB, free: 9.957 MB / 1.248 GB Notification: Performance of sort global known variables: time 1e-07/1.322, allocations: 3.938 kB / 1.542 GB, free: 9.953 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.003838/1.326, allocations: 1.137 MB / 1.543 GB, free: 8.816 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.0004061/1.327, allocations: 167.5 kB / 1.543 GB, free: 8.645 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.008171/1.335, allocations: 4.543 MB / 1.548 GB, free: 4.051 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 1.348e-05/1.335, allocations: 4 kB / 1.548 GB, free: 4.047 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0051/1.34, allocations: 2.809 MB / 1.55 GB, free: 1.188 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004472/1.344, allocations: 0.8882 MB / 1.551 GB, free: 324 kB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02018/1.365, allocations: 10.35 MB / 1.561 GB, free: 5.863 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005304/1.37, allocations: 3.788 MB / 1.565 GB, free: 2.039 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008284/1.371, allocations: 163.4 kB / 1.565 GB, free: 1.879 MB / 1.264 GB Notification: Performance of SimCode: time 1.382e-06/1.371, allocations: 0 / 1.565 GB, free: 1.879 MB / 1.264 GB Notification: Performance of Templates: time 0.9185/2.289, allocations: 172.3 MB / 1.733 GB, free: 218.1 MB / 1.311 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/jenkins1/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