Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vavBra.yVAV|vavBra.yVal|TSupAir.y|vavBra.terHea.sta_b1.T|vavBra.senMasFlo.m_flow",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch") translateModel(Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vavBra.yVAV|vavBra.yVal|TSupAir.y|vavBra.terHea.sta_b1.T|vavBra.senMasFlo.m_flow",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.356/2.356, allocations: 390.3 MB / 402.8 MB, free: 6.68 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.001169/0.001169, allocations: 176.9 kB / 496.1 MB, free: 12.84 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.608/1.608, allocations: 221.3 MB / 0.7915 GB, free: 5.367 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.0008775/0.0008776, allocations: 87.95 kB / 0.9317 GB, free: 5.676 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.96e-05/4.963e-05, allocations: 0 / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3118/0.3119, allocations: 143 MB / 1.219 GB, free: 13.49 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.61/6.922, allocations: 2.189 GB / 3.407 GB, free: 76.28 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002706/6.922, allocations: 97.75 kB / 3.408 GB, free: 76.19 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 4.536/11.46, allocations: 1.048 GB / 4.456 GB, free: 195.7 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.296e-06/11.46, allocations: 0 / 4.456 GB, free: 195.7 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.000378/11.46, allocations: 41.89 kB / 4.456 GB, free: 195.7 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.01131/11.47, allocations: 2.357 MB / 4.458 GB, free: 194.9 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.119e-05/11.47, allocations: 10.41 kB / 4.458 GB, free: 194.9 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003842/11.47, allocations: 0.5013 MB / 4.459 GB, free: 194.8 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006349/11.48, allocations: 2.044 MB / 4.461 GB, free: 194.5 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000752/11.48, allocations: 234.1 kB / 4.461 GB, free: 194.5 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008627/11.48, allocations: 131.6 kB / 4.461 GB, free: 194.5 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003227/11.48, allocations: 1.467 MB / 4.463 GB, free: 194.3 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.43e-05/11.48, allocations: 3.406 kB / 4.463 GB, free: 194.3 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001286/11.49, allocations: 41.25 kB / 4.463 GB, free: 194.3 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.546e-05/11.49, allocations: 51.84 kB / 4.463 GB, free: 194.3 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002554/11.49, allocations: 1.439 MB / 4.464 GB, free: 194.3 MB / 1.167 GB Warning: The model contains alias variables with conflicting start and/or 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.01409/11.5, allocations: 7.982 MB / 4.472 GB, free: 191.4 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001789/11.5, allocations: 1.184 MB / 4.473 GB, free: 191.3 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000791/11.5, allocations: 0.5711 MB / 4.474 GB, free: 191.3 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007381/11.51, allocations: 0.7121 MB / 4.474 GB, free: 190.5 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.55e-05/11.51, allocations: 47.72 kB / 4.474 GB, free: 190.5 MB / 1.167 GB Notification: Performance of pre-optimization done (n=70): time 4.519e-06/11.51, allocations: 0 / 4.474 GB, free: 190.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=70): time 0.002962/11.51, allocations: 1.263 MB / 4.476 GB, free: 190.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.58e-05/11.51, allocations: 116.9 kB / 4.476 GB, free: 190.2 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003106/11.51, allocations: 1.805 MB / 4.477 GB, free: 190.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0004651/11.51, allocations: 53.73 kB / 4.477 GB, free: 190 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008072/11.51, allocations: 0.7091 MB / 4.478 GB, free: 189.8 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002576/11.51, allocations: 241.8 kB / 4.478 GB, free: 189.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001361/11.51, allocations: 26.47 kB / 4.478 GB, free: 189.7 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001537/11.51, allocations: 355.9 kB / 4.479 GB, free: 189.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00165/11.51, allocations: 1.122 MB / 4.48 GB, free: 189.4 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001857/11.52, allocations: 1.509 MB / 4.481 GB, free: 189 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001426/11.52, allocations: 1.012 MB / 4.482 GB, free: 189 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/11.52, allocations: 0 / 4.482 GB, free: 189 MB / 1.167 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.004471/11.52, allocations: 2.59 MB / 4.485 GB, free: 188.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007054/11.52, allocations: 2.778 MB / 4.488 GB, free: 185.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.935e-05/11.52, allocations: 11.06 kB / 4.488 GB, free: 185.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.557e-05/11.52, allocations: 14.84 kB / 4.488 GB, free: 185.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001896/11.53, allocations: 391.1 kB / 4.488 GB, free: 185.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.421e-05/11.53, allocations: 18.84 kB / 4.488 GB, free: 185.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002617/11.53, allocations: 323.7 kB / 4.488 GB, free: 185.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002325/11.53, allocations: 87.47 kB / 4.488 GB, free: 185.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/11.53, allocations: 3.25 kB / 4.488 GB, free: 185.8 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00379/11.53, allocations: 2.425 MB / 4.491 GB, free: 185.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.486e-05/11.53, allocations: 7.812 kB / 4.491 GB, free: 185.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.316e-05/11.53, allocations: 11.75 kB / 4.491 GB, free: 185.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00181/11.53, allocations: 401.9 kB / 4.491 GB, free: 185.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.624e-05/11.53, allocations: 18.61 kB / 4.491 GB, free: 185.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002516/11.54, allocations: 272.1 kB / 4.491 GB, free: 185.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002655/11.54, allocations: 93.16 kB / 4.491 GB, free: 185.8 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 15 (vavBra.vav.idx_sorted[1],vavBra.vav.idx_sorted[2],vavBra.vav.idx_sorted[3],vavBra.vav.idx_sorted[4],vavBra.vav.idx_sorted[5],vavBra.vav.idx_sorted[6],vavBra.vav.idx_sorted[7],vavBra.vav.idx_sorted[8],vavBra.vav.idx_sorted[9],vavBra.vav.idx_sorted[10],vavBra.vav.idx_sorted[11],vavBra.vav.idx_sorted[12],vavBra.vav.idx_sorted[13],vavBra.terHea.flowRegime,vavBra.terHea.flowRegime_nominal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (161): * Single equations (assignments): 160 * Array equations: 1 * 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.0004678/11.54, allocations: 192.3 kB / 4.492 GB, free: 185.7 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006973/11.54, allocations: 173.1 kB / 4.492 GB, free: 185.6 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002805/11.54, allocations: 1.437 MB / 4.493 GB, free: 185.5 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.567e-05/11.54, allocations: 6.812 kB / 4.493 GB, free: 185.5 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/11.54, allocations: 3.812 kB / 4.493 GB, free: 185.5 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.169e-05/11.54, allocations: 7.172 kB / 4.493 GB, free: 185.5 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00654/11.55, allocations: 3.515 MB / 4.497 GB, free: 184.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.458e-06/11.55, allocations: 3.844 kB / 4.497 GB, free: 184.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001113/11.55, allocations: 234.6 kB / 4.497 GB, free: 184.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.661e-05/11.55, allocations: 7.781 kB / 4.497 GB, free: 184.9 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.956e-05/11.55, allocations: 38.92 kB / 4.497 GB, free: 184.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.346e-05/11.55, allocations: 13.28 kB / 4.497 GB, free: 184.9 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/11.55, allocations: 3.719 kB / 4.497 GB, free: 184.9 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003615/11.55, allocations: 2.429 MB / 4.499 GB, free: 184.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001656/11.55, allocations: 0.5176 MB / 4.5 GB, free: 184.2 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007205/11.55, allocations: 13.81 kB / 4.5 GB, free: 184.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002131/11.56, allocations: 151.4 kB / 4.5 GB, free: 184.2 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001869/11.56, allocations: 63.39 kB / 4.5 GB, free: 184.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001475/11.56, allocations: 58.17 kB / 4.5 GB, free: 184.2 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.003258/11.56, allocations: 1.359 MB / 4.501 GB, free: 184.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 5.71e-07/11.56, allocations: 7.5 kB / 4.501 GB, free: 184.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.007148/11.57, allocations: 1.265 MB / 4.503 GB, free: 184 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (vavBra.vav.filter.s[1],vavBra.vav.filter.s[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.005611/11.57, allocations: 2.48 MB / 4.505 GB, free: 183.2 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.006753/11.58, allocations: 3.455 MB / 4.508 GB, free: 183.2 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 8.926e-06/11.58, allocations: 2.75 kB / 4.508 GB, free: 183.2 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001013/11.58, allocations: 0.5813 MB / 4.509 GB, free: 183.2 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004301/11.59, allocations: 0.6526 MB / 4.51 GB, free: 183.2 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005746/11.59, allocations: 2.303 MB / 4.512 GB, free: 182.6 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00111/11.59, allocations: 1.345 MB / 4.513 GB, free: 181.9 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.004797/11.6, allocations: 0.7809 MB / 4.514 GB, free: 181.8 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007469/11.6, allocations: 113.4 kB / 4.514 GB, free: 181.8 MB / 1.167 GB Notification: Performance of SimCode: time 1.824e-06/11.6, allocations: 0 / 4.514 GB, free: 181.8 MB / 1.167 GB Notification: Performance of Templates: time 0.1052/11.7, allocations: 68.31 MB / 4.581 GB, free: 179.2 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.makefile (rm -f Buildings_latest_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.sim & ./Buildings_latest_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Obsolete_Examples_VAVReheat_Validation_VAVBranch.csv","../files/Buildings_latest_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches