Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009477/0.0009477, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001339/0.001339, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.592/1.592, allocations: 223.3 MB / 240 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.902/2.902, allocations: 462.6 MB / 0.736 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003812/0.0003812, allocations: 8.438 kB / 0.9021 GB, free: 36.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4202/0.4206, allocations: 159.6 MB / 1.058 GB, free: 5.27 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03409/0.4547, allocations: 29.74 MB / 1.087 GB, free: 7.453 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01723/0.472, allocations: 9.745 MB / 1.097 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0037/0.4757, allocations: 123.3 kB / 1.097 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002747/0.4785, allocations: 0.62 MB / 1.097 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.005867/0.4844, allocations: 1.466 MB / 1.099 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.004925/0.4894, allocations: 1.269 MB / 1.1 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.01098/0.5004, allocations: 8.262 MB / 1.108 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02064/0.521, allocations: 10.32 MB / 1.118 GB, free: 7.523 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006255/0.5274, allocations: 2.272 MB / 1.12 GB, free: 5.242 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006621/0.534, allocations: 2.889 MB / 1.123 GB, free: 2.344 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.001919/0.536, allocations: 268 kB / 1.123 GB, free: 2.082 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004676/0.5407, allocations: 0.8389 MB / 1.124 GB, free: 1.242 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.004756/0.5454, allocations: 2.046 MB / 1.126 GB, free: 15.19 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.003095/0.5486, allocations: 0.9525 MB / 1.127 GB, free: 14.23 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.01221/0.5608, allocations: 8.346 MB / 1.135 GB, free: 5.863 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 8.335e-06/0.5609, allocations: 3.938 kB / 1.135 GB, free: 5.859 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.926e-06/0.5609, allocations: 0 / 1.135 GB, free: 5.859 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0004747/0.5614, allocations: 0 / 1.135 GB, free: 5.859 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01125/0.5726, allocations: 4.075 MB / 1.139 GB, free: 1.715 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.5727, allocations: 8.031 kB / 1.139 GB, free: 1.707 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006408/0.5791, allocations: 0.9503 MB / 1.14 GB, free: 0.75 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006301/0.5854, allocations: 2.804 MB / 1.143 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003729/0.5858, allocations: 349.2 kB / 1.143 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00192/0.5878, allocations: 463.9 kB / 1.144 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01963/0.6074, allocations: 7.632 MB / 1.151 GB, free: 5.105 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002836/0.6077, allocations: 23.72 kB / 1.151 GB, free: 5.082 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001381/0.6091, allocations: 200 kB / 1.151 GB, free: 4.887 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00037/0.6095, allocations: 316.9 kB / 1.152 GB, free: 4.574 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01202/0.6216, allocations: 5.671 MB / 1.157 GB, free: 14.89 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04356/0.6652, allocations: 35.12 MB / 1.192 GB, free: 8.562 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003007/0.6682, allocations: 2.148 MB / 1.194 GB, free: 6.293 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00189/0.6701, allocations: 1.264 MB / 1.195 GB, free: 5.027 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001137/0.6703, allocations: 13.31 kB / 1.195 GB, free: 5.012 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.389e-05/0.6703, allocations: 47.88 kB / 1.195 GB, free: 4.957 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=133): time 3.336e-06/0.6703, allocations: 0 / 1.195 GB, free: 4.957 MB / 0.9512 GB Notification: Performance of matching and sorting (n=136): time 0.01443/0.6848, allocations: 7.1 MB / 1.202 GB, free: 13.58 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.827e-05/0.6849, allocations: 68.66 kB / 1.202 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002295/0.6872, allocations: 1.468 MB / 1.203 GB, free: 11.99 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001275/0.6873, allocations: 49.7 kB / 1.203 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001445/0.6888, allocations: 2.004 MB / 1.205 GB, free: 9.902 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.000524/0.6893, allocations: 493 kB / 1.206 GB, free: 9.414 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000122/0.6894, allocations: 36 kB / 1.206 GB, free: 9.379 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001756/0.6896, allocations: 377.9 kB / 1.206 GB, free: 9.004 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001486/0.6911, allocations: 0.9057 MB / 1.207 GB, free: 8.098 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001966/0.6931, allocations: 1.581 MB / 1.209 GB, free: 6.207 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001857/0.695, allocations: 1.185 MB / 1.21 GB, free: 5.023 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.508e-05/0.695, allocations: 4 kB / 1.21 GB, free: 5.02 MB / 0.9669 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006293/0.7013, allocations: 3.511 MB / 1.213 GB, free: 1.461 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.503e-05/0.7013, allocations: 16.22 kB / 1.213 GB, free: 1.445 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.227e-05/0.7014, allocations: 24 kB / 1.213 GB, free: 1.422 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002526/0.7039, allocations: 0.9037 MB / 1.214 GB, free: 492 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001218/0.7052, allocations: 355.4 kB / 1.215 GB, free: 136 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01969/0.7249, allocations: 21.19 MB / 1.235 GB, free: 9.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001595/0.7265, allocations: 95.92 kB / 1.235 GB, free: 9.246 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002841/0.7268, allocations: 87.98 kB / 1.235 GB, free: 9.16 MB / 0.9981 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 6,(2,100.0%) 6,(3,77.8%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002945/0.7298, allocations: 1.609 MB / 1.237 GB, free: 7.539 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000504/0.7303, allocations: 209.5 kB / 1.237 GB, free: 7.332 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005553/0.7358, allocations: 2.974 MB / 1.24 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.418e-05/0.7359, allocations: 16 kB / 1.24 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.233e-05/0.7359, allocations: 8 kB / 1.24 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.62e-05/0.7359, allocations: 7.984 kB / 1.24 GB, free: 4.277 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01306/0.749, allocations: 7.317 MB / 1.247 GB, free: 12.72 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.385e-05/0.749, allocations: 4 kB / 1.247 GB, free: 12.72 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007774/0.7498, allocations: 179.7 kB / 1.247 GB, free: 12.54 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002302/0.7521, allocations: 0.8302 MB / 1.248 GB, free: 11.68 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000112/0.7523, allocations: 28 kB / 1.248 GB, free: 11.65 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.7846/1.537, allocations: 20.29 MB / 1.268 GB, free: 173.8 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.185e-06/1.537, allocations: 9.312 kB / 1.268 GB, free: 173.8 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004911/1.542, allocations: 3.007 MB / 1.271 GB, free: 173.4 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009645/1.543, allocations: 465.6 kB / 1.271 GB, free: 173.3 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002202/1.543, allocations: 33.86 kB / 1.272 GB, free: 173.3 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007229/1.544, allocations: 69.59 kB / 1.272 GB, free: 173.3 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003639/1.544, allocations: 124.5 kB / 1.272 GB, free: 173.3 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.74e-05/1.544, allocations: 44.77 kB / 1.272 GB, free: 173.3 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.00139/1.546, allocations: 0.9578 MB / 1.273 GB, free: 173.2 MB / 1.014 GB Notification: Performance of sort global known variables: time 5.31e-07/1.546, allocations: 0 / 1.273 GB, free: 173.2 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002875/1.549, allocations: 0.7873 MB / 1.273 GB, free: 173.2 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002501/1.549, allocations: 142.7 kB / 1.274 GB, free: 173.1 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.005261/1.554, allocations: 4.003 MB / 1.277 GB, free: 171.6 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.139e-06/1.554, allocations: 0 / 1.277 GB, free: 171.6 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.003712/1.558, allocations: 2.736 MB / 1.28 GB, free: 170.2 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003817/1.562, allocations: 0.6687 MB / 1.281 GB, free: 170.2 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01729/1.579, allocations: 8.734 MB / 1.289 GB, free: 166.1 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00404/1.583, allocations: 3.111 MB / 1.292 GB, free: 165.3 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001833/1.585, allocations: 458.6 kB / 1.293 GB, free: 165.3 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003238/1.585, allocations: 117.7 kB / 1.293 GB, free: 165.3 MB / 1.014 GB Notification: Performance of SimCode: time 1.513e-06/1.585, allocations: 0 / 1.293 GB, free: 165.3 MB / 1.014 GB Notification: Performance of Templates: time 0.05905/1.644, allocations: 33.16 MB / 1.325 GB, free: 153 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches