Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.001052/0.001052, allocations: 89.89 kB / 15.36 MB, free: 0.7383 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.01173/0.01173, allocations: 171.8 kB / 16.26 MB, free: 6.613 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.55/1.55, allocations: 223.3 MB / 240.3 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.878/2.878, allocations: 462.7 MB / 0.7364 GB, free: 284 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004294/0.0004294, allocations: 12.53 kB / 0.9028 GB, free: 36.7 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3229/0.3234, allocations: 159.6 MB / 1.059 GB, free: 5.441 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.03836/0.3618, allocations: 33.99 MB / 1.092 GB, free: 3.344 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02073/0.3826, allocations: 9.836 MB / 1.101 GB, free: 9.48 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004955/0.3876, allocations: 123.3 kB / 1.102 GB, free: 9.359 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.003208/0.3909, allocations: 0.7055 MB / 1.102 GB, free: 8.648 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.007006/0.3979, allocations: 1.917 MB / 1.104 GB, free: 6.723 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.005666/0.4036, allocations: 1.601 MB / 1.106 GB, free: 5.125 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.01361/0.4172, allocations: 11.19 MB / 1.117 GB, free: 9.91 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02155/0.4388, allocations: 12.16 MB / 1.129 GB, free: 13.64 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005979/0.4449, allocations: 2.404 MB / 1.131 GB, free: 11.23 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006608/0.4515, allocations: 3.211 MB / 1.134 GB, free: 8.008 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.001747/0.4533, allocations: 280 kB / 1.134 GB, free: 7.734 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004391/0.4577, allocations: 1.271 MB / 1.136 GB, free: 6.461 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.004061/0.4618, allocations: 2.1 MB / 1.138 GB, free: 4.355 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.00649/0.4683, allocations: 2.528 MB / 1.14 GB, free: 1.809 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.01404/0.4824, allocations: 9.862 MB / 1.15 GB, free: 7.914 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.4824, allocations: 4 kB / 1.15 GB, free: 7.91 MB / 0.9044 GB Notification: Performance of FrontEnd: time 3.336e-06/0.4824, allocations: 0 / 1.15 GB, free: 7.91 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0004097/0.4828, allocations: 0 / 1.15 GB, free: 7.91 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01252/0.4954, allocations: 4.36 MB / 1.154 GB, free: 3.48 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.4954, allocations: 8.031 kB / 1.154 GB, free: 3.473 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005919/0.5014, allocations: 0.9626 MB / 1.155 GB, free: 2.504 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0066/0.508, allocations: 2.995 MB / 1.158 GB, free: 15.45 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00044/0.5085, allocations: 357.9 kB / 1.158 GB, free: 15.1 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001688/0.5102, allocations: 472.2 kB / 1.159 GB, free: 14.64 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01967/0.5299, allocations: 7.91 MB / 1.166 GB, free: 6.367 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002348/0.5301, allocations: 27.81 kB / 1.166 GB, free: 6.34 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001464/0.5316, allocations: 208 kB / 1.167 GB, free: 6.137 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006517/0.5323, allocations: 365.1 kB / 1.167 GB, free: 5.777 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01433/0.5466, allocations: 5.937 MB / 1.173 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04851/0.5952, allocations: 36.26 MB / 1.208 GB, free: 8.324 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003777/0.599, allocations: 2.142 MB / 1.21 GB, free: 6.164 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002343/0.6014, allocations: 1.481 MB / 1.212 GB, free: 4.684 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001253/0.6015, allocations: 17.31 kB / 1.212 GB, free: 4.668 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.904e-05/0.6016, allocations: 59.81 kB / 1.212 GB, free: 4.602 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=157): time 4.278e-06/0.6016, allocations: 0 / 1.212 GB, free: 4.602 MB / 0.9669 GB Notification: Performance of matching and sorting (n=160): time 0.01546/0.6171, allocations: 7.572 MB / 1.219 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.232e-05/0.6172, allocations: 68.72 kB / 1.219 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003548/0.6207, allocations: 1.864 MB / 1.221 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0002295/0.621, allocations: 57.7 kB / 1.221 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.001621/0.6226, allocations: 2.127 MB / 1.223 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006245/0.6233, allocations: 0.5584 MB / 1.224 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003322/0.6236, allocations: 170.1 kB / 1.224 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.894e-05/0.6237, allocations: 305.1 kB / 1.224 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001784/0.6255, allocations: 1.062 MB / 1.225 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002312/0.6278, allocations: 1.76 MB / 1.227 GB, free: 4.387 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004037/0.6319, allocations: 3.056 MB / 1.23 GB, free: 1.016 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-05/0.6319, allocations: 4 kB / 1.23 GB, free: 1.012 MB / 0.9825 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.007043/0.639, allocations: 3.917 MB / 1.234 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.284e-05/0.639, allocations: 15.98 kB / 1.234 GB, free: 13.03 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.611e-05/0.6391, allocations: 24 kB / 1.234 GB, free: 13.01 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002541/0.6416, allocations: 0.9351 MB / 1.235 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001587/0.6432, allocations: 423.2 kB / 1.235 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02149/0.6647, allocations: 21.08 MB / 1.256 GB, free: 4.945 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002482/0.6672, allocations: 127.8 kB / 1.256 GB, free: 4.82 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004682/0.6677, allocations: 96 kB / 1.256 GB, free: 4.727 MB / 1.014 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,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.003817/0.6716, allocations: 1.65 MB / 1.257 GB, free: 3.066 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006968/0.6723, allocations: 253 kB / 1.258 GB, free: 2.816 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.7205/1.393, allocations: 3.257 MB / 1.261 GB, free: 183.1 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.011e-05/1.393, allocations: 22.89 kB / 1.261 GB, free: 183.1 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.842e-05/1.393, allocations: 10.75 kB / 1.261 GB, free: 183.1 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.476e-05/1.393, allocations: 9.906 kB / 1.261 GB, free: 183.1 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01318/1.406, allocations: 7.544 MB / 1.268 GB, free: 182.5 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-05/1.406, allocations: 8.031 kB / 1.268 GB, free: 182.5 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008936/1.407, allocations: 211.1 kB / 1.268 GB, free: 182.5 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002235/1.409, allocations: 0.8943 MB / 1.269 GB, free: 182.4 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001245/1.409, allocations: 36.84 kB / 1.269 GB, free: 182.4 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01697/1.426, allocations: 21.05 MB / 1.29 GB, free: 167.4 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.015e-06/1.426, allocations: 5.672 kB / 1.29 GB, free: 167.4 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007392/1.434, allocations: 3.382 MB / 1.293 GB, free: 166.8 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001578/1.435, allocations: 0.5304 MB / 1.294 GB, free: 166.5 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004627/1.436, allocations: 37.19 kB / 1.294 GB, free: 166.5 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001214/1.437, allocations: 90.73 kB / 1.294 GB, free: 166.5 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000549/1.438, allocations: 138.1 kB / 1.294 GB, free: 166.5 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001143/1.438, allocations: 46.94 kB / 1.294 GB, free: 166.4 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001939/1.44, allocations: 1.222 MB / 1.295 GB, free: 166 MB / 1.014 GB Notification: Performance of sort global known variables: time 4.61e-07/1.44, allocations: 3.531 kB / 1.295 GB, free: 166 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.003946/1.444, allocations: 0.9054 MB / 1.296 GB, free: 165.9 MB / 1.014 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,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.0003827/1.444, allocations: 160.8 kB / 1.296 GB, free: 165.8 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.006614/1.451, allocations: 4.428 MB / 1.301 GB, free: 163.3 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-05/1.451, allocations: 3.219 kB / 1.301 GB, free: 163.3 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.004379/1.455, allocations: 2.994 MB / 1.304 GB, free: 161.4 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005566/1.461, allocations: 0.7715 MB / 1.304 GB, free: 161.1 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01528/1.476, allocations: 9.713 MB / 1.314 GB, free: 155.6 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003761/1.48, allocations: 3.208 MB / 1.317 GB, free: 154.3 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002287/1.482, allocations: 0.5269 MB / 1.317 GB, free: 154.2 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004124/1.483, allocations: 142.7 kB / 1.318 GB, free: 154.2 MB / 1.014 GB Notification: Performance of SimCode: time 7.92e-07/1.483, allocations: 0 / 1.318 GB, free: 154.2 MB / 1.014 GB Notification: Performance of Templates: time 0.06425/1.547, allocations: 40.9 MB / 1.358 GB, free: 124.6 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches