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/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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_Overrides",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_Overrides",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001428/0.001428, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001628/0.001628, allocations: 194.8 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.161/1.161, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.063/2.063, allocations: 390.2 MB / 0.6647 GB, free: 264 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 67.91 kB / 0.8127 GB, free: 14.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4637/0.4649, allocations: 140.4 MB / 0.9498 GB, free: 9.246 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides): time 0.001918/0.4669, allocations: 1.132 MB / 0.9509 GB, free: 8.363 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001023/0.4679, allocations: 1.234 MB / 0.9521 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.199e-05/0.468, allocations: 6.562 kB / 0.9521 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.286e-05/0.4681, allocations: 21.02 kB / 0.9521 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.891e-05/0.4681, allocations: 34.09 kB / 0.9521 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003916/0.4685, allocations: 181.5 kB / 0.9523 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001919/0.4687, allocations: 276.4 kB / 0.9526 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000153/0.4689, allocations: 107.2 kB / 0.9527 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.387e-05/0.469, allocations: 109.8 kB / 0.9528 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.925e-05/0.4691, allocations: 112.7 kB / 0.9529 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.217e-05/0.4692, allocations: 26.56 kB / 0.9529 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.62e-05/0.4692, allocations: 42.77 kB / 0.953 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.317e-05/0.4693, allocations: 54.7 kB / 0.953 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.755e-05/0.4694, allocations: 107.9 kB / 0.9531 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002068/0.4696, allocations: 325.2 kB / 0.9534 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.4696, allocations: 5.281 kB / 0.9534 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.132e-06/0.4696, allocations: 0 / 0.9534 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.4696, allocations: 0 / 0.9534 GB, free: 6.387 MB / 0.7169 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.000667/0.4703, allocations: 0.5433 MB / 0.954 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.865e-05/0.4703, allocations: 8.875 kB / 0.954 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.505e-05/0.4703, allocations: 49.02 kB / 0.954 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.447e-05/0.4704, allocations: 26 kB / 0.954 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005734/0.471, allocations: 302.8 kB / 0.9543 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.146e-05/0.471, allocations: 13.59 kB / 0.9543 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.281e-05/0.471, allocations: 31.61 kB / 0.9544 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003768/0.4714, allocations: 209.2 kB / 0.9546 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.4714, allocations: 1.125 kB / 0.9546 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.685e-05/0.4715, allocations: 5.219 kB / 0.9546 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.4715, allocations: 4.719 kB / 0.9546 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004532/0.4719, allocations: 151.2 kB / 0.9547 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005917/0.4725, allocations: 0.6556 MB / 0.9554 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003289/0.4729, allocations: 156.4 kB / 0.9555 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002108/0.4731, allocations: 75.28 kB / 0.9556 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.843e-05/0.4731, allocations: 10.56 kB / 0.9556 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002996/0.4734, allocations: 156.3 kB / 0.9557 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=17): time 1.312e-06/0.4734, allocations: 0 / 0.9557 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of matching and sorting (n=17): time 0.0007254/0.4742, allocations: 260 kB / 0.956 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.601e-05/0.4742, allocations: 80.95 kB / 0.9561 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.261e-05/0.4743, allocations: 171.3 kB / 0.9562 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.4743, allocations: 29.45 kB / 0.9563 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.194e-05/0.4744, allocations: 138.8 kB / 0.9564 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.683e-05/0.4744, allocations: 45.44 kB / 0.9564 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.813e-05/0.4745, allocations: 61.44 kB / 0.9565 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.468e-05/0.4745, allocations: 329.6 kB / 0.9568 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002431/0.4748, allocations: 78.7 kB / 0.9569 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002435/0.475, allocations: 129.3 kB / 0.957 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004296/0.4755, allocations: 209.9 kB / 0.9572 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.4755, allocations: 0 / 0.9572 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005965/0.4761, allocations: 286.8 kB / 0.9575 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/0.4761, allocations: 37.89 kB / 0.9575 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.4761, allocations: 5.359 kB / 0.9575 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.4761, allocations: 6.875 kB / 0.9575 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001836/0.4763, allocations: 32.72 kB / 0.9576 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.4763, allocations: 3.062 kB / 0.9576 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002371/0.4766, allocations: 48.55 kB / 0.9576 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.235e-05/0.4766, allocations: 12.25 kB / 0.9576 GB, free: 2.941 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,heaOff.y,$PRE.heaOff.y,reaToInt1.y,ove.or2.y,ove.intEqu4.y,ove.intEqu3.y,ove.conInt4.y,ove.conInt3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.084e-05/0.4767, allocations: 147.9 kB / 0.9578 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.35e-05/0.4767, allocations: 18.41 kB / 0.9578 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.595e-05/0.4768, allocations: 17 kB / 0.9578 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.4768, allocations: 2.969 kB / 0.9578 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.4768, allocations: 0 / 0.9578 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.4768, allocations: 5.172 kB / 0.9578 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001481/0.4769, allocations: 264.6 kB / 0.9581 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.4769, allocations: 1 kB / 0.9581 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001626/0.4771, allocations: 38.17 kB / 0.9581 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.4771, allocations: 9.25 kB / 0.9581 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.4771, allocations: 5.531 kB / 0.9581 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.4771, allocations: 5.141 kB / 0.9581 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.4771, allocations: 1.469 kB / 0.9581 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004686/0.4776, allocations: 216.9 kB / 0.9583 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.197e-05/0.4777, allocations: 94.33 kB / 0.9584 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.383e-05/0.4777, allocations: 12.98 kB / 0.9584 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001133/0.4778, allocations: 11.61 kB / 0.9584 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.082e-05/0.4779, allocations: 33.66 kB / 0.9585 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/0.4779, allocations: 8.281 kB / 0.9585 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.494e-05/0.4779, allocations: 122.8 kB / 0.9586 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.4779, allocations: 4 kB / 0.9586 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002407/0.4782, allocations: 42.03 kB / 0.9586 GB, free: 2.074 MB / 0.7169 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.intEqu3.y,ove.intEqu4.y,ove.or2.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006325/0.4788, allocations: 0.7742 MB / 0.9594 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005545/0.4794, allocations: 254.1 kB / 0.9596 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.4794, allocations: 256 / 0.9596 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002404/0.4796, allocations: 101 kB / 0.9597 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002357/0.4799, allocations: 33.5 kB / 0.9598 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002403/0.4823, allocations: 2.119 MB / 0.9618 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002124/0.4825, allocations: 0.7292 MB / 0.9625 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001131/0.4826, allocations: 24.92 kB / 0.9626 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.479e-05/0.4827, allocations: 59.14 kB / 0.9626 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.4827, allocations: 0 / 0.9626 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01884/0.5016, allocations: 4.402 MB / 0.9669 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.48/6.982, allocations: 8.562 kB / 0.9669 GB, free: 12.5 MB / 0.7325 GB (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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_Overrides.fmu > 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.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_Overrides.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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