Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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 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_N,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_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,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_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001609/0.001609, allocations: 193.8 kB / 16.25 MB, free: 6.641 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.383/1.383, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.773/2.773, allocations: 461.9 MB / 0.7343 GB, free: 15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 62.16 kB / 0.8986 GB, free: 37.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3587/0.36, allocations: 157.4 MB / 1.052 GB, free: 8.719 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.0449/0.405, allocations: 37.63 MB / 1.089 GB, free: 2.969 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02036/0.4254, allocations: 10.9 MB / 1.1 GB, free: 8.039 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005372/0.4308, allocations: 139.2 kB / 1.1 GB, free: 7.902 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.01216/0.4431, allocations: 4.093 MB / 1.104 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.008711/0.4518, allocations: 2.053 MB / 1.106 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.007807/0.4597, allocations: 1.96 MB / 1.108 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.01273/0.4724, allocations: 9.299 MB / 1.117 GB, free: 6.461 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02657/0.499, allocations: 13.58 MB / 1.13 GB, free: 8.77 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01058/0.5097, allocations: 4.058 MB / 1.134 GB, free: 4.699 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008976/0.5187, allocations: 4.721 MB / 1.139 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.003418/0.5222, allocations: 0.8203 MB / 1.139 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006619/0.5288, allocations: 1.588 MB / 1.141 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.006032/0.5349, allocations: 3.142 MB / 1.144 GB, free: 10.41 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.009201/0.5441, allocations: 3.657 MB / 1.148 GB, free: 6.734 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.01717/0.5613, allocations: 12.31 MB / 1.16 GB, free: 10.39 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.644e-06/0.5614, allocations: 0 / 1.16 GB, free: 10.39 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.023e-06/0.5614, allocations: 4 kB / 1.16 GB, free: 10.38 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0005175/0.5619, allocations: 0 / 1.16 GB, free: 10.38 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.02281/0.5847, allocations: 6.307 MB / 1.166 GB, free: 4.004 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.368e-05/0.5848, allocations: 8.625 kB / 1.166 GB, free: 3.996 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007669/0.5925, allocations: 1.075 MB / 1.167 GB, free: 2.914 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007984/0.6005, allocations: 3.419 MB / 1.17 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004804/0.601, allocations: 423.7 kB / 1.171 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002346/0.6034, allocations: 0.5433 MB / 1.171 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02304/0.6264, allocations: 9.377 MB / 1.18 GB, free: 4.773 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001659/0.6266, allocations: 23.72 kB / 1.18 GB, free: 4.75 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001502/0.6282, allocations: 248 kB / 1.181 GB, free: 4.508 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006144/0.6288, allocations: 418.9 kB / 1.181 GB, free: 4.098 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01656/0.6453, allocations: 7.127 MB / 1.188 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05148/0.6969, allocations: 41.31 MB / 1.228 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005155/0.7021, allocations: 3.104 MB / 1.231 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003212/0.7053, allocations: 2.137 MB / 1.233 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001674/0.7055, allocations: 22 kB / 1.233 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.277e-05/0.7056, allocations: 56.56 kB / 1.233 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=209): time 4.178e-06/0.7056, allocations: 3.938 kB / 1.233 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of matching and sorting (n=212): time 0.02536/0.731, allocations: 10.57 MB / 1.244 GB, free: 15.91 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.309e-05/0.7311, allocations: 77.34 kB / 1.244 GB, free: 15.82 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003282/0.7344, allocations: 2.005 MB / 1.246 GB, free: 13.8 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0003898/0.7348, allocations: 61.7 kB / 1.246 GB, free: 13.73 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001672/0.7365, allocations: 2.404 MB / 1.248 GB, free: 11.29 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007649/0.7372, allocations: 0.7278 MB / 1.249 GB, free: 10.55 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008907/0.7381, allocations: 477.2 kB / 1.249 GB, free: 10.08 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 9.402e-05/0.7382, allocations: 301.1 kB / 1.25 GB, free: 9.785 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002083/0.7403, allocations: 1.379 MB / 1.251 GB, free: 8.402 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002561/0.7429, allocations: 2.104 MB / 1.253 GB, free: 5.98 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004896/0.7478, allocations: 3.77 MB / 1.257 GB, free: 1.902 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.958e-05/0.7479, allocations: 4 kB / 1.257 GB, free: 1.898 MB / 1.014 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.5703/1.318, allocations: 5.069 MB / 1.262 GB, free: 186.8 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.59e-05/1.318, allocations: 13.91 kB / 1.262 GB, free: 186.8 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.872e-05/1.318, allocations: 24.09 kB / 1.262 GB, free: 186.8 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00309/1.321, allocations: 1.597 MB / 1.263 GB, free: 186.8 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001541/1.323, allocations: 451.3 kB / 1.264 GB, free: 186.8 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02311/1.346, allocations: 18.58 MB / 1.282 GB, free: 180.6 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002456/1.349, allocations: 147.2 kB / 1.282 GB, free: 180.6 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003738/1.349, allocations: 110.3 kB / 1.282 GB, free: 180.6 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 (231): * Single equations (assignments): 227 * 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 {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003192/1.352, allocations: 1.942 MB / 1.284 GB, free: 179.7 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006687/1.353, allocations: 287.6 kB / 1.284 GB, free: 179.7 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007372/1.36, allocations: 4.453 MB / 1.289 GB, free: 177.9 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.398e-05/1.36, allocations: 25.16 kB / 1.289 GB, free: 177.9 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.543e-05/1.36, allocations: 18.39 kB / 1.289 GB, free: 177.9 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.708e-05/1.36, allocations: 10.45 kB / 1.289 GB, free: 177.9 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01867/1.379, allocations: 9.663 MB / 1.298 GB, free: 174 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.201e-05/1.379, allocations: 4.031 kB / 1.298 GB, free: 174 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001043/1.38, allocations: 235.4 kB / 1.298 GB, free: 174 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00327/1.383, allocations: 1.446 MB / 1.3 GB, free: 173.6 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002246/1.384, allocations: 39.88 kB / 1.3 GB, free: 173.6 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01865/1.402, allocations: 18.58 MB / 1.318 GB, free: 161.6 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/1.402, allocations: 3.688 kB / 1.318 GB, free: 161.6 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006206/1.409, allocations: 4.545 MB / 1.322 GB, free: 159 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001376/1.41, allocations: 0.6371 MB / 1.323 GB, free: 158.5 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004389/1.41, allocations: 50.86 kB / 1.323 GB, free: 158.5 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001286/1.412, allocations: 113.1 kB / 1.323 GB, free: 158.4 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000477/1.412, allocations: 177.5 kB / 1.323 GB, free: 158.3 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001231/1.412, allocations: 57.91 kB / 1.323 GB, free: 158.3 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001514/1.414, allocations: 1.324 MB / 1.325 GB, free: 157.6 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.4e-07/1.414, allocations: 0 / 1.325 GB, free: 157.6 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00326/1.417, allocations: 1.141 MB / 1.326 GB, free: 157.5 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 (107): * Single equations (assignments): 103 * 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 {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003025/1.417, allocations: 155.4 kB / 1.326 GB, free: 157.4 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.008809/1.426, allocations: 5.914 MB / 1.332 GB, free: 152.1 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.459e-05/1.426, allocations: 4 kB / 1.332 GB, free: 152.1 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.004168/1.431, allocations: 2.914 MB / 1.335 GB, free: 149.2 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003687/1.434, allocations: 0.8977 MB / 1.335 GB, free: 148.3 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01356/1.448, allocations: 11.75 MB / 1.347 GB, free: 136.5 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003063/1.451, allocations: 3.698 MB / 1.351 GB, free: 132.8 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.00201/1.453, allocations: 0.5527 MB / 1.351 GB, free: 132.3 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003526/1.453, allocations: 155.4 kB / 1.351 GB, free: 132.1 MB / 1.014 GB Notification: Performance of SimCode: time 6.21e-07/1.453, allocations: 0 / 1.351 GB, free: 132.1 MB / 1.014 GB Notification: Performance of Templates: time 0.06949/1.523, allocations: 53.1 MB / 1.403 GB, free: 79.79 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches