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.637/2.637, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.001212/0.001213, allocations: 172 kB / 0.4902 GB, free: 2.273 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.757/1.757, allocations: 223.1 MB / 0.7992 GB, free: 15.64 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.001002/0.001001, allocations: 88.34 kB / 0.9396 GB, free: 2.844 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004955/0.0004955, allocations: 9.641 kB / 1.09 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3578/0.3583, allocations: 143 MB / 1.229 GB, free: 85.49 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.596/6.955, allocations: 2.189 GB / 3.418 GB, free: 180.2 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003602/6.955, allocations: 95.81 kB / 3.418 GB, free: 180.1 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.947/10.9, allocations: 1.05 GB / 4.468 GB, free: 20.98 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.206e-06/10.9, allocations: 0 / 4.468 GB, free: 20.98 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001871/10.9, allocations: 39.98 kB / 4.468 GB, free: 20.95 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.0122/10.91, allocations: 2.795 MB / 4.471 GB, free: 18.09 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.663e-05/10.91, allocations: 12.03 kB / 4.471 GB, free: 18.08 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004415/10.92, allocations: 0.5049 MB / 4.471 GB, free: 17.58 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00639/10.93, allocations: 2.066 MB / 4.473 GB, free: 15.46 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006806/10.93, allocations: 234.8 kB / 4.473 GB, free: 15.23 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007043/10.93, allocations: 124 kB / 4.474 GB, free: 15.11 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003324/10.93, allocations: 1.655 MB / 4.475 GB, free: 13.39 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.8e-05/10.93, allocations: 3.938 kB / 4.475 GB, free: 13.39 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001224/10.93, allocations: 43.95 kB / 4.475 GB, free: 13.34 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.846e-05/10.93, allocations: 45.98 kB / 4.475 GB, free: 13.3 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003705/10.93, allocations: 1.784 MB / 4.477 GB, free: 11.51 MB / 1.167 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.01582/10.95, allocations: 7.976 MB / 4.485 GB, free: 3.18 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003303/10.95, allocations: 1.529 MB / 4.486 GB, free: 1.617 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007852/10.95, allocations: 0.7083 MB / 4.487 GB, free: 0.7617 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.964e-05/10.95, allocations: 51.11 kB / 4.487 GB, free: 0.7031 MB / 1.167 GB Notification: Performance of pre-optimization done (n=70): time 3.807e-06/10.95, allocations: 0 / 4.487 GB, free: 0.7031 MB / 1.167 GB Notification: Performance of matching and sorting (n=70): time 0.006712/10.96, allocations: 2.254 MB / 4.489 GB, free: 14.44 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001188/10.96, allocations: 111.4 kB / 4.489 GB, free: 14.3 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005314/10.97, allocations: 1.834 MB / 4.491 GB, free: 12.48 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.0007826/10.97, allocations: 49.7 kB / 4.491 GB, free: 12.42 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.001511/10.97, allocations: 0.7174 MB / 4.492 GB, free: 11.7 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006611/10.97, allocations: 244.5 kB / 4.492 GB, free: 11.45 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000587/10.97, allocations: 24 kB / 4.492 GB, free: 11.43 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.000323/10.97, allocations: 361.9 kB / 4.493 GB, free: 11.07 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003843/10.97, allocations: 1.295 MB / 4.494 GB, free: 9.777 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003971/10.98, allocations: 1.688 MB / 4.495 GB, free: 7.941 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003148/10.98, allocations: 1.191 MB / 4.497 GB, free: 6.754 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-05/10.98, allocations: 0 / 4.497 GB, free: 6.754 MB / 1.182 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.009078/10.99, allocations: 2.937 MB / 4.499 GB, free: 3.801 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.001876/10.99, allocations: 2.777 MB / 4.502 GB, free: 0.7578 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-05/10.99, allocations: 8 kB / 4.502 GB, free: 0.75 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.717e-05/10.99, allocations: 12 kB / 4.502 GB, free: 0.7383 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002743/11, allocations: 399.5 kB / 4.503 GB, free: 356 kB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-05/11, allocations: 15.94 kB / 4.503 GB, free: 340 kB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003717/11, allocations: 309.9 kB / 4.503 GB, free: 28 kB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.999/12, allocations: 87.7 kB / 4.503 GB, free: 198.4 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 3.155e-05/12, allocations: 4.906 kB / 4.503 GB, free: 198.4 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008381/12.01, allocations: 2.77 MB / 4.506 GB, free: 198.3 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.047e-05/12.01, allocations: 10.38 kB / 4.506 GB, free: 198.3 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.204e-05/12.01, allocations: 13.34 kB / 4.506 GB, free: 198.3 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002438/12.01, allocations: 396.1 kB / 4.506 GB, free: 198.3 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.702e-05/12.01, allocations: 18.03 kB / 4.506 GB, free: 198.3 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003417/12.01, allocations: 276 kB / 4.506 GB, free: 198.3 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003943/12.01, allocations: 91.36 kB / 4.506 GB, free: 198.3 MB / 1.182 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 () * Number of clocked 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.002338/12.02, allocations: 0.5315 MB / 4.507 GB, free: 198.1 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00126/12.02, allocations: 169.1 kB / 4.507 GB, free: 198.1 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005775/12.02, allocations: 1.766 MB / 4.509 GB, free: 198.1 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.719e-05/12.02, allocations: 12.52 kB / 4.509 GB, free: 198.1 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.518e-06/12.02, allocations: 2.625 kB / 4.509 GB, free: 198.1 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.706e-05/12.02, allocations: 8.172 kB / 4.509 GB, free: 198.1 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01084/12.03, allocations: 3.845 MB / 4.513 GB, free: 197.6 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-05/12.03, allocations: 4.094 kB / 4.513 GB, free: 197.6 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001303/12.03, allocations: 236.5 kB / 4.513 GB, free: 197.6 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.399e-05/12.03, allocations: 6.094 kB / 4.513 GB, free: 197.6 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001085/12.03, allocations: 31.11 kB / 4.513 GB, free: 197.6 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-05/12.03, allocations: 5.969 kB / 4.513 GB, free: 197.6 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.965e-06/12.04, allocations: 7.375 kB / 4.513 GB, free: 197.6 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007602/12.04, allocations: 2.931 MB / 4.516 GB, free: 197.1 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002281/12.04, allocations: 0.5084 MB / 4.516 GB, free: 196.9 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003303/12.05, allocations: 17.7 kB / 4.516 GB, free: 196.9 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001723/12.05, allocations: 165.1 kB / 4.516 GB, free: 196.9 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000231/12.05, allocations: 55.27 kB / 4.516 GB, free: 196.9 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001788/12.05, allocations: 54.8 kB / 4.517 GB, free: 196.9 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.003295/12.05, allocations: 1.395 MB / 4.518 GB, free: 196.8 MB / 1.182 GB Notification: Performance of sort global known variables: time 1.7e-07/12.05, allocations: 0 / 4.518 GB, free: 196.8 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.007428/12.06, allocations: 1.263 MB / 4.519 GB, free: 196.8 MB / 1.182 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 () * Number of clocked 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.00596/12.06, allocations: 2.485 MB / 4.522 GB, free: 196.1 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.01037/12.07, allocations: 3.922 MB / 4.525 GB, free: 196.1 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 1.508e-05/12.07, allocations: 5.062 kB / 4.525 GB, free: 196.1 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.002072/12.08, allocations: 0.7441 MB / 4.526 GB, free: 196.1 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004012/12.08, allocations: 0.6445 MB / 4.527 GB, free: 196.1 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008829/12.09, allocations: 3.494 MB / 4.53 GB, free: 194.6 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001409/12.09, allocations: 1.339 MB / 4.531 GB, free: 193.9 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.005001/12.1, allocations: 0.6086 MB / 4.532 GB, free: 193.9 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007875/12.1, allocations: 144.4 kB / 4.532 GB, free: 193.9 MB / 1.182 GB Notification: Performance of SimCode: time 1.453e-06/12.1, allocations: 2.062 kB / 4.532 GB, free: 193.9 MB / 1.182 GB Notification: Performance of Templates: time 0.1015/12.2, allocations: 60.86 MB / 4.592 GB, free: 192.6 MB / 1.182 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