Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.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.001651/0.001651, allocations: 79.34 kB / 19.76 MB, free: 1.875 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.001769/0.001769, allocations: 160.6 kB / 23.01 MB, free: 4.602 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.596/1.596, allocations: 177.2 MB / 203.4 MB, free: 8.98 MB / 190.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.869/2.869, allocations: 359.1 MB / 0.6044 GB, free: 14.89 MB / 0.5762 GB " [Timeout remaining time 176] 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.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.v.1.|load_sc_1.v.2.|load_sc_2.v.1.|load_sc_2.v.2.|load_sc_3.v.1.|load_sc_3.v.2.|load_sc_1.i.1.|load_sc_1.i.2.|load_sc_2.i.1.|load_sc_2.i.2.|load_sc_3.i.1.|load_sc_3.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.v.1.|load_sc_1.v.2.|load_sc_2.v.1.|load_sc_2.v.2.|load_sc_3.v.1.|load_sc_3.v.2.|load_sc_1.i.1.|load_sc_1.i.2.|load_sc_2.i.1.|load_sc_2.i.2.|load_sc_3.i.1.|load_sc_3.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") [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.002112/0.002112, allocations: 67.91 kB / 0.9515 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4456/0.4477, allocations: 169.9 MB / 1.117 GB, free: 2.578 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.01029/0.458, allocations: 5.367 MB / 1.123 GB, free: 13.18 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.007012/0.465, allocations: 2.627 MB / 1.125 GB, free: 10.55 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009886/0.466, allocations: 35.69 kB / 1.125 GB, free: 10.51 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.002484/0.4685, allocations: 0.6758 MB / 1.126 GB, free: 9.836 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0016/0.4701, allocations: 433.7 kB / 1.126 GB, free: 9.41 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001309/0.4714, allocations: 419 kB / 1.127 GB, free: 9 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001238/0.4726, allocations: 0.9555 MB / 1.128 GB, free: 8.043 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006647/0.4733, allocations: 378.5 kB / 1.128 GB, free: 7.672 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005789/0.4738, allocations: 394.5 kB / 1.128 GB, free: 7.285 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006362/0.4745, allocations: 410.3 kB / 1.129 GB, free: 6.883 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 8.085e-05/0.4746, allocations: 44 kB / 1.129 GB, free: 6.84 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000658/0.4752, allocations: 331.3 kB / 1.129 GB, free: 6.516 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002876/0.4755, allocations: 243.3 kB / 1.129 GB, free: 6.277 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0003524/0.4759, allocations: 302.6 kB / 1.13 GB, free: 5.98 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001224/0.4771, allocations: 0.9845 MB / 1.131 GB, free: 4.992 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.4771, allocations: 0 / 1.131 GB, free: 4.992 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.373e-06/0.4771, allocations: 0 / 1.131 GB, free: 4.992 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.173e-05/0.4771, allocations: 0 / 1.131 GB, free: 4.992 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001672/0.4788, allocations: 0.9247 MB / 1.132 GB, free: 4.031 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.4788, allocations: 12.03 kB / 1.132 GB, free: 4.02 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001344/0.4802, allocations: 196.3 kB / 1.132 GB, free: 3.828 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008315/0.481, allocations: 468.9 kB / 1.132 GB, free: 3.344 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.613e-05/0.481, allocations: 41.3 kB / 1.132 GB, free: 3.305 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001729/0.4812, allocations: 56.52 kB / 1.132 GB, free: 3.25 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001406/0.4826, allocations: 0.9747 MB / 1.133 GB, free: 2.156 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.841e-05/0.4826, allocations: 7.938 kB / 1.133 GB, free: 2.148 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.341e-05/0.4827, allocations: 27.98 kB / 1.133 GB, free: 2.121 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002046/0.4829, allocations: 68.88 kB / 1.133 GB, free: 2.051 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009484/0.4839, allocations: 0.5658 MB / 1.134 GB, free: 1.488 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.034/1.518, allocations: 3.492 MB / 1.137 GB, free: 55.74 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006203/1.518, allocations: 282.1 kB / 1.138 GB, free: 55.71 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003342/1.519, allocations: 211.9 kB / 1.138 GB, free: 55.7 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.956e-05/1.519, allocations: 3.125 kB / 1.138 GB, free: 55.7 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.234e-05/1.519, allocations: 37.22 kB / 1.138 GB, free: 55.66 MB / 1.076 GB Notification: Performance of pre-optimization done (n=33): time 4.157e-06/1.519, allocations: 0.6562 kB / 1.138 GB, free: 55.66 MB / 1.076 GB Notification: Performance of matching and sorting (n=40): time 0.005442/1.524, allocations: 2.33 MB / 1.14 GB, free: 55.34 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.987e-05/1.524, allocations: 57.19 kB / 1.14 GB, free: 55.28 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004399/1.524, allocations: 436 kB / 1.141 GB, free: 55.1 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.311e-05/1.525, allocations: 29.7 kB / 1.141 GB, free: 55.07 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002027/1.525, allocations: 357.2 kB / 1.141 GB, free: 54.82 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001065/1.525, allocations: 154.5 kB / 1.141 GB, free: 54.72 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001607/1.525, allocations: 100.1 kB / 1.141 GB, free: 54.67 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001125/1.525, allocations: 362.5 kB / 1.142 GB, free: 54.33 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003138/1.525, allocations: 239.2 kB / 1.142 GB, free: 54.25 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004123/1.526, allocations: 410.9 kB / 1.142 GB, free: 53.96 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007472/1.527, allocations: 0.687 MB / 1.143 GB, free: 53.55 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/1.527, allocations: 0 / 1.143 GB, free: 53.55 MB / 1.076 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001517/1.528, allocations: 0.9165 MB / 1.144 GB, free: 53.17 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/1.528, allocations: 11.83 kB / 1.144 GB, free: 53.17 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/1.528, allocations: 5.812 kB / 1.144 GB, free: 53.17 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007106/1.529, allocations: 224.4 kB / 1.144 GB, free: 53.11 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000483/1.529, allocations: 117.5 kB / 1.144 GB, free: 53.09 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004166/1.533, allocations: 4.931 MB / 1.149 GB, free: 48.95 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004475/1.534, allocations: 32.38 kB / 1.149 GB, free: 48.95 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.048e-05/1.534, allocations: 24.03 kB / 1.149 GB, free: 48.94 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002908/1.534, allocations: 227.7 kB / 1.149 GB, free: 48.77 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.386e-05/1.534, allocations: 56.7 kB / 1.149 GB, free: 48.74 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001337/1.536, allocations: 0.7611 MB / 1.15 GB, free: 48.42 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/1.536, allocations: 9.656 kB / 1.15 GB, free: 48.41 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/1.536, allocations: 0 / 1.15 GB, free: 48.41 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/1.536, allocations: 6.281 kB / 1.15 GB, free: 48.41 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002111/1.538, allocations: 1.326 MB / 1.151 GB, free: 47.75 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/1.538, allocations: 3 kB / 1.151 GB, free: 47.75 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003537/1.538, allocations: 68.28 kB / 1.151 GB, free: 47.74 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000608/1.539, allocations: 206.9 kB / 1.152 GB, free: 47.68 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.888e-05/1.539, allocations: 6.906 kB / 1.152 GB, free: 47.68 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003759/1.543, allocations: 4.885 MB / 1.156 GB, free: 43.54 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/1.543, allocations: 5.438 kB / 1.156 GB, free: 43.54 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00162/1.544, allocations: 1.119 MB / 1.157 GB, free: 42.97 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002238/1.544, allocations: 89.98 kB / 1.157 GB, free: 42.93 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.078e-05/1.544, allocations: 21.64 kB / 1.157 GB, free: 42.91 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003136/1.545, allocations: 26.33 kB / 1.158 GB, free: 42.91 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.661e-05/1.545, allocations: 32.28 kB / 1.158 GB, free: 42.9 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.753e-05/1.545, allocations: 16.34 kB / 1.158 GB, free: 42.9 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002931/1.545, allocations: 295.1 kB / 1.158 GB, free: 42.75 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/1.545, allocations: 0 / 1.158 GB, free: 42.75 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0007775/1.546, allocations: 164.8 kB / 1.158 GB, free: 42.73 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001515/1.546, allocations: 120.1 kB / 1.158 GB, free: 42.63 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001458/1.548, allocations: 0.9633 MB / 1.159 GB, free: 42.08 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/1.548, allocations: 2.5 kB / 1.159 GB, free: 42.08 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0008337/1.548, allocations: 0.6674 MB / 1.16 GB, free: 41.63 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008989/1.549, allocations: 168.5 kB / 1.16 GB, free: 41.59 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001905/1.551, allocations: 1.282 MB / 1.161 GB, free: 40.88 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003255/1.552, allocations: 354.4 kB / 1.161 GB, free: 40.75 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002916/1.552, allocations: 112.2 kB / 1.162 GB, free: 40.73 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.192e-05/1.552, allocations: 44.5 kB / 1.162 GB, free: 40.72 MB / 1.076 GB Notification: Performance of SimCode: time 1.192e-06/1.552, allocations: 0 / 1.162 GB, free: 40.72 MB / 1.076 GB Notification: Performance of Templates: time 0.01624/1.568, allocations: 9.077 MB / 1.17 GB, free: 39.76 MB / 1.076 GB " [Timeout remaining time 298] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.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: 10.310666071018204]