Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.S.1|1.|sen.S.1|2.|sen.S.2|1.|sen.S.2|2.|sen.S.3|1.|sen.S.3|2.|senSingleConn.S.1|1.|senSingleConn.S.1|2.|senSingleConn.S.2|1.|senSingleConn.S.2|2.|senSingleConn.S.3|1.|senSingleConn.S.3|2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.S.1|1.|sen.S.1|2.|sen.S.2|1.|sen.S.2|2.|sen.S.3|1.|sen.S.3|2.|senSingleConn.S.1|1.|senSingleConn.S.1|2.|senSingleConn.S.2|1.|senSingleConn.S.2|2.|senSingleConn.S.3|1.|senSingleConn.S.3|2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.326/2.326, allocations: 390.3 MB / 405.3 MB, free: 13.5 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001562/0.001562, allocations: 177.1 kB / 498.1 MB, free: 5.742 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.875/1.875, allocations: 223.2 MB / 0.7948 GB, free: 17.9 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001018/0.001018, allocations: 100 kB / 0.9346 GB, free: 6.227 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004884/0.0004885, allocations: 10.28 kB / 1.084 GB, free: 221.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3699/0.3704, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2311/0.6015, allocations: 192.5 MB / 1.411 GB, free: 1.473 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003224/0.6019, allocations: 103.9 kB / 1.411 GB, free: 1.371 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.9389/1.541, allocations: 170.5 MB / 1.578 GB, free: 71.25 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.003e-06/1.541, allocations: 0 / 1.578 GB, free: 71.25 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0001636/1.541, allocations: 103.9 kB / 1.578 GB, free: 71.14 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1156 * Number of variables: 1156 Notification: Performance of Generate backend data structure: time 0.008856/1.55, allocations: 3.474 MB / 1.581 GB, free: 67.6 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/1.55, allocations: 15.97 kB / 1.581 GB, free: 67.59 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005596/1.555, allocations: 0.9667 MB / 1.582 GB, free: 66.61 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006133/1.562, allocations: 2.287 MB / 1.584 GB, free: 64.28 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002602/1.562, allocations: 328.6 kB / 1.585 GB, free: 63.95 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00204/1.564, allocations: 428 kB / 1.585 GB, free: 63.54 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01496/1.579, allocations: 6.683 MB / 1.591 GB, free: 56.61 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000105/1.579, allocations: 15.84 kB / 1.591 GB, free: 56.6 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005429/1.58, allocations: 184 kB / 1.592 GB, free: 56.42 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002351/1.58, allocations: 247 kB / 1.592 GB, free: 56.18 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009122/1.589, allocations: 5.336 MB / 1.597 GB, free: 50.84 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03314/1.622, allocations: 32.48 MB / 1.629 GB, free: 15.51 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002493/1.625, allocations: 1.872 MB / 1.631 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001343/1.625, allocations: 101.8 kB / 1.631 GB, free: 13.48 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.77e-05/1.625, allocations: 47.22 kB / 1.631 GB, free: 13.42 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=86): time 3.727e-06/1.625, allocations: 0 / 1.631 GB, free: 13.42 MB / 0.9167 GB Notification: Performance of matching and sorting (n=89): time 0.005853/1.631, allocations: 4.767 MB / 1.635 GB, free: 8.609 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.673e-05/1.631, allocations: 137.7 kB / 1.636 GB, free: 8.445 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001542/1.632, allocations: 1.471 MB / 1.637 GB, free: 6.969 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 7.847e-05/1.633, allocations: 41.7 kB / 1.637 GB, free: 6.922 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006435/1.633, allocations: 1.905 MB / 1.639 GB, free: 4.988 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002302/1.633, allocations: 331.5 kB / 1.639 GB, free: 4.66 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/1.634, allocations: 44 kB / 1.639 GB, free: 4.617 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001158/1.634, allocations: 398 kB / 1.64 GB, free: 4.223 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001193/1.635, allocations: 1.089 MB / 1.641 GB, free: 3.129 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001655/1.636, allocations: 2.165 MB / 1.643 GB, free: 452 kB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001908/1.638, allocations: 1.523 MB / 1.644 GB, free: 14.92 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.534e-05/1.638, allocations: 8 kB / 1.644 GB, free: 14.91 MB / 0.9323 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.004854/1.643, allocations: 3.28 MB / 1.648 GB, free: 11.62 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.005431/1.649, allocations: 13.42 MB / 1.661 GB, free: 13.14 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-05/1.649, allocations: 32 kB / 1.661 GB, free: 13.11 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.266e-05/1.649, allocations: 52 kB / 1.661 GB, free: 13.06 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002638/1.652, allocations: 0.6239 MB / 1.661 GB, free: 12.44 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.012e-05/1.652, allocations: 67.78 kB / 1.661 GB, free: 12.37 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002442/1.654, allocations: 370.7 kB / 1.662 GB, free: 12.01 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002213/1.654, allocations: 112 kB / 1.662 GB, free: 11.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/1.654, allocations: 9.188 kB / 1.662 GB, free: 11.89 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004231/1.659, allocations: 2.722 MB / 1.665 GB, free: 9.172 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.914e-05/1.659, allocations: 40.25 kB / 1.665 GB, free: 9.133 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.144e-05/1.659, allocations: 55.98 kB / 1.665 GB, free: 9.078 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001774/1.66, allocations: 0.5498 MB / 1.665 GB, free: 8.527 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.212e-05/1.661, allocations: 71.73 kB / 1.665 GB, free: 8.457 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001748/1.662, allocations: 255 kB / 1.665 GB, free: 8.207 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001604/1.662, allocations: 112 kB / 1.666 GB, free: 8.098 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * 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 (264): * Single equations (assignments): 264 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003303/1.666, allocations: 1.702 MB / 1.667 GB, free: 6.383 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004338/1.666, allocations: 154.3 kB / 1.667 GB, free: 6.23 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002896/1.669, allocations: 1.894 MB / 1.669 GB, free: 4.32 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.066e-05/1.669, allocations: 12 kB / 1.669 GB, free: 4.309 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.257e-06/1.669, allocations: 11.89 kB / 1.669 GB, free: 4.297 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.275e-05/1.669, allocations: 7.984 kB / 1.669 GB, free: 4.289 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0133/1.682, allocations: 8.754 MB / 1.678 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.41e-05/1.683, allocations: 8.188 kB / 1.678 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001397/1.684, allocations: 339.4 kB / 1.678 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.212e-05/1.684, allocations: 16 kB / 1.678 GB, free: 10.97 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.418e-05/1.684, allocations: 24 kB / 1.678 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.791e-05/1.684, allocations: 19.92 kB / 1.678 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.354e-05/1.684, allocations: 15.94 kB / 1.678 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00376/1.688, allocations: 2.894 MB / 1.681 GB, free: 7.633 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001294/1.689, allocations: 462.8 kB / 1.681 GB, free: 7.16 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002107/1.689, allocations: 24 kB / 1.681 GB, free: 7.137 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00107/1.691, allocations: 171.7 kB / 1.682 GB, free: 6.969 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001759/1.691, allocations: 84.27 kB / 1.682 GB, free: 6.887 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.361e-05/1.691, allocations: 32 kB / 1.682 GB, free: 6.855 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001625/1.692, allocations: 1.089 MB / 1.683 GB, free: 5.77 MB / 0.9636 GB Notification: Performance of sort global known variables: time 2e-07/1.692, allocations: 0 / 1.683 GB, free: 5.77 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.004181/1.697, allocations: 1.23 MB / 1.684 GB, free: 4.539 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 38 * 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 (92): * Single equations (assignments): 92 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000276/1.697, allocations: 158.7 kB / 1.684 GB, free: 4.375 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.005559/1.702, allocations: 3.785 MB / 1.688 GB, free: 0.6094 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.059e-05/1.703, allocations: 4 kB / 1.688 GB, free: 0.6055 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001306/1.704, allocations: 0.8842 MB / 1.689 GB, free: 15.72 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002/1.706, allocations: 380.6 kB / 1.689 GB, free: 15.35 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01436/1.72, allocations: 8.157 MB / 1.697 GB, free: 7.047 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003438/1.724, allocations: 2.931 MB / 1.7 GB, free: 4.082 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.003386/1.727, allocations: 1.204 MB / 1.701 GB, free: 2.871 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004574/1.728, allocations: 115.4 kB / 1.701 GB, free: 2.758 MB / 0.9792 GB Notification: Performance of SimCode: time 9.82e-07/1.728, allocations: 0 / 1.701 GB, free: 2.758 MB / 0.9792 GB Notification: Performance of Templates: time 0.04222/1.77, allocations: 22.01 MB / 1.723 GB, free: 12.95 MB / 1.01 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches