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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 100.2 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.001673/0.001673, allocations: 177.3 kB / 15.95 MB, free: 216 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.449/1.449, allocations: 223.2 MB / 239.9 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.814/2.814, allocations: 436.5 MB / 0.7104 GB, free: 7.797 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003662/0.0003662, allocations: 8 kB / 0.8708 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9412/0.9416, allocations: 153.6 MB / 1.021 GB, free: 1.047 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch): time 0.2533/1.195, allocations: 179.4 MB / 1.196 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01959/1.215, allocations: 11.59 MB / 1.207 GB, free: 1.617 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00306/1.218, allocations: 43.69 kB / 1.207 GB, free: 1.574 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.003283/1.221, allocations: 0.7386 MB / 1.208 GB, free: 0.832 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.01045/1.232, allocations: 2.274 MB / 1.21 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.007074/1.239, allocations: 1.953 MB / 1.212 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.006711/1.245, allocations: 2.312 MB / 1.214 GB, free: 10.31 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002614/1.248, allocations: 1.138 MB / 1.216 GB, free: 9.148 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005135/1.253, allocations: 1.69 MB / 1.217 GB, free: 7.453 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002622/1.256, allocations: 1.187 MB / 1.218 GB, free: 6.262 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0003919/1.256, allocations: 88 kB / 1.218 GB, free: 6.176 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005564/1.262, allocations: 2.305 MB / 1.221 GB, free: 3.867 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0008022/1.263, allocations: 0.5179 MB / 1.221 GB, free: 3.348 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0008693/1.263, allocations: 400.8 kB / 1.222 GB, free: 2.949 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.006425/1.27, allocations: 3.531 MB / 1.225 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/1.27, allocations: 0 / 1.225 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of FrontEnd: time 4.158e-06/1.27, allocations: 0 / 1.225 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.355e-05/1.27, allocations: 0 / 1.225 GB, free: 15.41 MB / 0.9825 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.007424/1.278, allocations: 2.35 MB / 1.227 GB, free: 13 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.967e-05/1.278, allocations: 11.98 kB / 1.227 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002948/1.281, allocations: 0.5168 MB / 1.228 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003989/1.285, allocations: 1.835 MB / 1.23 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006823/1.285, allocations: 222.3 kB / 1.23 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003129/1.286, allocations: 112 kB / 1.23 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003247/1.289, allocations: 1.578 MB / 1.232 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.422e-05/1.289, allocations: 0 / 1.232 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001228/1.289, allocations: 40 kB / 1.232 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-05/1.289, allocations: 46 kB / 1.232 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003902/1.293, allocations: 1.741 MB / 1.233 GB, free: 6.801 MB / 0.9825 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.01501/1.308, allocations: 7.651 MB / 1.241 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003048/1.311, allocations: 1.376 MB / 1.242 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009287/1.312, allocations: 0.6369 MB / 1.243 GB, free: 12.62 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.646e-05/1.312, allocations: 47.12 kB / 1.243 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=69): time 4.108e-06/1.312, allocations: 0 / 1.243 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of matching and sorting (n=69): time 0.005779/1.318, allocations: 2.051 MB / 1.245 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.016e-05/1.318, allocations: 115.3 kB / 1.245 GB, free: 10.37 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003542/1.322, allocations: 2.089 MB / 1.247 GB, free: 8.285 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0005495/1.322, allocations: 49.7 kB / 1.247 GB, free: 8.23 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007601/1.323, allocations: 0.7013 MB / 1.248 GB, free: 7.52 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002955/1.323, allocations: 244.5 kB / 1.248 GB, free: 7.277 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001067/1.323, allocations: 20 kB / 1.248 GB, free: 7.258 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001864/1.324, allocations: 357.9 kB / 1.248 GB, free: 6.902 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002639/1.326, allocations: 1.381 MB / 1.25 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002964/1.329, allocations: 1.748 MB / 1.251 GB, free: 3.641 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002378/1.332, allocations: 1.267 MB / 1.253 GB, free: 2.375 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/1.332, allocations: 0 / 1.253 GB, free: 2.375 MB / 0.9981 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.8266/2.158, allocations: 3.072 MB / 1.256 GB, free: 228.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008077/2.159, allocations: 2.769 MB / 1.258 GB, free: 225.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.422e-05/2.159, allocations: 7.859 kB / 1.258 GB, free: 225.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.116e-05/2.159, allocations: 16.64 kB / 1.258 GB, free: 225.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002462/2.162, allocations: 334 kB / 1.259 GB, free: 225.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-05/2.162, allocations: 17.94 kB / 1.259 GB, free: 225.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002895/2.165, allocations: 299.7 kB / 1.259 GB, free: 225.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003336/2.165, allocations: 58.67 kB / 1.259 GB, free: 225.4 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/2.165, allocations: 3.938 kB / 1.259 GB, free: 225.4 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006973/2.172, allocations: 2.895 MB / 1.262 GB, free: 225 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.245e-05/2.172, allocations: 7.641 kB / 1.262 GB, free: 225 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.818e-05/2.172, allocations: 16.38 kB / 1.262 GB, free: 225 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00186/2.174, allocations: 334.7 kB / 1.262 GB, free: 224.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.163e-05/2.174, allocations: 17.77 kB / 1.262 GB, free: 224.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002543/2.176, allocations: 273.8 kB / 1.262 GB, free: 224.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002084/2.177, allocations: 54.73 kB / 1.262 GB, free: 224.9 MB / 0.9981 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 (132): * Single equations (assignments): 130 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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.0014/2.178, allocations: 0.5263 MB / 1.263 GB, free: 224.5 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006884/2.179, allocations: 167.9 kB / 1.263 GB, free: 224.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004571/2.183, allocations: 1.59 MB / 1.265 GB, free: 224 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.292e-05/2.183, allocations: 11.94 kB / 1.265 GB, free: 224 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.307e-06/2.183, allocations: 0.9688 kB / 1.265 GB, free: 224 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.558e-05/2.183, allocations: 4.797 kB / 1.265 GB, free: 224 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009223/2.193, allocations: 3.586 MB / 1.268 GB, free: 222.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.458e-05/2.193, allocations: 3.078 kB / 1.268 GB, free: 222.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001219/2.194, allocations: 225.3 kB / 1.268 GB, free: 222.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.937e-05/2.194, allocations: 6.188 kB / 1.268 GB, free: 222.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.157e-05/2.194, allocations: 29.16 kB / 1.268 GB, free: 222.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.216e-05/2.194, allocations: 6.578 kB / 1.268 GB, free: 222.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/2.194, allocations: 2.812 kB / 1.268 GB, free: 222.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006428/2.201, allocations: 2.733 MB / 1.271 GB, free: 221.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001419/2.202, allocations: 462 kB / 1.272 GB, free: 220.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002467/2.202, allocations: 16.09 kB / 1.272 GB, free: 220.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001449/2.204, allocations: 159.6 kB / 1.272 GB, free: 220.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001867/2.204, allocations: 60 kB / 1.272 GB, free: 220.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.633e-05/2.204, allocations: 34.53 kB / 1.272 GB, free: 220.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002752/2.207, allocations: 1.445 MB / 1.273 GB, free: 220.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5.71e-07/2.207, allocations: 0 / 1.273 GB, free: 220.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004765/2.212, allocations: 1.004 MB / 1.274 GB, free: 220.1 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (77): * Single equations (assignments): 75 * 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.001739/2.213, allocations: 0.5833 MB / 1.275 GB, free: 219.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.009468/2.223, allocations: 4.041 MB / 1.279 GB, free: 218.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.958e-06/2.223, allocations: 1.312 kB / 1.279 GB, free: 218.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001864/2.225, allocations: 0.7259 MB / 1.279 GB, free: 218.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004204/2.229, allocations: 0.6642 MB / 1.28 GB, free: 218.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007255/2.236, allocations: 3.496 MB / 1.283 GB, free: 216.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001011/2.237, allocations: 1.336 MB / 1.285 GB, free: 215.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003544/2.241, allocations: 0.5224 MB / 1.285 GB, free: 215.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009226/2.242, allocations: 135.5 kB / 1.285 GB, free: 215.3 MB / 0.9981 GB Notification: Performance of SimCode: time 1.573e-06/2.242, allocations: 0 / 1.285 GB, free: 215.3 MB / 0.9981 GB Notification: Performance of Templates: time 0.06415/2.306, allocations: 37.96 MB / 1.323 GB, free: 179.8 MB / 0.9981 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