Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1") translateModel(Buildings.Examples.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001436/0.001436, allocations: 100.5 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001443/0.001443, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 223.2 MB / 239.9 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.761/2.761, allocations: 436.5 MB / 0.7104 GB, free: 7.895 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000439/0.000439, allocations: 12 kB / 0.8707 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8484/0.8488, allocations: 153.7 MB / 1.021 GB, free: 1.211 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.1695/1.018, allocations: 136.3 MB / 1.154 GB, free: 8.52 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.005193/1.024, allocations: 2.863 MB / 1.157 GB, free: 5.648 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006033/1.024, allocations: 11.94 kB / 1.157 GB, free: 5.637 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0008234/1.025, allocations: 215 kB / 1.157 GB, free: 5.426 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.002389/1.027, allocations: 0.7362 MB / 1.158 GB, free: 4.688 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001351/1.029, allocations: 428.3 kB / 1.158 GB, free: 4.273 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001037/1.03, allocations: 0.5541 MB / 1.159 GB, free: 3.719 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003512/1.03, allocations: 185.7 kB / 1.159 GB, free: 3.535 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004479/1.031, allocations: 255.1 kB / 1.159 GB, free: 3.285 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002923/1.031, allocations: 183.2 kB / 1.159 GB, free: 3.105 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 3.4e-05/1.031, allocations: 15.94 kB / 1.159 GB, free: 3.09 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007608/1.032, allocations: 283.6 kB / 1.16 GB, free: 2.812 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001271/1.032, allocations: 103.6 kB / 1.16 GB, free: 2.711 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.000102/1.032, allocations: 101.5 kB / 1.16 GB, free: 2.605 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0006377/1.033, allocations: 482.7 kB / 1.16 GB, free: 2.133 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/1.033, allocations: 0 / 1.16 GB, free: 2.133 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.274e-06/1.033, allocations: 0 / 1.16 GB, free: 2.133 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.05e-05/1.033, allocations: 0 / 1.16 GB, free: 2.133 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001192/1.034, allocations: 0.6524 MB / 1.161 GB, free: 1.434 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/1.034, allocations: 15.98 kB / 1.161 GB, free: 1.418 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00105/1.035, allocations: 135.4 kB / 1.161 GB, free: 1.285 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005891/1.036, allocations: 382.7 kB / 1.161 GB, free: 0.8711 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.8e-05/1.036, allocations: 24.55 kB / 1.161 GB, free: 0.8477 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001064/1.036, allocations: 24 kB / 1.161 GB, free: 0.8242 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004613/1.036, allocations: 271.6 kB / 1.162 GB, free: 0.5469 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/1.036, allocations: 0 / 1.162 GB, free: 0.5469 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.317e-05/1.036, allocations: 11.98 kB / 1.162 GB, free: 0.5352 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.156e-05/1.036, allocations: 12.52 kB / 1.162 GB, free: 0.5234 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003894/1.037, allocations: 194.1 kB / 1.162 GB, free: 340 kB / 0.9044 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001773/1.039, allocations: 1.323 MB / 1.163 GB, free: 14.87 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003833/1.039, allocations: 194.8 kB / 1.163 GB, free: 14.67 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.374e-05/1.039, allocations: 0 / 1.163 GB, free: 14.67 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/1.039, allocations: 46.55 kB / 1.163 GB, free: 14.61 MB / 0.92 GB Notification: Performance of pre-optimization done (n=19): time 1.522e-06/1.039, allocations: 0 / 1.163 GB, free: 14.61 MB / 0.92 GB Notification: Performance of matching and sorting (n=19): time 0.0009399/1.04, allocations: 403.3 kB / 1.164 GB, free: 14.19 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.5e-05/1.04, allocations: 51.41 kB / 1.164 GB, free: 14.13 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003146/1.04, allocations: 300.5 kB / 1.164 GB, free: 13.82 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 6.605e-05/1.04, allocations: 29.7 kB / 1.164 GB, free: 13.79 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.000161/1.041, allocations: 196 kB / 1.164 GB, free: 13.59 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 6.927e-05/1.041, allocations: 67.05 kB / 1.164 GB, free: 13.53 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.989e-06/1.041, allocations: 4 kB / 1.164 GB, free: 13.52 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001319/1.041, allocations: 338.8 kB / 1.165 GB, free: 13.18 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001071/1.041, allocations: 67.91 kB / 1.165 GB, free: 13.12 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001547/1.041, allocations: 121.8 kB / 1.165 GB, free: 12.98 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001301/1.041, allocations: 89.48 kB / 1.165 GB, free: 12.89 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/1.041, allocations: 0 / 1.165 GB, free: 12.89 MB / 0.92 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003903/1.042, allocations: 242.5 kB / 1.165 GB, free: 12.65 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/1.042, allocations: 12.12 kB / 1.165 GB, free: 12.64 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/1.042, allocations: 4 kB / 1.165 GB, free: 12.63 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/1.042, allocations: 4 kB / 1.165 GB, free: 12.63 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001836/1.042, allocations: 39.98 kB / 1.165 GB, free: 12.59 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.133e-05/1.042, allocations: 11.88 kB / 1.165 GB, free: 12.58 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002805/1.042, allocations: 23.83 kB / 1.165 GB, free: 12.55 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.454e-05/1.042, allocations: 4 kB / 1.165 GB, free: 12.55 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (26): * Single equations (assignments): 26 * 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.0001633/1.042, allocations: 161.8 kB / 1.165 GB, free: 12.38 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.866e-05/1.042, allocations: 35.58 kB / 1.165 GB, free: 12.35 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.797e-05/1.043, allocations: 35.08 kB / 1.165 GB, free: 12.32 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.746e-06/1.043, allocations: 7.984 kB / 1.165 GB, free: 12.31 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/1.043, allocations: 3.938 kB / 1.165 GB, free: 12.3 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/1.043, allocations: 0 / 1.165 GB, free: 12.3 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005319/1.043, allocations: 409.2 kB / 1.166 GB, free: 11.86 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/1.043, allocations: 0 / 1.166 GB, free: 11.86 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001686/1.043, allocations: 31.98 kB / 1.166 GB, free: 11.82 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002067/1.043, allocations: 48.83 kB / 1.166 GB, free: 11.77 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.522e-05/1.044, allocations: 3.953 kB / 1.166 GB, free: 11.77 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001408/1.045, allocations: 1.417 MB / 1.167 GB, free: 10.22 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/1.045, allocations: 0 / 1.167 GB, free: 10.22 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005339/1.045, allocations: 397.7 kB / 1.168 GB, free: 9.816 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000143/1.046, allocations: 124.8 kB / 1.168 GB, free: 9.676 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.161e-05/1.046, allocations: 7.984 kB / 1.168 GB, free: 9.668 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002687/1.046, allocations: 15.97 kB / 1.168 GB, free: 9.652 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.182e-05/1.046, allocations: 15.98 kB / 1.168 GB, free: 9.637 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.879e-05/1.046, allocations: 11.98 kB / 1.168 GB, free: 9.625 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0002571/1.046, allocations: 211.1 kB / 1.168 GB, free: 9.422 MB / 0.92 GB Notification: Performance of sort global known variables: time 9e-08/1.046, allocations: 3.938 kB / 1.168 GB, free: 9.418 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0004297/1.047, allocations: 103.8 kB / 1.168 GB, free: 9.316 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m) * 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 (17): * Single equations (assignments): 16 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001873/1.047, allocations: 119.5 kB / 1.168 GB, free: 9.188 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002765/1.047, allocations: 159.8 kB / 1.168 GB, free: 9.031 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/1.047, allocations: 384 / 1.168 GB, free: 9.031 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0003111/1.048, allocations: 204 kB / 1.169 GB, free: 8.82 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008912/1.048, allocations: 174.9 kB / 1.169 GB, free: 8.652 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001316/1.05, allocations: 0.9621 MB / 1.17 GB, free: 7.66 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004345/1.05, allocations: 0.804 MB / 1.171 GB, free: 6.832 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0002823/1.051, allocations: 59.23 kB / 1.171 GB, free: 6.777 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.945e-05/1.051, allocations: 27.44 kB / 1.171 GB, free: 6.75 MB / 0.92 GB Notification: Performance of SimCode: time 3.5e-07/1.051, allocations: 0 / 1.171 GB, free: 6.75 MB / 0.92 GB Notification: Performance of Templates: time 0.01115/1.062, allocations: 5.619 MB / 1.176 GB, free: 1.223 MB / 0.92 GB make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.makefile (rm -f Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & ./Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SpaceCooling_System1.csv","../files/Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches