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.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_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.0009679/0.0009677, allocations: 85.94 kB / 15.06 MB, free: 1.09 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.001041/0.001041, allocations: 168.7 kB / 15.95 MB, free: 204 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.57/1.57, allocations: 223.3 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.981/2.981, allocations: 462.6 MB / 0.736 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000437/0.0004373, allocations: 17.14 kB / 0.9021 GB, free: 36.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3984/0.3989, allocations: 159.6 MB / 1.058 GB, free: 5.348 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04059/0.4395, allocations: 34.63 MB / 1.092 GB, free: 2.621 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02024/0.4598, allocations: 10.49 MB / 1.102 GB, free: 8.109 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004685/0.4645, allocations: 135.2 kB / 1.102 GB, free: 7.977 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.003641/0.4682, allocations: 0.7596 MB / 1.103 GB, free: 7.211 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.008482/0.4767, allocations: 1.787 MB / 1.105 GB, free: 5.414 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.005992/0.4827, allocations: 1.284 MB / 1.106 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.01322/0.496, allocations: 10.36 MB / 1.116 GB, free: 9.75 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02443/0.5204, allocations: 12.67 MB / 1.128 GB, free: 13 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006634/0.5271, allocations: 2.864 MB / 1.131 GB, free: 10.12 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007616/0.5347, allocations: 3.773 MB / 1.135 GB, free: 6.34 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.002033/0.5368, allocations: 348 kB / 1.135 GB, free: 6 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004809/0.5416, allocations: 0.7064 MB / 1.136 GB, free: 5.293 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.005269/0.5469, allocations: 2.517 MB / 1.138 GB, free: 2.77 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.003061/0.55, allocations: 1.194 MB / 1.14 GB, free: 1.566 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.01148/0.5615, allocations: 10.18 MB / 1.15 GB, free: 7.363 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.5615, allocations: 7.938 kB / 1.15 GB, free: 7.355 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.784e-06/0.5615, allocations: 0 / 1.15 GB, free: 7.355 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0004309/0.562, allocations: 0 / 1.15 GB, free: 7.355 MB / 0.9044 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.01324/0.5752, allocations: 5.156 MB / 1.155 GB, free: 2.129 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.5753, allocations: 8.031 kB / 1.155 GB, free: 2.121 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006264/0.5815, allocations: 1.066 MB / 1.156 GB, free: 1.047 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007603/0.5892, allocations: 3.349 MB / 1.159 GB, free: 13.64 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003765/0.5896, allocations: 423.4 kB / 1.159 GB, free: 13.23 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001874/0.5915, allocations: 0.539 MB / 1.16 GB, free: 12.69 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02381/0.6153, allocations: 9.33 MB / 1.169 GB, free: 3.023 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003064/0.6156, allocations: 27.72 kB / 1.169 GB, free: 2.996 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001849/0.6175, allocations: 252 kB / 1.169 GB, free: 2.75 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006969/0.6182, allocations: 418.9 kB / 1.17 GB, free: 2.34 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01655/0.6348, allocations: 7.077 MB / 1.177 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05774/0.6925, allocations: 41.36 MB / 1.217 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005187/0.6978, allocations: 3.096 MB / 1.22 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003347/0.7012, allocations: 2.114 MB / 1.222 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001803/0.7014, allocations: 22 kB / 1.222 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.234e-05/0.7014, allocations: 60.56 kB / 1.222 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=209): time 4.288e-06/0.7014, allocations: 4 kB / 1.222 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of matching and sorting (n=212): time 0.02605/0.7275, allocations: 10.45 MB / 1.232 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001657/0.7278, allocations: 73.41 kB / 1.232 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005383/0.7332, allocations: 1.986 MB / 1.234 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004836/0.7337, allocations: 61.7 kB / 1.234 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002602/0.7363, allocations: 2.408 MB / 1.237 GB, free: 9.707 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001304/0.7376, allocations: 0.7318 MB / 1.237 GB, free: 8.965 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00033/0.738, allocations: 48 kB / 1.237 GB, free: 8.918 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0004653/0.7384, allocations: 415.4 kB / 1.238 GB, free: 8.508 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00281/0.7413, allocations: 1.364 MB / 1.239 GB, free: 7.141 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003197/0.7445, allocations: 2.1 MB / 1.241 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003062/0.7476, allocations: 1.716 MB / 1.243 GB, free: 3.008 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.171e-05/0.7476, allocations: 8 kB / 1.243 GB, free: 3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.7754/1.523, allocations: 5.043 MB / 1.248 GB, free: 167.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.71e-05/1.523, allocations: 13.88 kB / 1.248 GB, free: 167.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-05/1.523, allocations: 22.47 kB / 1.248 GB, free: 167.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003548/1.527, allocations: 1.56 MB / 1.249 GB, free: 167.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001741/1.528, allocations: 453.5 kB / 1.25 GB, free: 167.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02127/1.55, allocations: 17.06 MB / 1.266 GB, free: 162.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003057/1.553, allocations: 147.9 kB / 1.267 GB, free: 162.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005001/1.553, allocations: 105.1 kB / 1.267 GB, free: 162.4 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 (231): * Single equations (assignments): 227 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(6,69.4%) 32,(6,66.7%) 24,(4,100.0%) 18,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005235/1.559, allocations: 1.948 MB / 1.269 GB, free: 161.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009815/1.56, allocations: 290.9 kB / 1.269 GB, free: 161.7 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009594/1.569, allocations: 4.433 MB / 1.273 GB, free: 159.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-05/1.569, allocations: 21.16 kB / 1.273 GB, free: 159.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-05/1.569, allocations: 17.12 kB / 1.273 GB, free: 159.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.75e-05/1.569, allocations: 10.12 kB / 1.273 GB, free: 159.9 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01908/1.589, allocations: 9.648 MB / 1.283 GB, free: 156 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.059e-05/1.589, allocations: 5.375 kB / 1.283 GB, free: 156 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001112/1.59, allocations: 235.9 kB / 1.283 GB, free: 156 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003435/1.593, allocations: 1.425 MB / 1.284 GB, free: 155.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002008/1.593, allocations: 37.47 kB / 1.284 GB, free: 155.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01858/1.612, allocations: 17.08 MB / 1.301 GB, free: 145 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/1.612, allocations: 11.77 kB / 1.301 GB, free: 145 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006594/1.619, allocations: 4.512 MB / 1.305 GB, free: 142.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001498/1.62, allocations: 0.6367 MB / 1.306 GB, free: 142 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003312/1.621, allocations: 51.45 kB / 1.306 GB, free: 142 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001039/1.622, allocations: 113.3 kB / 1.306 GB, free: 141.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004589/1.622, allocations: 180.8 kB / 1.306 GB, free: 141.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001177/1.622, allocations: 61.56 kB / 1.306 GB, free: 141.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001663/1.624, allocations: 1.29 MB / 1.308 GB, free: 141.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.624, allocations: 7.906 kB / 1.308 GB, free: 141.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003713/1.628, allocations: 1.139 MB / 1.309 GB, free: 141 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 (107): * Single equations (assignments): 103 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,100.0%) 18,(6,66.7%) 24,(4,100.0%) 18,(6,66.7%) 32} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003132/1.628, allocations: 165.7 kB / 1.309 GB, free: 140.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.006381/1.634, allocations: 4.669 MB / 1.314 GB, free: 138.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.237e-05/1.634, allocations: 3.625 kB / 1.314 GB, free: 138.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.004093/1.638, allocations: 2.918 MB / 1.316 GB, free: 135.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003885/1.642, allocations: 0.8447 MB / 1.317 GB, free: 134.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.015/1.657, allocations: 11.22 MB / 1.328 GB, free: 123.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003291/1.661, allocations: 3.69 MB / 1.332 GB, free: 119.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002236/1.663, allocations: 0.5565 MB / 1.332 GB, free: 119.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003867/1.663, allocations: 151.4 kB / 1.332 GB, free: 119.2 MB / 0.9981 GB Notification: Performance of SimCode: time 1.493e-06/1.663, allocations: 0 / 1.332 GB, free: 119.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.07097/1.734, allocations: 48.79 MB / 1.38 GB, free: 71.11 MB / 0.9981 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