Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.001478/0.001478, allocations: 79.75 kB / 19.76 MB, free: 2.02 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.001602/0.001602, allocations: 156.5 kB / 23 MB, free: 4.949 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.589/1.589, allocations: 177.2 MB / 203.4 MB, free: 8.953 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.955/2.955, allocations: 359.1 MB / 0.6044 GB, free: 14.83 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_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") [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.002327/0.002327, allocations: 71.88 kB / 0.9515 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4463/0.4487, allocations: 169.9 MB / 1.117 GB, free: 2.52 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.01095/0.4596, allocations: 6.562 MB / 1.124 GB, free: 11.93 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.006646/0.4663, allocations: 3.056 MB / 1.127 GB, free: 8.859 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009702/0.4672, allocations: 39.62 kB / 1.127 GB, free: 8.82 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.002846/0.4701, allocations: 0.9618 MB / 1.128 GB, free: 7.855 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001622/0.4717, allocations: 0.5168 MB / 1.128 GB, free: 7.336 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001307/0.473, allocations: 449.4 kB / 1.129 GB, free: 6.898 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001625/0.4746, allocations: 1.236 MB / 1.13 GB, free: 5.656 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008547/0.4755, allocations: 0.5257 MB / 1.13 GB, free: 5.129 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007118/0.4762, allocations: 498.2 kB / 1.131 GB, free: 4.641 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007952/0.477, allocations: 0.5058 MB / 1.131 GB, free: 4.133 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001175/0.4771, allocations: 71.98 kB / 1.132 GB, free: 4.062 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007471/0.4779, allocations: 347.2 kB / 1.132 GB, free: 3.723 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003654/0.4782, allocations: 319.1 kB / 1.132 GB, free: 3.41 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0004811/0.4787, allocations: 382.2 kB / 1.133 GB, free: 3.035 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001508/0.4802, allocations: 1.233 MB / 1.134 GB, free: 1.797 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.4802, allocations: 0 / 1.134 GB, free: 1.797 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.334e-06/0.4802, allocations: 0 / 1.134 GB, free: 1.797 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.669e-05/0.4802, allocations: 4 kB / 1.134 GB, free: 1.793 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002169/0.4824, allocations: 1.115 MB / 1.135 GB, free: 0.6445 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.4824, allocations: 16.02 kB / 1.135 GB, free: 0.6289 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001564/0.484, allocations: 240.1 kB / 1.135 GB, free: 404 kB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.011/1.495, allocations: 0.5333 MB / 1.136 GB, free: 58.46 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.943e-05/1.495, allocations: 49.66 kB / 1.136 GB, free: 58.46 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001098/1.495, allocations: 64.09 kB / 1.136 GB, free: 58.46 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001589/1.497, allocations: 1.337 MB / 1.137 GB, free: 57.84 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.19e-05/1.497, allocations: 9.469 kB / 1.137 GB, free: 57.84 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.292e-05/1.497, allocations: 36.91 kB / 1.137 GB, free: 57.84 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001524/1.497, allocations: 83.02 kB / 1.137 GB, free: 57.84 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001002/1.498, allocations: 0.7566 MB / 1.138 GB, free: 57.8 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004025/1.502, allocations: 4.523 MB / 1.142 GB, free: 54.47 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008892/1.503, allocations: 0.5058 MB / 1.143 GB, free: 54.28 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003553/1.504, allocations: 289.6 kB / 1.143 GB, free: 54.18 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.162e-05/1.504, allocations: 3.25 kB / 1.143 GB, free: 54.18 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.221e-05/1.504, allocations: 41.25 kB / 1.143 GB, free: 54.14 MB / 1.076 GB Notification: Performance of pre-optimization done (n=47): time 2.325e-06/1.504, allocations: 1.562 kB / 1.143 GB, free: 54.14 MB / 1.076 GB Notification: Performance of matching and sorting (n=48): time 0.003469/1.507, allocations: 1.687 MB / 1.145 GB, free: 53.49 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.719e-05/1.507, allocations: 57.28 kB / 1.145 GB, free: 53.43 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004948/1.508, allocations: 0.5152 MB / 1.145 GB, free: 53.19 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.355e-05/1.508, allocations: 33.7 kB / 1.145 GB, free: 53.15 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.000213/1.508, allocations: 434.7 kB / 1.146 GB, free: 52.86 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001004/1.508, allocations: 177.8 kB / 1.146 GB, free: 52.72 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000172/1.508, allocations: 132 kB / 1.146 GB, free: 52.65 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 9.345e-05/1.508, allocations: 368.5 kB / 1.146 GB, free: 52.32 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003443/1.509, allocations: 275 kB / 1.147 GB, free: 52.22 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004385/1.509, allocations: 0.4899 MB / 1.147 GB, free: 51.86 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000818/1.51, allocations: 0.8075 MB / 1.148 GB, free: 51.34 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/1.51, allocations: 0 / 1.148 GB, free: 51.34 MB / 1.076 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00156/1.511, allocations: 1.074 MB / 1.149 GB, free: 50.88 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.694e-05/1.511, allocations: 8.375 kB / 1.149 GB, free: 50.88 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/1.511, allocations: 9.312 kB / 1.149 GB, free: 50.88 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007836/1.512, allocations: 279.9 kB / 1.149 GB, free: 50.8 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004341/1.513, allocations: 127.3 kB / 1.149 GB, free: 50.79 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005163/1.518, allocations: 6.594 MB / 1.156 GB, free: 45.25 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006656/1.518, allocations: 39.95 kB / 1.156 GB, free: 45.23 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.049e-05/1.518, allocations: 26.91 kB / 1.156 GB, free: 45.23 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * 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 {(2,6,100.0%), (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.0003883/1.519, allocations: 259.5 kB / 1.156 GB, free: 45.05 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/1.519, allocations: 67.55 kB / 1.156 GB, free: 45.01 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001379/1.52, allocations: 0.882 MB / 1.157 GB, free: 44.63 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/1.52, allocations: 5.625 kB / 1.157 GB, free: 44.63 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/1.52, allocations: 3.344 kB / 1.157 GB, free: 44.63 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/1.52, allocations: 0 / 1.157 GB, free: 44.63 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002225/1.523, allocations: 1.529 MB / 1.159 GB, free: 43.88 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/1.523, allocations: 2.812 kB / 1.159 GB, free: 43.88 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002711/1.523, allocations: 66.44 kB / 1.159 GB, free: 43.87 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006716/1.524, allocations: 271.9 kB / 1.159 GB, free: 43.79 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.025e-05/1.524, allocations: 12.03 kB / 1.159 GB, free: 43.78 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005075/1.529, allocations: 6.579 MB / 1.165 GB, free: 38.25 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/1.529, allocations: 4.125 kB / 1.165 GB, free: 38.24 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001494/1.53, allocations: 0.9768 MB / 1.166 GB, free: 37.73 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003106/1.53, allocations: 120 kB / 1.166 GB, free: 37.66 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.716e-05/1.531, allocations: 6.969 kB / 1.166 GB, free: 37.66 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003736/1.531, allocations: 35.08 kB / 1.166 GB, free: 37.65 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/1.531, allocations: 42.48 kB / 1.166 GB, free: 37.64 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.506e-05/1.531, allocations: 17.91 kB / 1.166 GB, free: 37.64 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.000376/1.531, allocations: 350.1 kB / 1.167 GB, free: 37.48 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/1.531, allocations: 3.094 kB / 1.167 GB, free: 37.48 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0009043/1.532, allocations: 224.4 kB / 1.167 GB, free: 37.45 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * 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: 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000168/1.532, allocations: 116 kB / 1.167 GB, free: 37.35 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001853/1.534, allocations: 1.223 MB / 1.168 GB, free: 36.64 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/1.534, allocations: 2.719 kB / 1.168 GB, free: 36.64 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001093/1.535, allocations: 0.8664 MB / 1.169 GB, free: 36.04 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009688/1.536, allocations: 210.8 kB / 1.169 GB, free: 35.98 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002173/1.539, allocations: 1.36 MB / 1.171 GB, free: 35.27 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004051/1.539, allocations: 418.5 kB / 1.171 GB, free: 35.14 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.000337/1.539, allocations: 115.4 kB / 1.171 GB, free: 35.12 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001058/1.539, allocations: 41.56 kB / 1.171 GB, free: 35.11 MB / 1.076 GB Notification: Performance of SimCode: time 1.472e-06/1.539, allocations: 0 / 1.171 GB, free: 35.11 MB / 1.076 GB Notification: Performance of Templates: time 0.02662/1.566, allocations: 11.34 MB / 1.182 GB, free: 33.88 MB / 1.076 GB " [Timeout remaining time 298] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.551638346980326]