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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) 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.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001658/0.001658, allocations: 120 kB / 16.81 MB, free: 5.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001815/0.001815, allocations: 196.7 kB / 17.77 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.526/1.526, allocations: 225.6 MB / 244.2 MB, free: 13.9 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.759/2.759, allocations: 476.7 MB / 0.7556 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001907/0.001907, allocations: 67.77 kB / 1.097 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4015/0.4034, allocations: 168.7 MB / 1.262 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.009756/0.4132, allocations: 6.886 MB / 1.269 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005939/0.4191, allocations: 3.118 MB / 1.272 GB, free: 2.902 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007177/0.4198, allocations: 23.88 kB / 1.272 GB, free: 2.879 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00261/0.4225, allocations: 0.9677 MB / 1.273 GB, free: 1.91 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001655/0.4241, allocations: 0.5167 MB / 1.273 GB, free: 1.391 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001276/0.4254, allocations: 450.5 kB / 1.274 GB, free: 0.9531 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00178/0.4272, allocations: 1.232 MB / 1.275 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009002/0.4281, allocations: 0.5335 MB / 1.275 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007128/0.4288, allocations: 486.2 kB / 1.276 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007614/0.4295, allocations: 0.5487 MB / 1.276 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001079/0.4296, allocations: 68 kB / 1.277 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008253/0.4305, allocations: 387.2 kB / 1.277 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003382/0.4308, allocations: 315.1 kB / 1.277 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000503/0.4313, allocations: 457.7 kB / 1.278 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001691/0.433, allocations: 1.222 MB / 1.279 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.433, allocations: 7.875 kB / 1.279 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.613e-06/0.433, allocations: 0 / 1.279 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.45e-05/0.433, allocations: 0 / 1.279 GB, free: 11.71 MB / 0.9981 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.002163/0.4352, allocations: 1.191 MB / 1.28 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.4352, allocations: 8.031 kB / 1.28 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001579/0.4368, allocations: 240.1 kB / 1.28 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001024/0.4378, allocations: 0.6198 MB / 1.281 GB, free: 9.57 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.53e-05/0.4379, allocations: 49.67 kB / 1.281 GB, free: 9.523 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001256/0.438, allocations: 64.38 kB / 1.281 GB, free: 9.461 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001611/0.4396, allocations: 1.082 MB / 1.282 GB, free: 8.27 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.744e-05/0.4397, allocations: 7.938 kB / 1.282 GB, free: 8.262 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.27e-05/0.4397, allocations: 24 kB / 1.282 GB, free: 8.238 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001786/0.4399, allocations: 89.25 kB / 1.282 GB, free: 8.148 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0012/0.4411, allocations: 0.7504 MB / 1.283 GB, free: 7.395 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006219/0.4473, allocations: 5.89 MB / 1.289 GB, free: 1.074 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009966/0.4483, allocations: 0.5154 MB / 1.289 GB, free: 0.5508 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00042/0.4487, allocations: 286 kB / 1.289 GB, free: 276 kB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.448e-05/0.4488, allocations: 8.438 kB / 1.289 GB, free: 268 kB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.6e-05/0.4488, allocations: 39 kB / 1.289 GB, free: 220 kB / 0.9981 GB Notification: Performance of pre-optimization done (n=47): time 2.846e-06/0.4488, allocations: 4 kB / 1.289 GB, free: 216 kB / 0.9981 GB Notification: Performance of matching and sorting (n=48): time 0.004018/0.4528, allocations: 1.984 MB / 1.291 GB, free: 14.13 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.469e-05/0.4529, allocations: 59.84 kB / 1.291 GB, free: 14.06 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007069/0.4536, allocations: 0.5626 MB / 1.292 GB, free: 13.49 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.037e-05/0.4536, allocations: 37.7 kB / 1.292 GB, free: 13.45 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003157/0.4539, allocations: 424 kB / 1.292 GB, free: 13.03 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.00016/0.4541, allocations: 182.5 kB / 1.293 GB, free: 12.85 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002034/0.4543, allocations: 130.5 kB / 1.293 GB, free: 12.71 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002075/0.4545, allocations: 378.7 kB / 1.293 GB, free: 12.34 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000423/0.4549, allocations: 273.8 kB / 1.293 GB, free: 12.07 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006165/0.4556, allocations: 493.8 kB / 1.294 GB, free: 11.49 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00108/0.4566, allocations: 0.8132 MB / 1.295 GB, free: 10.59 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.4566, allocations: 0 / 1.295 GB, free: 10.59 MB / 1.014 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001899/0.4585, allocations: 1.08 MB / 1.296 GB, free: 9.492 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.809e-05/0.4586, allocations: 9.719 kB / 1.296 GB, free: 9.484 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/0.4586, allocations: 4 kB / 1.296 GB, free: 9.48 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008903/0.4595, allocations: 287.2 kB / 1.296 GB, free: 9.188 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004762/0.4599, allocations: 119.8 kB / 1.296 GB, free: 9.07 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007375/0.4673, allocations: 7.151 MB / 1.303 GB, free: 1.352 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007817/0.4681, allocations: 43.97 kB / 1.303 GB, free: 1.309 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.605e-05/0.4682, allocations: 31.98 kB / 1.303 GB, free: 1.277 MB / 1.014 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.0004653/0.4686, allocations: 249.5 kB / 1.303 GB, free: 1.023 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001368/0.4688, allocations: 79.58 kB / 1.303 GB, free: 0.9453 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001642/0.4704, allocations: 0.8808 MB / 1.304 GB, free: 36 kB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/0.4704, allocations: 3.938 kB / 1.304 GB, free: 32 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.4704, allocations: 0 / 1.304 GB, free: 32 kB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003266/0.4707, allocations: 188.6 kB / 1.304 GB, free: 15.83 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.421e-05/0.4708, allocations: 15.98 kB / 1.304 GB, free: 15.81 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003383/0.4712, allocations: 27.97 kB / 1.305 GB, free: 15.79 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.4713, allocations: 44.36 kB / 1.305 GB, free: 15.74 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002015/0.4733, allocations: 0.9555 MB / 1.305 GB, free: 14.77 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001431/0.4747, allocations: 1.045 MB / 1.306 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003701/0.4751, allocations: 255.3 kB / 1.307 GB, free: 13.45 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004604/0.4755, allocations: 387.1 kB / 1.307 GB, free: 13.08 MB / 1.029 GB Notification: Performance of Backend: time 7.92e-07/0.4755, allocations: 0 / 1.307 GB, free: 13.08 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002754/0.4783, allocations: 1.266 MB / 1.308 GB, free: 11.75 MB / 1.029 GB Notification: Performance of SimCode: time 0.00309/0.4814, allocations: 1.996 MB / 1.31 GB, free: 9.707 MB / 1.029 GB Notification: Performance of Templates: time 0.02556/0.5069, allocations: 13.52 MB / 1.324 GB, free: 12.32 MB / 1.045 GB make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile (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 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) 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) Reference file matches