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.458/2.458, allocations: 390.5 MB / 398 MB, free: 10.95 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.001245/0.001245, allocations: 176.9 kB / 491.2 MB, free: 1.594 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.785/1.785, allocations: 221.5 MB / 0.7868 GB, free: 13.26 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.001325/0.001326, allocations: 87.84 kB / 0.9269 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.896e-05/1.897e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3197/0.3198, allocations: 143 MB / 1.212 GB, free: 39.51 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.195/1.515, allocations: 192.6 MB / 1.4 GB, free: 7.668 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002534/1.515, allocations: 93.94 kB / 1.401 GB, free: 7.617 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.4065/1.922, allocations: 169.2 MB / 1.566 GB, free: 12.71 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.854e-06/1.922, allocations: 0 / 1.566 GB, free: 12.71 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0001865/1.922, allocations: 99.92 kB / 1.566 GB, free: 12.61 MB / 0.9792 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.009711/1.932, allocations: 3.335 MB / 1.569 GB, free: 9.215 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/1.932, allocations: 8.031 kB / 1.569 GB, free: 9.207 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006198/1.938, allocations: 0.9627 MB / 1.57 GB, free: 8.238 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005584/1.944, allocations: 2.287 MB / 1.572 GB, free: 5.906 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001794/1.944, allocations: 144 kB / 1.572 GB, free: 5.766 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001639/1.945, allocations: 256.1 kB / 1.573 GB, free: 5.516 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01113/1.957, allocations: 4.606 MB / 1.577 GB, free: 0.9023 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01972/1.976, allocations: 5.991 MB / 1.583 GB, free: 10.68 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003039/1.977, allocations: 11.92 kB / 1.583 GB, free: 10.67 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00186/1.979, allocations: 8 kB / 1.583 GB, free: 10.66 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003769/1.979, allocations: 254.9 kB / 1.583 GB, free: 10.41 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05306/2.032, allocations: 31.15 MB / 1.614 GB, free: 8.438 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004732/2.037, allocations: 1.817 MB / 1.615 GB, free: 6.586 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002206/2.039, allocations: 1.056 MB / 1.616 GB, free: 5.52 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002108/2.039, allocations: 97.86 kB / 1.617 GB, free: 5.406 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.229e-05/2.039, allocations: 47.28 kB / 1.617 GB, free: 5.352 MB / 1.026 GB Notification: Performance of pre-optimization done (n=86): time 3.667e-06/2.039, allocations: 0 / 1.617 GB, free: 5.352 MB / 1.026 GB Notification: Performance of matching and sorting (n=89): time 0.009624/2.049, allocations: 4.024 MB / 1.621 GB, free: 1.277 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001165/2.049, allocations: 141.3 kB / 1.621 GB, free: 1.109 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001972/2.051, allocations: 1.294 MB / 1.622 GB, free: 15.8 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.000156/2.051, allocations: 29.7 kB / 1.622 GB, free: 15.77 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.001368/2.053, allocations: 1.913 MB / 1.624 GB, free: 13.83 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004015/2.053, allocations: 323.5 kB / 1.624 GB, free: 13.51 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.653e-05/2.053, allocations: 0 / 1.624 GB, free: 13.51 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.000213/2.054, allocations: 398.2 kB / 1.625 GB, free: 13.11 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001449/2.055, allocations: 1.046 MB / 1.626 GB, free: 12.06 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002294/2.057, allocations: 2.091 MB / 1.628 GB, free: 9.457 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00253/2.06, allocations: 1.619 MB / 1.629 GB, free: 7.836 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.681e-05/2.06, allocations: 8 kB / 1.629 GB, free: 7.828 MB / 1.042 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.005224/2.065, allocations: 3.152 MB / 1.632 GB, free: 4.668 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 0.005891/2.071, allocations: 13.42 MB / 1.645 GB, free: 6.191 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-05/2.071, allocations: 32 kB / 1.645 GB, free: 6.16 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.44e-05/2.071, allocations: 52 kB / 1.645 GB, free: 6.109 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002632/2.074, allocations: 0.6239 MB / 1.646 GB, free: 5.484 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.124e-05/2.074, allocations: 67.78 kB / 1.646 GB, free: 5.418 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002374/2.076, allocations: 330.6 kB / 1.646 GB, free: 5.094 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002272/2.077, allocations: 112 kB / 1.647 GB, free: 4.984 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/2.077, allocations: 7.938 kB / 1.647 GB, free: 4.977 MB / 1.057 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00439/2.081, allocations: 2.569 MB / 1.649 GB, free: 2.406 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.172e-05/2.081, allocations: 36.97 kB / 1.649 GB, free: 2.371 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.175e-05/2.081, allocations: 52 kB / 1.649 GB, free: 2.32 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001847/2.083, allocations: 0.5576 MB / 1.65 GB, free: 1.762 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.972e-05/2.083, allocations: 67.78 kB / 1.65 GB, free: 1.695 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001734/2.085, allocations: 207 kB / 1.65 GB, free: 1.492 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001712/2.085, allocations: 116 kB / 1.65 GB, free: 1.379 MB / 1.057 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 () * 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.0004647/2.085, allocations: 196 kB / 1.65 GB, free: 1.18 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003598/2.086, allocations: 146.2 kB / 1.65 GB, free: 1.035 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003029/2.089, allocations: 1.877 MB / 1.652 GB, free: 15.14 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.083e-05/2.089, allocations: 8 kB / 1.652 GB, free: 15.13 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.214e-05/2.089, allocations: 4 kB / 1.652 GB, free: 15.12 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.091e-05/2.089, allocations: 7.922 kB / 1.652 GB, free: 15.12 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01055/2.099, allocations: 6.609 MB / 1.659 GB, free: 8.355 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-05/2.099, allocations: 8 kB / 1.659 GB, free: 8.348 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001373/2.101, allocations: 340.1 kB / 1.659 GB, free: 8.016 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-05/2.101, allocations: 16 kB / 1.659 GB, free: 8 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.101e-05/2.101, allocations: 8 kB / 1.659 GB, free: 7.992 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.344e-05/2.101, allocations: 15.94 kB / 1.659 GB, free: 7.977 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-05/2.101, allocations: 15.89 kB / 1.659 GB, free: 7.961 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003288/2.104, allocations: 2.688 MB / 1.662 GB, free: 4.953 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008995/2.105, allocations: 450.9 kB / 1.662 GB, free: 4.492 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000208/2.105, allocations: 11.98 kB / 1.662 GB, free: 4.48 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00104/2.106, allocations: 147.7 kB / 1.662 GB, free: 4.336 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001672/2.107, allocations: 84.27 kB / 1.662 GB, free: 4.254 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.741e-05/2.107, allocations: 28 kB / 1.662 GB, free: 4.227 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.00147/2.108, allocations: 0.9413 MB / 1.663 GB, free: 3.285 MB / 1.073 GB Notification: Performance of sort global known variables: time 1.91e-07/2.108, allocations: 4 kB / 1.663 GB, free: 3.281 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.004689/2.113, allocations: 1.129 MB / 1.664 GB, free: 2.152 MB / 1.073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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.0003891/2.113, allocations: 134.9 kB / 1.665 GB, free: 2.012 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.006732/2.12, allocations: 3.592 MB / 1.668 GB, free: 14.43 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 1.259e-05/2.12, allocations: 4.062 kB / 1.668 GB, free: 14.42 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 0.001434/2.122, allocations: 0.8449 MB / 1.669 GB, free: 13.58 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002454/2.124, allocations: 365.3 kB / 1.669 GB, free: 13.23 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01233/2.136, allocations: 5.391 MB / 1.675 GB, free: 7.715 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003443/2.14, allocations: 2.937 MB / 1.677 GB, free: 4.746 MB / 1.089 GB Notification: Performance of simCode: alias equations: time 0.003623/2.144, allocations: 1.246 MB / 1.679 GB, free: 3.492 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004245/2.144, allocations: 107.3 kB / 1.679 GB, free: 3.387 MB / 1.089 GB Notification: Performance of SimCode: time 7.22e-07/2.144, allocations: 0 / 1.679 GB, free: 3.387 MB / 1.089 GB Notification: Performance of Templates: time 0.04484/2.189, allocations: 22.33 MB / 1.701 GB, free: 13.24 MB / 1.12 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