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.462/1.462, allocations: 249.5 MB / 257 MB, free: 6.922 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.00111/0.00111, allocations: 176.9 kB / 316.3 MB, free: 3.301 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.566/1.566, allocations: 205.3 MB / 0.5671 GB, free: 15.84 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.0008065/0.0008064, allocations: 85.55 kB / 0.6714 GB, free: 4.961 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.297e-05/1.3e-05, allocations: 0 / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2072/0.2072, allocations: 106.3 MB / 0.8852 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.755/0.9622, allocations: 175 MB / 1.056 GB, free: 12.87 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003188/0.9626, allocations: 102.7 kB / 1.056 GB, free: 12.82 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.3698/1.332, allocations: 159.1 MB / 1.212 GB, free: 6.578 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.094e-06/1.332, allocations: 0 / 1.212 GB, free: 6.578 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0002326/1.333, allocations: 104 kB / 1.212 GB, free: 6.477 MB / 0.823 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.01165/1.344, allocations: 3.343 MB / 1.215 GB, free: 3.07 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/1.344, allocations: 11.97 kB / 1.215 GB, free: 3.059 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006476/1.351, allocations: 0.9589 MB / 1.216 GB, free: 2.094 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00575/1.357, allocations: 2.295 MB / 1.218 GB, free: 15.75 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000185/1.357, allocations: 140 kB / 1.218 GB, free: 15.62 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001261/1.358, allocations: 248 kB / 1.218 GB, free: 15.38 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009678/1.368, allocations: 4.609 MB / 1.223 GB, free: 10.76 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01146/1.379, allocations: 6 MB / 1.229 GB, free: 4.531 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.074e-05/1.379, allocations: 11.84 kB / 1.229 GB, free: 4.52 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003865/1.38, allocations: 7.938 kB / 1.229 GB, free: 4.512 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002798/1.38, allocations: 255 kB / 1.229 GB, free: 4.262 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03765/1.418, allocations: 31.14 MB / 1.26 GB, free: 2.293 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003042/1.421, allocations: 1.828 MB / 1.261 GB, free: 436 kB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.4997/1.921, allocations: 1.042 MB / 1.262 GB, free: 227.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001752/1.921, allocations: 97.31 kB / 1.262 GB, free: 227.4 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.285e-05/1.921, allocations: 47.69 kB / 1.262 GB, free: 227.4 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=86): time 3.416e-06/1.921, allocations: 4.531 kB / 1.262 GB, free: 227.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=89): time 0.007281/1.928, allocations: 4.022 MB / 1.266 GB, free: 225.9 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.347e-05/1.928, allocations: 138.2 kB / 1.267 GB, free: 225.8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002025/1.93, allocations: 1.297 MB / 1.268 GB, free: 225.6 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 9.482e-05/1.93, allocations: 26.45 kB / 1.268 GB, free: 225.6 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001173/1.932, allocations: 1.915 MB / 1.27 GB, free: 224.7 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003044/1.932, allocations: 323.1 kB / 1.27 GB, free: 224.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/1.932, allocations: 0.6875 kB / 1.27 GB, free: 224.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000155/1.932, allocations: 393.3 kB / 1.27 GB, free: 224.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001534/1.934, allocations: 1.046 MB / 1.271 GB, free: 224.2 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002149/1.936, allocations: 2.098 MB / 1.273 GB, free: 222.9 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002839/1.939, allocations: 1.614 MB / 1.275 GB, free: 222.9 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.341e-05/1.939, allocations: 10.59 kB / 1.275 GB, free: 222.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.005624/1.944, allocations: 3.159 MB / 1.278 GB, free: 222.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.00252/1.947, allocations: 13.42 MB / 1.291 GB, free: 208.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.21e-05/1.947, allocations: 39.22 kB / 1.291 GB, free: 208.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00011/1.947, allocations: 52.78 kB / 1.291 GB, free: 208.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002522/1.95, allocations: 0.6276 MB / 1.292 GB, free: 208.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.828e-05/1.95, allocations: 75.86 kB / 1.292 GB, free: 208.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002586/1.952, allocations: 324.9 kB / 1.292 GB, free: 208.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002224/1.953, allocations: 113.4 kB / 1.292 GB, free: 208.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/1.953, allocations: 4.125 kB / 1.292 GB, free: 208.8 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004464/1.957, allocations: 2.567 MB / 1.295 GB, free: 208.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-05/1.957, allocations: 34.66 kB / 1.295 GB, free: 208.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.231e-05/1.957, allocations: 51.41 kB / 1.295 GB, free: 208.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001944/1.959, allocations: 0.5587 MB / 1.296 GB, free: 208.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.338e-05/1.959, allocations: 70.7 kB / 1.296 GB, free: 208.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001864/1.961, allocations: 204.4 kB / 1.296 GB, free: 208.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001811/1.961, allocations: 109.5 kB / 1.296 GB, free: 208.7 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.0005791/1.962, allocations: 195 kB / 1.296 GB, free: 208.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004201/1.962, allocations: 150 kB / 1.296 GB, free: 208.5 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003217/1.966, allocations: 1.87 MB / 1.298 GB, free: 208.4 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.678e-05/1.966, allocations: 14.53 kB / 1.298 GB, free: 208.4 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/1.966, allocations: 1.922 kB / 1.298 GB, free: 208.4 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.495e-05/1.966, allocations: 5.453 kB / 1.298 GB, free: 208.4 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01164/1.977, allocations: 6.609 MB / 1.305 GB, free: 207.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.281e-05/1.977, allocations: 9.562 kB / 1.305 GB, free: 207.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001403/1.979, allocations: 341.1 kB / 1.305 GB, free: 207.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.979e-05/1.979, allocations: 11.62 kB / 1.305 GB, free: 207.5 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-05/1.979, allocations: 10.52 kB / 1.305 GB, free: 207.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-05/1.979, allocations: 14.97 kB / 1.305 GB, free: 207.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.427e-05/1.979, allocations: 11.81 kB / 1.305 GB, free: 207.5 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003043/1.982, allocations: 2.698 MB / 1.308 GB, free: 206.3 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000815/1.983, allocations: 451.5 kB / 1.308 GB, free: 206.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002093/1.983, allocations: 9.281 kB / 1.308 GB, free: 206.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001041/1.984, allocations: 148.7 kB / 1.308 GB, free: 206.1 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001556/1.984, allocations: 74.95 kB / 1.308 GB, free: 206.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.995e-05/1.984, allocations: 31.53 kB / 1.308 GB, free: 206.1 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001415/1.986, allocations: 0.9422 MB / 1.309 GB, free: 206 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5.81e-07/1.986, allocations: 0 / 1.309 GB, free: 206 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.006378/1.992, allocations: 1.128 MB / 1.31 GB, free: 206 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.0002605/1.992, allocations: 146.9 kB / 1.31 GB, free: 205.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.005409/1.998, allocations: 3.592 MB / 1.314 GB, free: 205.9 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/1.998, allocations: 0 / 1.314 GB, free: 205.9 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008797/1.999, allocations: 0.8507 MB / 1.315 GB, free: 205.9 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001938/2.001, allocations: 352 kB / 1.315 GB, free: 205.9 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008956/2.01, allocations: 5.4 MB / 1.32 GB, free: 204.6 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00233/2.012, allocations: 2.926 MB / 1.323 GB, free: 203.8 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002993/2.015, allocations: 1.245 MB / 1.324 GB, free: 203.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003642/2.015, allocations: 112.2 kB / 1.325 GB, free: 203.8 MB / 0.8698 GB Notification: Performance of SimCode: time 6.81e-07/2.015, allocations: 0 / 1.325 GB, free: 203.8 MB / 0.8698 GB Notification: Performance of Templates: time 0.03192/2.047, allocations: 22.33 MB / 1.346 GB, free: 202.8 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