Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.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_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 90.75 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.009288/0.009288, allocations: 172.7 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.481/1.481, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.819/2.819, allocations: 462.6 MB / 0.7363 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000399/0.0003991, allocations: 8.969 kB / 0.9027 GB, free: 36.33 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3792/0.3796, allocations: 159.6 MB / 1.059 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03427/0.4139, allocations: 32.22 MB / 1.09 GB, free: 4.617 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02517/0.4391, allocations: 14.63 MB / 1.104 GB, free: 5.949 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003943/0.4431, allocations: 135.2 kB / 1.104 GB, free: 5.816 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002497/0.4456, allocations: 0.7249 MB / 1.105 GB, free: 5.086 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.008537/0.4542, allocations: 2.689 MB / 1.108 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.006652/0.4609, allocations: 1.997 MB / 1.11 GB, free: 396 kB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.01583/0.4767, allocations: 12.19 MB / 1.122 GB, free: 4.16 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01862/0.4954, allocations: 11.52 MB / 1.133 GB, free: 8.543 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007866/0.5033, allocations: 2.961 MB / 1.136 GB, free: 5.57 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007265/0.5106, allocations: 3.507 MB / 1.139 GB, free: 2.051 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.001233/0.5118, allocations: 296 kB / 1.14 GB, free: 1.762 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004373/0.5162, allocations: 1.56 MB / 1.141 GB, free: 204 kB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.002864/0.5191, allocations: 2.291 MB / 1.143 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.005311/0.5244, allocations: 2.785 MB / 1.146 GB, free: 11.1 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.01357/0.538, allocations: 10.66 MB / 1.156 GB, free: 412 kB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.538, allocations: 0 / 1.156 GB, free: 412 kB / 0.9044 GB Notification: Performance of FrontEnd: time 2.765e-06/0.5381, allocations: 0 / 1.156 GB, free: 412 kB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0004079/0.5385, allocations: 0 / 1.156 GB, free: 412 kB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01273/0.5512, allocations: 4.833 MB / 1.161 GB, free: 11.49 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.206e-05/0.5513, allocations: 11.97 kB / 1.161 GB, free: 11.48 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007813/0.5591, allocations: 1.145 MB / 1.162 GB, free: 10.33 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008219/0.5674, allocations: 3.325 MB / 1.166 GB, free: 6.926 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003767/0.5678, allocations: 374.3 kB / 1.166 GB, free: 6.559 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001953/0.5697, allocations: 0.4961 MB / 1.166 GB, free: 6.062 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01854/0.5883, allocations: 7.997 MB / 1.174 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001921/0.5885, allocations: 27.7 kB / 1.174 GB, free: 13.76 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008271/0.5894, allocations: 216 kB / 1.174 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001154/0.5905, allocations: 437.6 kB / 1.175 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01478/0.6053, allocations: 6.088 MB / 1.181 GB, free: 7.016 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05097/0.6563, allocations: 35.22 MB / 1.215 GB, free: 0.6172 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003271/0.6596, allocations: 2.03 MB / 1.217 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002807/0.6625, allocations: 1.85 MB / 1.219 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001601/0.6627, allocations: 18 kB / 1.219 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.087e-05/0.6627, allocations: 60.45 kB / 1.219 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=171): time 5.009e-06/0.6627, allocations: 0 / 1.219 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of matching and sorting (n=276): time 0.8887/1.551, allocations: 39 MB / 1.257 GB, free: 172 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.399e-05/1.552, allocations: 81.77 kB / 1.257 GB, free: 171.9 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00517/1.557, allocations: 2.282 MB / 1.259 GB, free: 171.7 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0007696/1.558, allocations: 71.27 kB / 1.259 GB, free: 171.6 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002527/1.56, allocations: 2.279 MB / 1.262 GB, free: 170.6 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001336/1.561, allocations: 0.9317 MB / 1.263 GB, free: 170 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004572/1.562, allocations: 233.4 kB / 1.263 GB, free: 170 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.72e-05/1.562, allocations: 310.1 kB / 1.263 GB, free: 169.7 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004044/1.566, allocations: 1.975 MB / 1.265 GB, free: 169.7 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004888/1.571, allocations: 2.602 MB / 1.268 GB, free: 168.9 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007844/1.579, allocations: 4.93 MB / 1.272 GB, free: 166.2 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.288e-05/1.579, allocations: 5.812 kB / 1.272 GB, free: 166.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01742/1.596, allocations: 7.757 MB / 1.28 GB, free: 163.1 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.177e-05/1.596, allocations: 12.48 kB / 1.28 GB, free: 163.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.894e-05/1.596, allocations: 16.75 kB / 1.28 GB, free: 163.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01042/1.607, allocations: 3.22 MB / 1.283 GB, free: 162.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001828/1.609, allocations: 409.3 kB / 1.284 GB, free: 162.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03825/1.647, allocations: 31.17 MB / 1.314 GB, free: 142.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003746/1.651, allocations: 162.4 kB / 1.314 GB, free: 142.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005464/1.651, allocations: 115.1 kB / 1.314 GB, free: 142.1 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003689/1.655, allocations: 1.79 MB / 1.316 GB, free: 140.8 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009159/1.656, allocations: 336 kB / 1.316 GB, free: 140.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01952/1.675, allocations: 7.36 MB / 1.324 GB, free: 133 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.412e-05/1.676, allocations: 28 kB / 1.324 GB, free: 133 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001012/1.676, allocations: 28 kB / 1.324 GB, free: 133 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.352e-05/1.676, allocations: 12.77 kB / 1.324 GB, free: 132.9 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03429/1.71, allocations: 12.94 MB / 1.336 GB, free: 119.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-05/1.71, allocations: 4 kB / 1.336 GB, free: 119.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001482/1.712, allocations: 230.3 kB / 1.336 GB, free: 119.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008372/1.72, allocations: 2.849 MB / 1.339 GB, free: 116.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003972/1.72, allocations: 56.88 kB / 1.339 GB, free: 116.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03412/1.755, allocations: 29.98 MB / 1.369 GB, free: 85.98 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.384e-06/1.755, allocations: 11.94 kB / 1.369 GB, free: 85.96 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01166/1.766, allocations: 6.879 MB / 1.375 GB, free: 78.87 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002201/1.769, allocations: 0.7898 MB / 1.376 GB, free: 78.05 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001026/1.77, allocations: 56 kB / 1.376 GB, free: 78 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002455/1.772, allocations: 167.8 kB / 1.376 GB, free: 77.84 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009837/1.773, allocations: 253.3 kB / 1.377 GB, free: 77.59 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002304/1.773, allocations: 76 kB / 1.377 GB, free: 77.52 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002624/1.776, allocations: 1.528 MB / 1.378 GB, free: 75.99 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.91e-07/1.776, allocations: 0 / 1.378 GB, free: 75.99 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004902/1.781, allocations: 1.375 MB / 1.379 GB, free: 74.61 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004425/1.781, allocations: 182.9 kB / 1.38 GB, free: 74.42 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01065/1.792, allocations: 6.891 MB / 1.386 GB, free: 67.44 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.291e-05/1.792, allocations: 4 kB / 1.386 GB, free: 67.44 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.006807/1.799, allocations: 4.436 MB / 1.391 GB, free: 62.93 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008519/1.807, allocations: 1.031 MB / 1.392 GB, free: 61.95 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01846/1.826, allocations: 12.49 MB / 1.404 GB, free: 49.38 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005103/1.831, allocations: 3.647 MB / 1.407 GB, free: 45.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002732/1.834, allocations: 0.5595 MB / 1.408 GB, free: 45.14 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005759/1.834, allocations: 155.4 kB / 1.408 GB, free: 44.99 MB / 0.9981 GB Notification: Performance of SimCode: time 1.082e-06/1.834, allocations: 0 / 1.408 GB, free: 44.99 MB / 0.9981 GB Notification: Performance of Templates: time 0.1134/1.948, allocations: 73.42 MB / 1.48 GB, free: 4.551 MB / 1.029 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches