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.28/2.28, allocations: 387.1 MB / 399.7 MB, free: 9.441 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.001005/0.001005, allocations: 180.9 kB / 492.3 MB, free: 0.6133 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.592/1.592, allocations: 221.3 MB / 0.7872 GB, free: 12.89 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.0008461/0.000846, allocations: 91.14 kB / 0.9267 GB, free: 13.96 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.11e-05/3.112e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.287/0.2871, allocations: 142.3 MB / 1.212 GB, free: 38.48 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.011/1.298, allocations: 192.5 MB / 1.4 GB, free: 7.398 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00028/1.299, allocations: 101.3 kB / 1.4 GB, free: 7.34 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.4093/1.708, allocations: 169.8 MB / 1.566 GB, free: 11.66 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.314e-06/1.708, allocations: 0 / 1.566 GB, free: 11.66 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0002946/1.708, allocations: 91.98 kB / 1.566 GB, free: 11.57 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.01514/1.724, allocations: 3.339 MB / 1.57 GB, free: 8.168 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 6.4e-05/1.724, allocations: 12.03 kB / 1.57 GB, free: 8.156 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009378/1.733, allocations: 0.9627 MB / 1.571 GB, free: 7.188 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008439/1.742, allocations: 2.283 MB / 1.573 GB, free: 4.855 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000526/1.742, allocations: 324.6 kB / 1.573 GB, free: 4.535 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002254/1.744, allocations: 427.9 kB / 1.574 GB, free: 4.117 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02221/1.767, allocations: 6.614 MB / 1.58 GB, free: 13.27 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001602/1.767, allocations: 7.938 kB / 1.58 GB, free: 13.26 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001011/1.768, allocations: 188 kB / 1.58 GB, free: 13.08 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004356/1.768, allocations: 254.9 kB / 1.58 GB, free: 12.83 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01705/1.785, allocations: 5.216 MB / 1.586 GB, free: 7.605 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05155/1.837, allocations: 32.48 MB / 1.617 GB, free: 4.273 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003518/1.841, allocations: 1.862 MB / 1.619 GB, free: 2.375 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001747/1.842, allocations: 1.073 MB / 1.62 GB, free: 1.289 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001991/1.843, allocations: 101.9 kB / 1.62 GB, free: 1.172 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.395e-05/1.843, allocations: 47.28 kB / 1.62 GB, free: 1.117 MB / 1.026 GB Notification: Performance of pre-optimization done (n=86): time 3.276e-06/1.843, allocations: 3.938 kB / 1.62 GB, free: 1.113 MB / 1.026 GB Notification: Performance of matching and sorting (n=89): time 0.00664/1.849, allocations: 4.036 MB / 1.624 GB, free: 13.02 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.744e-05/1.849, allocations: 137.3 kB / 1.624 GB, free: 12.86 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00194/1.851, allocations: 1.458 MB / 1.626 GB, free: 11.39 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 8.528e-05/1.851, allocations: 45.64 kB / 1.626 GB, free: 11.34 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.001206/1.853, allocations: 1.902 MB / 1.628 GB, free: 9.414 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003084/1.853, allocations: 335.5 kB / 1.628 GB, free: 9.082 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001123/1.853, allocations: 44 kB / 1.628 GB, free: 9.039 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0002062/1.853, allocations: 397.8 kB / 1.628 GB, free: 8.648 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001516/1.855, allocations: 1.078 MB / 1.629 GB, free: 7.566 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002609/1.857, allocations: 2.153 MB / 1.632 GB, free: 4.891 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002104/1.859, allocations: 1.508 MB / 1.633 GB, free: 3.383 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.78e-05/1.86, allocations: 12 kB / 1.633 GB, free: 3.371 MB / 1.042 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.005082/1.865, allocations: 3.261 MB / 1.636 GB, free: 104 kB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 0.005564/1.87, allocations: 13.43 MB / 1.649 GB, free: 1.621 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-05/1.87, allocations: 32 kB / 1.649 GB, free: 1.59 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.151e-05/1.87, allocations: 52 kB / 1.649 GB, free: 1.539 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002534/1.873, allocations: 0.6239 MB / 1.65 GB, free: 0.9141 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.037e-05/1.873, allocations: 71.78 kB / 1.65 GB, free: 0.8438 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002313/1.875, allocations: 370.6 kB / 1.65 GB, free: 492 kB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002038/1.876, allocations: 112 kB / 1.651 GB, free: 380 kB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/1.876, allocations: 4 kB / 1.651 GB, free: 376 kB / 1.057 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004067/1.88, allocations: 2.71 MB / 1.653 GB, free: 13.65 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.715e-05/1.88, allocations: 36 kB / 1.653 GB, free: 13.62 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.129e-05/1.88, allocations: 55.98 kB / 1.653 GB, free: 13.56 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001741/1.881, allocations: 0.5498 MB / 1.654 GB, free: 13.01 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.465e-05/1.882, allocations: 72.2 kB / 1.654 GB, free: 12.94 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001731/1.883, allocations: 255.1 kB / 1.654 GB, free: 12.69 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001745/1.883, allocations: 112 kB / 1.654 GB, free: 12.58 MB / 1.073 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.0004673/1.884, allocations: 248 kB / 1.654 GB, free: 12.33 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003784/1.884, allocations: 166.2 kB / 1.655 GB, free: 12.17 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00297/1.887, allocations: 1.893 MB / 1.656 GB, free: 10.26 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-05/1.887, allocations: 8 kB / 1.656 GB, free: 10.25 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/1.887, allocations: 0 / 1.656 GB, free: 10.25 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.336e-05/1.887, allocations: 11.94 kB / 1.657 GB, free: 10.24 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01234/1.9, allocations: 7.712 MB / 1.664 GB, free: 2.359 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.458e-05/1.9, allocations: 11.98 kB / 1.664 GB, free: 2.348 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001327/1.901, allocations: 339.3 kB / 1.664 GB, free: 2.016 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.168e-05/1.901, allocations: 12 kB / 1.664 GB, free: 2.004 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-05/1.901, allocations: 31.89 kB / 1.664 GB, free: 1.973 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.571e-05/1.901, allocations: 15.94 kB / 1.664 GB, free: 1.957 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.991e-05/1.901, allocations: 12.16 kB / 1.664 GB, free: 1.945 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003728/1.905, allocations: 2.71 MB / 1.667 GB, free: 14.93 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001151/1.906, allocations: 450.9 kB / 1.668 GB, free: 14.47 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002266/1.906, allocations: 31.94 kB / 1.668 GB, free: 14.44 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001198/1.908, allocations: 163.7 kB / 1.668 GB, free: 14.28 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002001/1.908, allocations: 80.31 kB / 1.668 GB, free: 14.2 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.076e-05/1.908, allocations: 28 kB / 1.668 GB, free: 14.18 MB / 1.089 GB Notification: Performance of sorting global known variables: time 0.002098/1.91, allocations: 1.072 MB / 1.669 GB, free: 13.11 MB / 1.089 GB Notification: Performance of sort global known variables: time 1.6e-07/1.91, allocations: 0 / 1.669 GB, free: 13.11 MB / 1.089 GB Notification: Performance of remove unused functions: time 0.005771/1.916, allocations: 1.238 MB / 1.67 GB, free: 11.87 MB / 1.089 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.0004553/1.916, allocations: 154 kB / 1.67 GB, free: 11.71 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.006245/1.923, allocations: 3.797 MB / 1.674 GB, free: 7.926 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 9.137e-06/1.923, allocations: 0 / 1.674 GB, free: 7.926 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 0.001184/1.924, allocations: 0.8679 MB / 1.675 GB, free: 7.059 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002143/1.926, allocations: 387.5 kB / 1.675 GB, free: 6.688 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01073/1.937, allocations: 5.453 MB / 1.68 GB, free: 1.102 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003154/1.94, allocations: 2.926 MB / 1.683 GB, free: 14.14 MB / 1.104 GB Notification: Performance of simCode: alias equations: time 0.003395/1.943, allocations: 1.254 MB / 1.685 GB, free: 12.88 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004075/1.944, allocations: 107.4 kB / 1.685 GB, free: 12.78 MB / 1.104 GB Notification: Performance of SimCode: time 1.112e-06/1.944, allocations: 0 / 1.685 GB, free: 12.78 MB / 1.104 GB Notification: Performance of Templates: time 0.04524/1.989, allocations: 23.7 MB / 1.708 GB, free: 5.25 MB / 1.12 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