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.001109/0.001109, allocations: 107.4 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.001408/0.001408, allocations: 196.9 kB / 16.14 MB, free: 6.715 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.428/1.428, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.816/2.816, allocations: 461.8 MB / 0.7342 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 68.86 kB / 0.8984 GB, free: 37.26 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3655/0.3669, allocations: 157.4 MB / 1.052 GB, free: 8.883 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04026/0.4072, allocations: 37.61 MB / 1.089 GB, free: 3.148 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0217/0.4289, allocations: 10.96 MB / 1.1 GB, free: 8.16 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00561/0.4346, allocations: 135.3 kB / 1.1 GB, free: 8.027 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.01107/0.4457, allocations: 4.076 MB / 1.104 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.007968/0.4537, allocations: 2.092 MB / 1.106 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.007574/0.4614, allocations: 1.97 MB / 1.108 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.01639/0.4778, allocations: 13.18 MB / 1.12 GB, free: 2.66 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02454/0.5024, allocations: 12.45 MB / 1.133 GB, free: 6.105 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009126/0.5115, allocations: 3.41 MB / 1.136 GB, free: 2.684 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01154/0.5231, allocations: 4.584 MB / 1.14 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.00378/0.527, allocations: 0.5586 MB / 1.141 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006474/0.5335, allocations: 1.556 MB / 1.143 GB, free: 11.97 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.006219/0.5397, allocations: 2.888 MB / 1.145 GB, free: 9.074 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.01062/0.5504, allocations: 3.356 MB / 1.149 GB, free: 5.703 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.01892/0.5693, allocations: 12.09 MB / 1.16 GB, free: 9.582 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.5694, allocations: 0 / 1.16 GB, free: 9.582 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.463e-06/0.5694, allocations: 0 / 1.16 GB, free: 9.582 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0004965/0.5699, allocations: 0 / 1.16 GB, free: 9.582 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.02205/0.5919, allocations: 6.315 MB / 1.167 GB, free: 3.195 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.142e-05/0.592, allocations: 12.02 kB / 1.167 GB, free: 3.184 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00701/0.599, allocations: 1.063 MB / 1.168 GB, free: 2.113 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008913/0.608, allocations: 3.423 MB / 1.171 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004141/0.6084, allocations: 423.8 kB / 1.171 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00227/0.6107, allocations: 0.5471 MB / 1.172 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02054/0.6313, allocations: 9.386 MB / 1.181 GB, free: 3.957 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001616/0.6315, allocations: 19.81 kB / 1.181 GB, free: 3.938 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009209/0.6324, allocations: 244 kB / 1.181 GB, free: 3.699 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006133/0.633, allocations: 418.9 kB / 1.182 GB, free: 3.289 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01624/0.6493, allocations: 7.127 MB / 1.189 GB, free: 12.15 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05678/0.7061, allocations: 41.31 MB / 1.229 GB, free: 15.1 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005383/0.7115, allocations: 3.096 MB / 1.232 GB, free: 12 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003537/0.7151, allocations: 2.138 MB / 1.234 GB, free: 9.859 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001904/0.7153, allocations: 22 kB / 1.234 GB, free: 9.84 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.4e-05/0.7154, allocations: 68.48 kB / 1.234 GB, free: 9.762 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=209): time 4.078e-06/0.7154, allocations: 0 / 1.234 GB, free: 9.762 MB / 0.9981 GB Notification: Performance of matching and sorting (n=212): time 0.0282/0.7436, allocations: 10.55 MB / 1.245 GB, free: 15.12 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.279e-05/0.7437, allocations: 85.28 kB / 1.245 GB, free: 15.02 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004225/0.748, allocations: 2.002 MB / 1.247 GB, free: 13 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002763/0.7483, allocations: 65.7 kB / 1.247 GB, free: 12.93 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.002127/0.7504, allocations: 2.396 MB / 1.249 GB, free: 10.5 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.001058/0.7515, allocations: 0.7394 MB / 1.25 GB, free: 9.754 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001102/0.7526, allocations: 477.2 kB / 1.25 GB, free: 9.281 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.7527, allocations: 305.1 kB / 1.25 GB, free: 8.98 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002369/0.7551, allocations: 1.376 MB / 1.252 GB, free: 7.602 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003599/0.7587, allocations: 2.1 MB / 1.254 GB, free: 5.184 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006061/0.7648, allocations: 3.77 MB / 1.258 GB, free: 1.105 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.869e-05/0.7648, allocations: 8 kB / 1.258 GB, free: 1.098 MB / 1.014 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.6831/1.448, allocations: 5.064 MB / 1.262 GB, free: 187.2 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.709e-05/1.448, allocations: 19.55 kB / 1.262 GB, free: 187.2 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.896e-05/1.448, allocations: 21.09 kB / 1.263 GB, free: 187.2 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003523/1.452, allocations: 1.574 MB / 1.264 GB, free: 187.2 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00173/1.453, allocations: 455.4 kB / 1.264 GB, free: 187.2 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02246/1.476, allocations: 17.06 MB / 1.281 GB, free: 181.6 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002811/1.479, allocations: 147.5 kB / 1.281 GB, free: 181.6 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005416/1.479, allocations: 106.8 kB / 1.281 GB, free: 181.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.004658/1.484, allocations: 1.947 MB / 1.283 GB, free: 180.7 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008176/1.485, allocations: 295.3 kB / 1.284 GB, free: 180.7 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00801/1.493, allocations: 4.443 MB / 1.288 GB, free: 178.9 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.887e-05/1.493, allocations: 24.5 kB / 1.288 GB, free: 178.9 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.302e-05/1.493, allocations: 16.91 kB / 1.288 GB, free: 178.9 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.534e-05/1.493, allocations: 14.64 kB / 1.288 GB, free: 178.9 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02086/1.514, allocations: 9.668 MB / 1.297 GB, free: 175 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.147e-05/1.514, allocations: 4.156 kB / 1.297 GB, free: 175 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009695/1.515, allocations: 235.4 kB / 1.298 GB, free: 175 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003382/1.518, allocations: 1.436 MB / 1.299 GB, free: 174.6 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003027/1.519, allocations: 35.91 kB / 1.299 GB, free: 174.6 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01869/1.537, allocations: 17.06 MB / 1.316 GB, free: 163.7 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.019e-05/1.537, allocations: 11.62 kB / 1.316 GB, free: 163.7 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007966/1.545, allocations: 4.545 MB / 1.32 GB, free: 161.1 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001826/1.547, allocations: 0.6366 MB / 1.321 GB, free: 160.7 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009556/1.548, allocations: 39.48 kB / 1.321 GB, free: 160.6 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001987/1.55, allocations: 113.2 kB / 1.321 GB, free: 160.6 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007049/1.551, allocations: 189.5 kB / 1.321 GB, free: 160.5 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002324/1.551, allocations: 57.44 kB / 1.321 GB, free: 160.5 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.00282/1.554, allocations: 1.321 MB / 1.322 GB, free: 159.7 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.81e-07/1.554, allocations: 3.75 kB / 1.322 GB, free: 159.7 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.005833/1.56, allocations: 1.14 MB / 1.324 GB, free: 159.6 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.0005082/1.56, allocations: 162.1 kB / 1.324 GB, free: 159.5 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00851/1.569, allocations: 4.705 MB / 1.328 GB, free: 155.6 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.344e-05/1.569, allocations: 0 / 1.328 GB, free: 155.6 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.004676/1.574, allocations: 2.914 MB / 1.331 GB, free: 152.6 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006004/1.58, allocations: 0.8299 MB / 1.332 GB, free: 151.8 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02102/1.601, allocations: 11.76 MB / 1.343 GB, free: 140 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004522/1.605, allocations: 3.686 MB / 1.347 GB, free: 136.3 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002354/1.608, allocations: 0.5586 MB / 1.348 GB, free: 135.8 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004705/1.608, allocations: 147.4 kB / 1.348 GB, free: 135.6 MB / 1.014 GB Notification: Performance of SimCode: time 1.242e-06/1.608, allocations: 0 / 1.348 GB, free: 135.6 MB / 1.014 GB Notification: Performance of Templates: time 0.07706/1.685, allocations: 51.13 MB / 1.398 GB, free: 85.2 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