Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.711/2.711, allocations: 393.5 MB / 408.4 MB, free: 11.07 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.001313/0.001313, allocations: 187.8 kB / 0.4902 GB, free: 2.309 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.638/1.638, allocations: 223.2 MB / 0.7992 GB, free: 14.8 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.001017/0.001017, allocations: 112.8 kB / 0.9396 GB, free: 1.945 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004215/0.0004217, allocations: 14.11 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3009/0.3013, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2706/0.5719, allocations: 193.3 MB / 1.418 GB, free: 8.23 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003359/0.5723, allocations: 103.9 kB / 1.418 GB, free: 8.129 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 1.007/1.579, allocations: 170.5 MB / 1.585 GB, free: 59.35 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.164e-06/1.579, allocations: 3.938 kB / 1.585 GB, free: 59.34 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0002214/1.58, allocations: 99.98 kB / 1.585 GB, free: 59.25 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.01156/1.591, allocations: 3.49 MB / 1.588 GB, free: 55.69 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 7.125e-05/1.591, allocations: 16.56 kB / 1.588 GB, free: 55.67 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007765/1.599, allocations: 0.9589 MB / 1.589 GB, free: 54.71 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007962/1.607, allocations: 2.291 MB / 1.591 GB, free: 52.37 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003124/1.608, allocations: 324.6 kB / 1.592 GB, free: 52.05 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00245/1.61, allocations: 424 kB / 1.592 GB, free: 51.63 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01664/1.627, allocations: 6.695 MB / 1.599 GB, free: 44.7 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.681e-05/1.627, allocations: 15.78 kB / 1.599 GB, free: 44.69 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004928/1.627, allocations: 184 kB / 1.599 GB, free: 44.51 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002479/1.628, allocations: 259 kB / 1.599 GB, free: 44.25 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00807/1.636, allocations: 5.324 MB / 1.604 GB, free: 38.92 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03033/1.666, allocations: 32.47 MB / 1.636 GB, free: 3.605 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002291/1.668, allocations: 1.876 MB / 1.638 GB, free: 1.695 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001458/1.668, allocations: 101.8 kB / 1.638 GB, free: 1.578 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/1.669, allocations: 51.23 kB / 1.638 GB, free: 1.52 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=86): time 2.895e-06/1.669, allocations: 0 / 1.638 GB, free: 1.52 MB / 0.9167 GB Notification: Performance of matching and sorting (n=89): time 0.006996/1.676, allocations: 4.76 MB / 1.643 GB, free: 12.71 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.505e-05/1.676, allocations: 149.1 kB / 1.643 GB, free: 12.54 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00199/1.678, allocations: 1.463 MB / 1.644 GB, free: 11.07 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001062/1.678, allocations: 41.7 kB / 1.644 GB, free: 11.02 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.001221/1.679, allocations: 1.909 MB / 1.646 GB, free: 9.082 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.000345/1.679, allocations: 331.6 kB / 1.646 GB, free: 8.754 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/1.679, allocations: 40 kB / 1.646 GB, free: 8.715 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001793/1.68, allocations: 394 kB / 1.647 GB, free: 8.324 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001493/1.681, allocations: 1.093 MB / 1.648 GB, free: 7.227 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002235/1.683, allocations: 2.165 MB / 1.65 GB, free: 4.543 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002093/1.685, allocations: 1.519 MB / 1.651 GB, free: 3.023 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.507e-05/1.686, allocations: 8 kB / 1.651 GB, free: 3.016 MB / 0.9323 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.004796/1.69, allocations: 3.28 MB / 1.655 GB, free: 15.72 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.006103/1.696, allocations: 13.42 MB / 1.668 GB, free: 1.246 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.019e-05/1.697, allocations: 36 kB / 1.668 GB, free: 1.211 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.84e-05/1.697, allocations: 52 kB / 1.668 GB, free: 1.16 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002628/1.699, allocations: 0.6239 MB / 1.668 GB, free: 0.5352 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.621e-05/1.699, allocations: 71.72 kB / 1.668 GB, free: 476 kB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002311/1.702, allocations: 366.7 kB / 1.669 GB, free: 108 kB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002068/1.702, allocations: 112 kB / 1.669 GB, free: 15.99 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/1.702, allocations: 4 kB / 1.669 GB, free: 15.99 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003832/1.706, allocations: 2.73 MB / 1.672 GB, free: 13.26 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.732e-05/1.706, allocations: 36 kB / 1.672 GB, free: 13.23 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.54e-05/1.706, allocations: 52 kB / 1.672 GB, free: 13.18 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001715/1.708, allocations: 0.5537 MB / 1.672 GB, free: 12.62 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-05/1.708, allocations: 75.67 kB / 1.672 GB, free: 12.55 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001731/1.709, allocations: 251.2 kB / 1.673 GB, free: 12.3 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001725/1.71, allocations: 112 kB / 1.673 GB, free: 12.19 MB / 0.9636 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.003325/1.713, allocations: 1.704 MB / 1.674 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004418/1.713, allocations: 158.1 kB / 1.674 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002841/1.716, allocations: 1.891 MB / 1.676 GB, free: 8.418 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.21e-05/1.716, allocations: 15.98 kB / 1.676 GB, free: 8.402 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-05/1.716, allocations: 7.953 kB / 1.676 GB, free: 8.395 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.307e-05/1.716, allocations: 7.984 kB / 1.676 GB, free: 8.387 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01389/1.73, allocations: 8.751 MB / 1.685 GB, free: 15.42 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-05/1.73, allocations: 11.98 kB / 1.685 GB, free: 15.41 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001276/1.732, allocations: 331.4 kB / 1.685 GB, free: 15.09 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.123e-05/1.732, allocations: 12.14 kB / 1.685 GB, free: 15.07 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.154e-05/1.732, allocations: 28 kB / 1.685 GB, free: 15.05 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-05/1.732, allocations: 19.92 kB / 1.685 GB, free: 15.03 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.238e-05/1.732, allocations: 15.94 kB / 1.685 GB, free: 15.01 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003447/1.735, allocations: 2.902 MB / 1.688 GB, free: 11.73 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001078/1.736, allocations: 458.9 kB / 1.689 GB, free: 11.26 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002019/1.736, allocations: 24 kB / 1.689 GB, free: 11.23 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001058/1.738, allocations: 167.7 kB / 1.689 GB, free: 11.07 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001908/1.738, allocations: 84.33 kB / 1.689 GB, free: 10.98 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.895e-05/1.738, allocations: 28 kB / 1.689 GB, free: 10.96 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.001667/1.739, allocations: 1.092 MB / 1.69 GB, free: 9.867 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.4e-07/1.74, allocations: 0 / 1.69 GB, free: 9.867 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.004181/1.744, allocations: 1.23 MB / 1.691 GB, free: 8.637 MB / 0.9792 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.000274/1.744, allocations: 155.7 kB / 1.691 GB, free: 8.477 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.005422/1.749, allocations: 3.788 MB / 1.695 GB, free: 4.703 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 9.388e-06/1.749, allocations: 5.812 kB / 1.695 GB, free: 4.699 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.001169/1.751, allocations: 0.8862 MB / 1.696 GB, free: 3.816 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001864/1.752, allocations: 377.5 kB / 1.696 GB, free: 3.453 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01384/1.766, allocations: 8.161 MB / 1.704 GB, free: 11.14 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0034/1.77, allocations: 2.931 MB / 1.707 GB, free: 8.18 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.003263/1.773, allocations: 1.204 MB / 1.708 GB, free: 6.969 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004914/1.774, allocations: 115.4 kB / 1.708 GB, free: 6.855 MB / 0.9948 GB Notification: Performance of SimCode: time 1.112e-06/1.774, allocations: 0 / 1.708 GB, free: 6.855 MB / 0.9948 GB Notification: Performance of Templates: time 0.04346/1.817, allocations: 22.02 MB / 1.73 GB, free: 1.035 MB / 1.01 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches