Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,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_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,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_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002209/0.002209, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002426/0.002426, allocations: 196.8 kB / 16.14 MB, free: 6.711 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.552/1.552, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.955/2.955, allocations: 437 MB / 0.71 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002028/0.002028, allocations: 67.91 kB / 0.8686 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.652/0.6541, allocations: 151.6 MB / 1.017 GB, free: 2.727 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.04428/0.6984, allocations: 34.53 MB / 1.05 GB, free: 96 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.02183/0.7203, allocations: 11.5 MB / 1.062 GB, free: 4.559 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003922/0.7243, allocations: 147.2 kB / 1.062 GB, free: 4.414 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.01095/0.7353, allocations: 3.982 MB / 1.066 GB, free: 436 kB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.006417/0.7417, allocations: 1.875 MB / 1.067 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.007431/0.7492, allocations: 2.166 MB / 1.07 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0165/0.7657, allocations: 12.41 MB / 1.082 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02198/0.7878, allocations: 12.33 MB / 1.094 GB, free: 3.504 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00813/0.7959, allocations: 3.184 MB / 1.097 GB, free: 316 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008129/0.8041, allocations: 4.276 MB / 1.101 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.002295/0.8064, allocations: 0.543 MB / 1.102 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005829/0.8123, allocations: 2.125 MB / 1.104 GB, free: 9.348 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.005487/0.8178, allocations: 2.822 MB / 1.106 GB, free: 6.52 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.007692/0.8255, allocations: 3.135 MB / 1.109 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.01746/0.843, allocations: 11.82 MB / 1.121 GB, free: 7.516 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.8431, allocations: 4 kB / 1.121 GB, free: 7.512 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.753e-06/0.8431, allocations: 0 / 1.121 GB, free: 7.512 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0003673/0.8434, allocations: 4 kB / 1.121 GB, free: 7.508 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01977/0.8632, allocations: 5.799 MB / 1.127 GB, free: 1.637 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 6.572e-05/0.8633, allocations: 8.031 kB / 1.127 GB, free: 1.629 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00794/0.8713, allocations: 1.06 MB / 1.128 GB, free: 0.5625 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008586/0.8799, allocations: 3.258 MB / 1.131 GB, free: 13.25 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005414/0.8805, allocations: 423.5 kB / 1.131 GB, free: 12.83 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002458/0.8829, allocations: 0.5392 MB / 1.132 GB, free: 12.29 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0251/0.9081, allocations: 9.075 MB / 1.141 GB, free: 2.898 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003619/0.9085, allocations: 31.72 kB / 1.141 GB, free: 2.867 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001988/0.9105, allocations: 236 kB / 1.141 GB, free: 2.637 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005187/0.911, allocations: 350.8 kB / 1.141 GB, free: 2.293 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01793/0.929, allocations: 6.826 MB / 1.148 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06063/0.9896, allocations: 40.11 MB / 1.187 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004736/0.9944, allocations: 3.104 MB / 1.19 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003385/0.9978, allocations: 1.966 MB / 1.192 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001631/0.998, allocations: 25.94 kB / 1.192 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.055e-05/0.9981, allocations: 52.56 kB / 1.192 GB, free: 10.33 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=179): time 3.546e-06/0.9981, allocations: 0 / 1.192 GB, free: 10.33 MB / 0.9512 GB Notification: Performance of matching and sorting (n=182): time 0.02794/1.026, allocations: 9.977 MB / 1.202 GB, free: 260 kB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.98e-05/1.026, allocations: 69.41 kB / 1.202 GB, free: 180 kB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002867/1.029, allocations: 1.526 MB / 1.203 GB, free: 14.6 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0002207/1.029, allocations: 49.7 kB / 1.203 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001846/1.031, allocations: 2.257 MB / 1.206 GB, free: 12.26 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008494/1.032, allocations: 0.6316 MB / 1.206 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008621/1.033, allocations: 411.8 kB / 1.207 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001474/1.033, allocations: 305.1 kB / 1.207 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001984/1.035, allocations: 1.176 MB / 1.208 GB, free: 9.73 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002654/1.038, allocations: 1.889 MB / 1.21 GB, free: 7.516 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004937/1.043, allocations: 3.367 MB / 1.213 GB, free: 3.84 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-05/1.043, allocations: 8 kB / 1.213 GB, free: 3.832 MB / 0.9669 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.009041/1.052, allocations: 4.581 MB / 1.218 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.498e-05/1.052, allocations: 12 kB / 1.218 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-05/1.052, allocations: 28 kB / 1.218 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004223/1.056, allocations: 1.575 MB / 1.219 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001433/1.058, allocations: 351.4 kB / 1.22 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02584/1.083, allocations: 17.03 MB / 1.236 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002107/1.086, allocations: 119.9 kB / 1.236 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004654/1.086, allocations: 92 kB / 1.236 GB, free: 11.48 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 (177): * Single equations (assignments): 173 * 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 {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004045/1.09, allocations: 1.898 MB / 1.238 GB, free: 9.574 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006491/1.091, allocations: 221.4 kB / 1.239 GB, free: 9.355 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008045/1.099, allocations: 4.094 MB / 1.243 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-05/1.099, allocations: 20 kB / 1.243 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-05/1.099, allocations: 16 kB / 1.243 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.897e-05/1.099, allocations: 11.97 kB / 1.243 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5951/1.694, allocations: 9.471 MB / 1.252 GB, free: 209.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.27e-05/1.694, allocations: 5.328 kB / 1.252 GB, free: 209.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008667/1.695, allocations: 182.8 kB / 1.252 GB, free: 209.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003775/1.699, allocations: 1.351 MB / 1.253 GB, free: 209.1 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001584/1.699, allocations: 35.72 kB / 1.253 GB, free: 209.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01906/1.718, allocations: 15.93 MB / 1.269 GB, free: 199.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.513e-06/1.718, allocations: 5.453 kB / 1.269 GB, free: 199.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006874/1.725, allocations: 4.077 MB / 1.273 GB, free: 197.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00144/1.726, allocations: 0.5257 MB / 1.273 GB, free: 197.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003601/1.727, allocations: 39.38 kB / 1.273 GB, free: 197.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009342/1.728, allocations: 89.38 kB / 1.274 GB, free: 197.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005184/1.728, allocations: 157.9 kB / 1.274 GB, free: 197.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001331/1.728, allocations: 47.19 kB / 1.274 GB, free: 197.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001355/1.73, allocations: 1.004 MB / 1.275 GB, free: 197.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.8e-07/1.73, allocations: 0 / 1.275 GB, free: 197.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003405/1.733, allocations: 0.9864 MB / 1.276 GB, free: 197.1 MB / 0.9981 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 (85): * Single equations (assignments): 81 * 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 {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002668/1.733, allocations: 152 kB / 1.276 GB, free: 197 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.006478/1.74, allocations: 4.287 MB / 1.28 GB, free: 195.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.313e-05/1.74, allocations: 3.938 kB / 1.28 GB, free: 195.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.004134/1.744, allocations: 2.668 MB / 1.283 GB, free: 193.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003454/1.748, allocations: 0.7154 MB / 1.283 GB, free: 193.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01609/1.764, allocations: 11.01 MB / 1.294 GB, free: 187.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004701/1.768, allocations: 3.572 MB / 1.298 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001595/1.77, allocations: 459.6 kB / 1.298 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002812/1.77, allocations: 117.5 kB / 1.298 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of SimCode: time 1.082e-06/1.77, allocations: 7.938 kB / 1.298 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.06668/1.837, allocations: 42.69 MB / 1.34 GB, free: 144 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches