Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.409/1.409, allocations: 249.3 MB / 261.8 MB, free: 5.945 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001038/0.001038, allocations: 172.9 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.469/1.469, allocations: 205.2 MB / 0.572 GB, free: 10.6 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009488/0.0009494, allocations: 98.44 kB / 0.6764 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.279e-05/3.283e-05, allocations: 4 kB / 0.7879 GB, free: 97.07 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2087/0.2087, allocations: 106.3 MB / 0.8918 GB, free: 6.645 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8064/1.015, allocations: 174.7 MB / 1.062 GB, free: 10.06 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003929/1.016, allocations: 98.23 kB / 1.062 GB, free: 10.01 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.3695/1.385, allocations: 159.7 MB / 1.218 GB, free: 15.29 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.873e-06/1.385, allocations: 0 / 1.218 GB, free: 15.29 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0001805/1.385, allocations: 103.9 kB / 1.219 GB, free: 15.19 MB / 0.8386 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.01048/1.396, allocations: 3.345 MB / 1.222 GB, free: 11.79 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/1.396, allocations: 8.25 kB / 1.222 GB, free: 11.78 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005377/1.401, allocations: 0.9667 MB / 1.223 GB, free: 10.8 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004841/1.406, allocations: 2.295 MB / 1.225 GB, free: 8.461 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002283/1.406, allocations: 320.7 kB / 1.225 GB, free: 8.145 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009101/1.407, allocations: 428 kB / 1.226 GB, free: 7.727 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01367/1.421, allocations: 6.61 MB / 1.232 GB, free: 0.8789 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.756e-05/1.421, allocations: 15.78 kB / 1.232 GB, free: 0.8633 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004922/1.422, allocations: 180 kB / 1.232 GB, free: 0.6875 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002797/1.422, allocations: 255 kB / 1.233 GB, free: 448 kB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01021/1.432, allocations: 5.228 MB / 1.238 GB, free: 11.21 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6277/2.06, allocations: 32.46 MB / 1.269 GB, free: 213.4 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004531/2.065, allocations: 1.849 MB / 1.271 GB, free: 213.3 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001898/2.066, allocations: 1.081 MB / 1.272 GB, free: 213.2 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001668/2.067, allocations: 96.58 kB / 1.272 GB, free: 213.2 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.382e-05/2.067, allocations: 49.42 kB / 1.272 GB, free: 213.1 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=86): time 2.685e-06/2.067, allocations: 0 / 1.272 GB, free: 213.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=89): time 0.007243/2.074, allocations: 4.042 MB / 1.276 GB, free: 211.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.704e-05/2.074, allocations: 139.6 kB / 1.276 GB, free: 211.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002476/2.077, allocations: 1.451 MB / 1.278 GB, free: 211.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001304/2.077, allocations: 41.08 kB / 1.278 GB, free: 211.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001292/2.078, allocations: 1.903 MB / 1.28 GB, free: 210.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003292/2.078, allocations: 336.9 kB / 1.28 GB, free: 210.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001133/2.078, allocations: 43.81 kB / 1.28 GB, free: 210.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001524/2.079, allocations: 391.6 kB / 1.281 GB, free: 209.8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001733/2.08, allocations: 1.083 MB / 1.282 GB, free: 209.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002226/2.083, allocations: 2.154 MB / 1.284 GB, free: 208.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002431/2.085, allocations: 1.516 MB / 1.285 GB, free: 208.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.905e-05/2.085, allocations: 10 kB / 1.285 GB, free: 208.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.005635/2.091, allocations: 3.266 MB / 1.288 GB, free: 208.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.003135/2.094, allocations: 13.42 MB / 1.301 GB, free: 194.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.811e-05/2.094, allocations: 38.7 kB / 1.302 GB, free: 194.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001257/2.094, allocations: 52.31 kB / 1.302 GB, free: 194.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002825/2.097, allocations: 0.6304 MB / 1.302 GB, free: 194.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001173/2.097, allocations: 69.45 kB / 1.302 GB, free: 194.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002973/2.1, allocations: 372 kB / 1.303 GB, free: 194.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002268/2.1, allocations: 113.3 kB / 1.303 GB, free: 194.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/2.1, allocations: 4.375 kB / 1.303 GB, free: 194.3 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00471/2.105, allocations: 2.717 MB / 1.305 GB, free: 194.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.868e-05/2.105, allocations: 33.69 kB / 1.305 GB, free: 194.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.368e-05/2.105, allocations: 51.59 kB / 1.305 GB, free: 194.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001854/2.107, allocations: 0.5545 MB / 1.306 GB, free: 194.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.23e-05/2.107, allocations: 72.12 kB / 1.306 GB, free: 194.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001891/2.109, allocations: 251.2 kB / 1.306 GB, free: 194.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001756/2.109, allocations: 111 kB / 1.306 GB, free: 194.3 MB / 0.8698 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.0006076/2.11, allocations: 252.3 kB / 1.307 GB, free: 194.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004278/2.11, allocations: 154.2 kB / 1.307 GB, free: 194.1 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003296/2.114, allocations: 1.885 MB / 1.309 GB, free: 194 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-05/2.114, allocations: 10.88 kB / 1.309 GB, free: 194 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.101e-05/2.114, allocations: 1.344 kB / 1.309 GB, free: 194 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.775e-05/2.114, allocations: 5.609 kB / 1.309 GB, free: 194 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01402/2.128, allocations: 7.731 MB / 1.316 GB, free: 193.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.279e-05/2.128, allocations: 6.031 kB / 1.316 GB, free: 193.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001324/2.129, allocations: 343.6 kB / 1.317 GB, free: 193.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.195e-05/2.129, allocations: 11.31 kB / 1.317 GB, free: 193.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.13e-05/2.129, allocations: 28.34 kB / 1.317 GB, free: 193.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.576e-05/2.129, allocations: 14.41 kB / 1.317 GB, free: 193.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.336e-06/2.129, allocations: 10.94 kB / 1.317 GB, free: 193.1 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00338/2.133, allocations: 2.72 MB / 1.319 GB, free: 191.8 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009086/2.133, allocations: 461.1 kB / 1.32 GB, free: 191.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001938/2.134, allocations: 27.53 kB / 1.32 GB, free: 191.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001059/2.135, allocations: 163.1 kB / 1.32 GB, free: 191.6 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001657/2.135, allocations: 82.67 kB / 1.32 GB, free: 191.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.243e-05/2.135, allocations: 31.09 kB / 1.32 GB, free: 191.6 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001578/2.137, allocations: 1.073 MB / 1.321 GB, free: 191.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.2e-07/2.137, allocations: 0 / 1.321 GB, free: 191.5 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.004668/2.141, allocations: 1.225 MB / 1.322 GB, free: 191.5 MB / 0.8698 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.0002701/2.142, allocations: 154.2 kB / 1.322 GB, free: 191.4 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.00503/2.147, allocations: 3.797 MB / 1.326 GB, free: 191.4 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.534e-06/2.147, allocations: 0 / 1.326 GB, free: 191.4 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001011/2.148, allocations: 0.8708 MB / 1.327 GB, free: 191.4 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001884/2.15, allocations: 380.1 kB / 1.327 GB, free: 191.4 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009733/2.159, allocations: 5.451 MB / 1.333 GB, free: 190.1 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002572/2.162, allocations: 2.929 MB / 1.335 GB, free: 189.3 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.003205/2.165, allocations: 1.253 MB / 1.337 GB, free: 189.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003956/2.166, allocations: 114 kB / 1.337 GB, free: 189.3 MB / 0.8698 GB Notification: Performance of SimCode: time 8.61e-07/2.166, allocations: 0 / 1.337 GB, free: 189.3 MB / 0.8698 GB Notification: Performance of Templates: time 0.03723/2.203, allocations: 23.7 MB / 1.36 GB, free: 188.2 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches