Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ove.oveDamPos|ove.uDam|ove.yDam|ove.uHeaOff|ove.uVal|ove.yVal",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ove.oveDamPos|ove.uDam|ove.yDam|ove.uHeaOff|ove.uVal|ove.yVal",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.153/2.153, allocations: 387.1 MB / 399.7 MB, free: 9.465 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.001018/0.001018, allocations: 176.1 kB / 492.3 MB, free: 0.6016 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.457/1.457, allocations: 221.3 MB / 0.7871 GB, free: 12.93 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.0009062/0.0009064, allocations: 101.4 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.017e-05/3.019e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.274/0.2741, allocations: 142.3 MB / 1.212 GB, free: 38.47 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.043/1.317, allocations: 150.6 MB / 1.36 GB, free: 19.19 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002186/1.317, allocations: 75.84 kB / 1.36 GB, free: 19.19 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01097/1.328, allocations: 3.893 MB / 1.363 GB, free: 34.66 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.854e-06/1.328, allocations: 11.78 kB / 1.363 GB, free: 34.66 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.308e-06/1.328, allocations: 3.844 kB / 1.363 GB, free: 34.66 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0006614/1.329, allocations: 0.4909 MB / 1.364 GB, free: 34.24 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/1.329, allocations: 7.688 kB / 1.364 GB, free: 34.24 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.436e-05/1.329, allocations: 27.25 kB / 1.364 GB, free: 34.23 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001273/1.329, allocations: 201.9 kB / 1.364 GB, free: 34 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.018e-05/1.329, allocations: 14.88 kB / 1.364 GB, free: 34 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.063e-05/1.329, allocations: 21.66 kB / 1.364 GB, free: 34 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000325/1.329, allocations: 191.6 kB / 1.364 GB, free: 33.95 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/1.329, allocations: 0 / 1.364 GB, free: 33.95 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.227e-05/1.329, allocations: 10.75 kB / 1.364 GB, free: 33.95 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/1.329, allocations: 3.969 kB / 1.364 GB, free: 33.95 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002053/1.33, allocations: 115.7 kB / 1.364 GB, free: 33.95 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008515/1.331, allocations: 0.6817 MB / 1.365 GB, free: 33.55 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002035/1.331, allocations: 138.5 kB / 1.365 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.186e-05/1.331, allocations: 68.31 kB / 1.365 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.008e-05/1.331, allocations: 7.484 kB / 1.365 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002087/1.331, allocations: 135.8 kB / 1.365 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=17): time 1.393e-06/1.331, allocations: 0 / 1.365 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of matching and sorting (n=17): time 0.000341/1.331, allocations: 164.2 kB / 1.366 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.04e-05/1.332, allocations: 80.95 kB / 1.366 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001422/1.332, allocations: 165.3 kB / 1.366 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.72e-05/1.332, allocations: 32.05 kB / 1.366 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.608e-05/1.332, allocations: 136.8 kB / 1.366 GB, free: 33.03 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.491e-05/1.332, allocations: 45 kB / 1.366 GB, free: 33 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.696e-05/1.332, allocations: 11.25 kB / 1.366 GB, free: 33 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.418e-05/1.332, allocations: 331.2 kB / 1.366 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001142/1.332, allocations: 58.41 kB / 1.366 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001222/1.332, allocations: 97.05 kB / 1.367 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001233/1.332, allocations: 89.92 kB / 1.367 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/1.332, allocations: 4 kB / 1.367 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003478/1.333, allocations: 239.2 kB / 1.367 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.816e-05/1.333, allocations: 33.08 kB / 1.367 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/1.333, allocations: 6.797 kB / 1.367 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/1.333, allocations: 3.953 kB / 1.367 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002357/1.333, allocations: 49.81 kB / 1.367 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.822e-06/1.333, allocations: 8.047 kB / 1.367 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000283/1.333, allocations: 70.78 kB / 1.367 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.644e-05/1.333, allocations: 14.33 kB / 1.367 GB, free: 32.48 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$whenCondition2,$PRE.heaOff.y,heaOff.y,ove.oveDamPos,ove.intEqu4.y,ove.cloDam.u,ove.or2.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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 8.315e-05/1.333, allocations: 110.7 kB / 1.367 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.393e-05/1.333, allocations: 15.5 kB / 1.367 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.46e-05/1.334, allocations: 23.22 kB / 1.367 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/1.334, allocations: 7.828 kB / 1.367 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/1.334, allocations: 0 / 1.367 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/1.334, allocations: 0 / 1.367 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002075/1.334, allocations: 278.6 kB / 1.367 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/1.334, allocations: 4 kB / 1.367 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002013/1.334, allocations: 47.62 kB / 1.368 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/1.334, allocations: 0 / 1.368 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/1.334, allocations: 3.125 kB / 1.368 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.584e-06/1.334, allocations: 3.906 kB / 1.368 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/1.334, allocations: 6.766 kB / 1.368 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002516/1.334, allocations: 201.5 kB / 1.368 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.082e-05/1.334, allocations: 99.19 kB / 1.368 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.634e-05/1.334, allocations: 7.344 kB / 1.368 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001572/1.335, allocations: 39.75 kB / 1.368 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.366e-05/1.335, allocations: 20.89 kB / 1.368 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.447e-05/1.335, allocations: 7.562 kB / 1.368 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.974e-05/1.335, allocations: 120.2 kB / 1.368 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/1.335, allocations: 0 / 1.368 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002504/1.335, allocations: 53.47 kB / 1.368 GB, free: 31.85 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,heaOff.y,ove.oveDamPos,ove.intEqu4.y,ove.cloDam.u,ove.or2.y) * Number of discrete 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: 1 * 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.0001623/1.335, allocations: 118.5 kB / 1.368 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003278/1.336, allocations: 232.2 kB / 1.368 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/1.336, allocations: 0 / 1.368 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001183/1.336, allocations: 78.5 kB / 1.368 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000214/1.336, allocations: 21.97 kB / 1.368 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004381/1.336, allocations: 241.5 kB / 1.369 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002484/1.337, allocations: 0.7311 MB / 1.369 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 8.101e-05/1.337, allocations: 19.89 kB / 1.369 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.466e-05/1.337, allocations: 18.14 kB / 1.369 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of SimCode: time 2.1e-07/1.337, allocations: 0 / 1.369 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of Templates: time 0.004986/1.342, allocations: 2.392 MB / 1.372 GB, free: 30.67 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_Overrides.csv","../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches