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_N.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_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.I.1.|sen.I.2.|sen.I.3.|sen.I.4.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.I.1.|sen.I.2.|sen.I.3.|sen.I.4.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.417/1.417, allocations: 251.9 MB / 266.9 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001167/0.001167, allocations: 179.2 kB / 326.5 MB, free: 2.254 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.922/1.922, allocations: 205.4 MB / 0.5775 GB, free: 20.23 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.0008354/0.0008352, allocations: 102.3 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003162/0.0003162, allocations: 9.781 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2014/0.2017, allocations: 106.3 MB / 0.9001 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6316/0.8333, allocations: 174.1 MB / 1.07 GB, free: 153.4 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003075/0.8337, allocations: 100.5 kB / 1.07 GB, free: 153.4 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.2348/1.069, allocations: 112.3 MB / 1.18 GB, free: 50.8 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.553e-06/1.069, allocations: 0 / 1.18 GB, free: 50.8 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001495/1.069, allocations: 71.92 kB / 1.18 GB, free: 50.73 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 776 * Number of variables: 776 Notification: Performance of Generate backend data structure: time 0.006689/1.075, allocations: 2.512 MB / 1.182 GB, free: 48.15 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/1.075, allocations: 12.03 kB / 1.182 GB, free: 48.14 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004075/1.08, allocations: 0.6913 MB / 1.183 GB, free: 47.45 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003753/1.083, allocations: 1.613 MB / 1.185 GB, free: 45.79 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001374/1.083, allocations: 221.8 kB / 1.185 GB, free: 45.57 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008557/1.084, allocations: 291.9 kB / 1.185 GB, free: 45.29 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006482/1.091, allocations: 4.594 MB / 1.19 GB, free: 40.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.806e-05/1.091, allocations: 7.938 kB / 1.19 GB, free: 40.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002897/1.091, allocations: 124 kB / 1.19 GB, free: 40.38 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001486/1.091, allocations: 180.7 kB / 1.19 GB, free: 40.2 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005045/1.096, allocations: 3.756 MB / 1.194 GB, free: 36.42 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01901/1.115, allocations: 23.06 MB / 1.216 GB, free: 11.23 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002231/1.118, allocations: 1.574 MB / 1.218 GB, free: 9.613 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000116/1.118, allocations: 97.72 kB / 1.218 GB, free: 9.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.94e-05/1.118, allocations: 51.06 kB / 1.218 GB, free: 9.441 MB / 0.698 GB Notification: Performance of pre-optimization done (n=72): time 2.535e-06/1.118, allocations: 0 / 1.218 GB, free: 9.441 MB / 0.698 GB Notification: Performance of matching and sorting (n=75): time 0.004495/1.122, allocations: 3.537 MB / 1.221 GB, free: 5.875 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.023e-05/1.122, allocations: 141 kB / 1.221 GB, free: 5.703 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009762/1.123, allocations: 0.9341 MB / 1.222 GB, free: 4.766 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.02e-05/1.124, allocations: 41.7 kB / 1.222 GB, free: 4.719 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004182/1.124, allocations: 1.192 MB / 1.223 GB, free: 3.508 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001723/1.124, allocations: 276.2 kB / 1.224 GB, free: 3.234 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.551e-05/1.124, allocations: 24 kB / 1.224 GB, free: 3.211 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001081/1.124, allocations: 402.7 kB / 1.224 GB, free: 2.809 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008731/1.125, allocations: 0.7833 MB / 1.225 GB, free: 2.027 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001057/1.126, allocations: 1.283 MB / 1.226 GB, free: 0.5234 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001216/1.128, allocations: 0.9945 MB / 1.227 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.167e-06/1.128, allocations: 11.89 kB / 1.227 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003128/1.131, allocations: 2.152 MB / 1.229 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.002437/1.133, allocations: 5.496 MB / 1.235 GB, free: 7.434 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.425e-05/1.133, allocations: 20.12 kB / 1.235 GB, free: 7.414 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.934e-05/1.133, allocations: 24 kB / 1.235 GB, free: 7.391 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001584/1.135, allocations: 423.3 kB / 1.235 GB, free: 6.977 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.153e-05/1.135, allocations: 31.86 kB / 1.235 GB, free: 6.945 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001451/1.136, allocations: 255.2 kB / 1.235 GB, free: 6.695 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001069/1.136, allocations: 59.98 kB / 1.235 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.087e-06/1.136, allocations: 4 kB / 1.235 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002501/1.139, allocations: 1.75 MB / 1.237 GB, free: 4.879 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.426e-05/1.139, allocations: 12 kB / 1.237 GB, free: 4.867 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/1.139, allocations: 24.09 kB / 1.237 GB, free: 4.844 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001198/1.14, allocations: 367.3 kB / 1.237 GB, free: 4.484 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.564e-05/1.14, allocations: 31.89 kB / 1.238 GB, free: 4.453 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001007/1.141, allocations: 179.3 kB / 1.238 GB, free: 4.277 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.745e-05/1.141, allocations: 60 kB / 1.238 GB, free: 4.219 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (156): * Single equations (assignments): 156 * 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.002006/1.143, allocations: 1.168 MB / 1.239 GB, free: 3.039 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002552/1.144, allocations: 98.78 kB / 1.239 GB, free: 2.941 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002314/1.146, allocations: 1.51 MB / 1.24 GB, free: 1.422 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.458e-06/1.146, allocations: 12 kB / 1.24 GB, free: 1.41 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.747e-06/1.146, allocations: 3.953 kB / 1.24 GB, free: 1.406 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/1.146, allocations: 7.984 kB / 1.24 GB, free: 1.398 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009895/1.156, allocations: 7.277 MB / 1.248 GB, free: 9.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.087e-05/1.156, allocations: 8 kB / 1.248 GB, free: 9.902 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009804/1.157, allocations: 259.5 kB / 1.248 GB, free: 9.648 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.486e-05/1.157, allocations: 12 kB / 1.248 GB, free: 9.637 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.338e-05/1.157, allocations: 27.98 kB / 1.248 GB, free: 9.609 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.418e-05/1.157, allocations: 15.94 kB / 1.248 GB, free: 9.594 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.106e-06/1.157, allocations: 20.09 kB / 1.248 GB, free: 9.574 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002467/1.16, allocations: 2.414 MB / 1.25 GB, free: 6.805 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007388/1.16, allocations: 375.5 kB / 1.251 GB, free: 6.418 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001375/1.16, allocations: 24 kB / 1.251 GB, free: 6.395 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008537/1.161, allocations: 135.8 kB / 1.251 GB, free: 6.262 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001455/1.161, allocations: 79.7 kB / 1.251 GB, free: 6.184 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.946e-05/1.162, allocations: 28 kB / 1.251 GB, free: 6.156 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0008688/1.162, allocations: 0.7142 MB / 1.252 GB, free: 5.43 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.7e-07/1.162, allocations: 4 kB / 1.252 GB, free: 5.426 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.002455/1.165, allocations: 0.8242 MB / 1.252 GB, free: 4.602 MB / 0.7292 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 (78): * Single equations (assignments): 78 * 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.0002249/1.165, allocations: 150.9 kB / 1.253 GB, free: 4.445 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.00364/1.169, allocations: 2.644 MB / 1.255 GB, free: 1.805 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/1.169, allocations: 3.938 kB / 1.255 GB, free: 1.801 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0009792/1.17, allocations: 0.7355 MB / 1.256 GB, free: 1.066 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001202/1.171, allocations: 256.8 kB / 1.256 GB, free: 0.8203 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008091/1.179, allocations: 5.671 MB / 1.262 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00204/1.181, allocations: 2.179 MB / 1.264 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.00189/1.183, allocations: 0.7305 MB / 1.264 GB, free: 8.066 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002989/1.183, allocations: 79.42 kB / 1.265 GB, free: 7.988 MB / 0.7448 GB Notification: Performance of SimCode: time 6.01e-07/1.183, allocations: 0 / 1.265 GB, free: 7.988 MB / 0.7448 GB Notification: Performance of Templates: time 0.02585/1.209, allocations: 15.12 MB / 1.279 GB, free: 9.008 MB / 0.7605 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches