Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.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.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_latest_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_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.227/2.227, allocations: 390.3 MB / 402.8 MB, free: 6.695 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.00149/0.00149, allocations: 177 kB / 496.1 MB, free: 12.86 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.561/1.561, allocations: 221.3 MB / 0.7915 GB, free: 5.363 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.0008696/0.0008696, allocations: 87.95 kB / 0.9317 GB, free: 5.688 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.282e-05/3.286e-05, allocations: 8 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3339/0.3339, allocations: 143 MB / 1.219 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.055/1.389, allocations: 151.4 MB / 1.367 GB, free: 2.617 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002388/1.389, allocations: 80.12 kB / 1.367 GB, free: 2.57 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01081/1.4, allocations: 3.895 MB / 1.371 GB, free: 15.2 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.743e-06/1.4, allocations: 0 / 1.371 GB, free: 15.2 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.118e-05/1.4, allocations: 4 kB / 1.371 GB, free: 15.2 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.0007734/1.401, allocations: 0.4996 MB / 1.371 GB, free: 14.66 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/1.401, allocations: 8.031 kB / 1.371 GB, free: 14.66 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.631e-05/1.401, allocations: 27.72 kB / 1.371 GB, free: 14.63 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001754/1.401, allocations: 187.5 kB / 1.371 GB, free: 14.4 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.469e-05/1.401, allocations: 19.19 kB / 1.371 GB, free: 14.39 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.055e-05/1.401, allocations: 22.62 kB / 1.371 GB, free: 14.38 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003484/1.402, allocations: 191.5 kB / 1.371 GB, free: 14.23 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/1.402, allocations: 11.92 kB / 1.372 GB, free: 14.21 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.358e-05/1.402, allocations: 7.312 kB / 1.372 GB, free: 14.21 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/1.402, allocations: 4 kB / 1.372 GB, free: 14.21 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002209/1.402, allocations: 118.4 kB / 1.372 GB, free: 14.13 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009474/1.403, allocations: 0.6894 MB / 1.372 GB, free: 13.5 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002335/1.403, allocations: 140 kB / 1.372 GB, free: 13.39 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000107/1.403, allocations: 62.66 kB / 1.372 GB, free: 13.34 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.979e-05/1.403, allocations: 8 kB / 1.373 GB, free: 13.33 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002417/1.403, allocations: 130.3 kB / 1.373 GB, free: 13.21 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=17): time 1.613e-06/1.403, allocations: 0 / 1.373 GB, free: 13.21 MB / 0.8386 GB Notification: Performance of matching and sorting (n=17): time 0.0003544/1.404, allocations: 162.8 kB / 1.373 GB, free: 13.08 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.264e-05/1.404, allocations: 81.05 kB / 1.373 GB, free: 12.98 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001461/1.404, allocations: 166.9 kB / 1.373 GB, free: 12.84 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.243e-05/1.404, allocations: 33.27 kB / 1.373 GB, free: 12.8 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.537e-05/1.404, allocations: 125.5 kB / 1.373 GB, free: 12.69 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.377e-05/1.404, allocations: 50.34 kB / 1.373 GB, free: 12.65 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.667e-05/1.404, allocations: 3.438 kB / 1.373 GB, free: 12.65 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001384/1.404, allocations: 333.6 kB / 1.374 GB, free: 12.32 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001244/1.404, allocations: 65 kB / 1.374 GB, free: 12.28 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001376/1.405, allocations: 94.3 kB / 1.374 GB, free: 12.2 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001501/1.405, allocations: 85.95 kB / 1.374 GB, free: 12.13 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/1.405, allocations: 0 / 1.374 GB, free: 12.13 MB / 0.8386 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.00039/1.405, allocations: 244.1 kB / 1.374 GB, free: 11.93 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.957e-05/1.405, allocations: 46.42 kB / 1.374 GB, free: 11.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/1.405, allocations: 0 / 1.374 GB, free: 11.88 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/1.405, allocations: 4 kB / 1.374 GB, free: 11.88 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002518/1.406, allocations: 44.03 kB / 1.374 GB, free: 11.84 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/1.406, allocations: 3.984 kB / 1.374 GB, free: 11.83 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003047/1.406, allocations: 67.23 kB / 1.374 GB, free: 11.77 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.186e-05/1.406, allocations: 11.98 kB / 1.374 GB, free: 11.76 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 0.000107/1.406, allocations: 120.1 kB / 1.374 GB, free: 11.64 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.565e-05/1.406, allocations: 7.906 kB / 1.374 GB, free: 11.63 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.607e-05/1.406, allocations: 27.53 kB / 1.374 GB, free: 11.61 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/1.406, allocations: 8 kB / 1.374 GB, free: 11.61 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/1.406, allocations: 4.125 kB / 1.374 GB, free: 11.6 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/1.406, allocations: 0 / 1.374 GB, free: 11.6 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002725/1.406, allocations: 283.7 kB / 1.375 GB, free: 11.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/1.406, allocations: 0 / 1.375 GB, free: 11.32 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002157/1.407, allocations: 51.83 kB / 1.375 GB, free: 11.27 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/1.407, allocations: 0 / 1.375 GB, free: 11.27 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.705e-05/1.407, allocations: 11.12 kB / 1.375 GB, free: 11.26 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/1.407, allocations: 3.953 kB / 1.375 GB, free: 11.25 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/1.407, allocations: 0 / 1.375 GB, free: 11.25 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003193/1.407, allocations: 203.6 kB / 1.375 GB, free: 11.07 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.456e-05/1.407, allocations: 85.02 kB / 1.375 GB, free: 10.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.949e-05/1.407, allocations: 7.953 kB / 1.375 GB, free: 10.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001613/1.407, allocations: 31.41 kB / 1.375 GB, free: 10.93 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.03e-05/1.407, allocations: 21.72 kB / 1.375 GB, free: 10.91 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.08e-05/1.407, allocations: 14.98 kB / 1.375 GB, free: 10.9 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 9.702e-05/1.408, allocations: 128.6 kB / 1.375 GB, free: 10.79 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/1.408, allocations: 0 / 1.375 GB, free: 10.79 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002636/1.408, allocations: 54.53 kB / 1.375 GB, free: 10.74 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.0002111/1.408, allocations: 126.3 kB / 1.375 GB, free: 10.61 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003852/1.408, allocations: 218 kB / 1.376 GB, free: 10.45 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/1.408, allocations: 0 / 1.376 GB, free: 10.45 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001434/1.409, allocations: 78.17 kB / 1.376 GB, free: 10.39 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002316/1.409, allocations: 26.05 kB / 1.376 GB, free: 10.37 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004947/1.409, allocations: 229.8 kB / 1.376 GB, free: 10.15 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003041/1.41, allocations: 0.736 MB / 1.377 GB, free: 9.391 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 8.557e-05/1.41, allocations: 12.77 kB / 1.377 GB, free: 9.379 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.97e-05/1.41, allocations: 19.42 kB / 1.377 GB, free: 9.363 MB / 0.8386 GB Notification: Performance of SimCode: time 2.81e-07/1.41, allocations: 0 / 1.377 GB, free: 9.363 MB / 0.8386 GB Notification: Performance of Templates: time 0.005673/1.416, allocations: 2.396 MB / 1.379 GB, free: 7.027 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_Overrides.csv","../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches