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/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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_latest_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_latest_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.006836/0.006836, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001773/0.001773, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.309/1.309, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.72/2.72, allocations: 469.4 MB / 0.7422 GB, free: 7.629 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 63.91 kB / 1.064 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2458/0.2471, allocations: 159.1 MB / 1.22 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides): time 0.002282/0.2494, allocations: 1.142 MB / 1.221 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001547/0.251, allocations: 1.252 MB / 1.222 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.898e-05/0.2511, allocations: 4 kB / 1.222 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.895e-05/0.2512, allocations: 19.73 kB / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001218/0.2513, allocations: 27.69 kB / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005256/0.2518, allocations: 191.1 kB / 1.222 GB, free: 12 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002948/0.2521, allocations: 275.8 kB / 1.223 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001852/0.2523, allocations: 107.8 kB / 1.223 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001454/0.2525, allocations: 107.7 kB / 1.223 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001646/0.2527, allocations: 119.5 kB / 1.223 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.78e-05/0.2527, allocations: 24 kB / 1.223 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.948e-05/0.2528, allocations: 47.98 kB / 1.223 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.843e-05/0.2529, allocations: 55.83 kB / 1.223 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001096/0.253, allocations: 115.4 kB / 1.223 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000351/0.2533, allocations: 326.7 kB / 1.223 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.2534, allocations: 0 / 1.223 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.123e-06/0.2534, allocations: 0 / 1.223 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.198e-06/0.2534, allocations: 0 / 1.223 GB, free: 10.83 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0008831/0.2543, allocations: 0.5392 MB / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.2543, allocations: 12.03 kB / 1.224 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.725e-05/0.2544, allocations: 58.67 kB / 1.224 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.083e-05/0.2544, allocations: 24.8 kB / 1.224 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000717/0.2552, allocations: 304.8 kB / 1.224 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.724e-05/0.2552, allocations: 16.38 kB / 1.224 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.103e-05/0.2553, allocations: 20.38 kB / 1.224 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004769/0.2557, allocations: 219.3 kB / 1.225 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.2558, allocations: 0 / 1.225 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.363e-05/0.2558, allocations: 8 kB / 1.225 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.2558, allocations: 4 kB / 1.225 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005275/0.2563, allocations: 164.3 kB / 1.225 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000836/0.2572, allocations: 0.6485 MB / 1.225 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004081/0.2576, allocations: 157.1 kB / 1.226 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002553/0.2579, allocations: 85.75 kB / 1.226 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.574e-05/0.2579, allocations: 8 kB / 1.226 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003955/0.2583, allocations: 146.8 kB / 1.226 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=17): time 1.442e-06/0.2583, allocations: 0 / 1.226 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of matching and sorting (n=17): time 0.0008744/0.2592, allocations: 261.4 kB / 1.226 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.751e-05/0.2593, allocations: 81.11 kB / 1.226 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001447/0.2594, allocations: 178.8 kB / 1.226 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.742e-05/0.2594, allocations: 33.7 kB / 1.226 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.191e-05/0.2595, allocations: 128.4 kB / 1.226 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.476e-05/0.2596, allocations: 59.58 kB / 1.227 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001055/0.2597, allocations: 61.62 kB / 1.227 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.2598, allocations: 326.8 kB / 1.227 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002933/0.2601, allocations: 79.94 kB / 1.227 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003136/0.2604, allocations: 126.6 kB / 1.227 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005555/0.261, allocations: 219 kB / 1.227 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.261, allocations: 0 / 1.227 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007387/0.2618, allocations: 287.1 kB / 1.228 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.16e-05/0.2618, allocations: 33.7 kB / 1.228 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.279e-06/0.2618, allocations: 0 / 1.228 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.2618, allocations: 7.938 kB / 1.228 GB, free: 6.266 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002285/0.2621, allocations: 35.91 kB / 1.228 GB, free: 6.23 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.2621, allocations: 7.984 kB / 1.228 GB, free: 6.223 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002906/0.2624, allocations: 47.84 kB / 1.228 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.511e-05/0.2624, allocations: 12.03 kB / 1.228 GB, free: 6.164 MB / 0.9825 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 0.0001171/0.2625, allocations: 133.8 kB / 1.228 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.207e-05/0.2626, allocations: 23.89 kB / 1.228 GB, free: 6 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.766e-05/0.2626, allocations: 17.41 kB / 1.228 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.072e-06/0.2626, allocations: 7.922 kB / 1.228 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.2627, allocations: 3.938 kB / 1.228 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.2627, allocations: 4 kB / 1.228 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002335/0.2629, allocations: 269.4 kB / 1.228 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.2629, allocations: 4 kB / 1.228 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001932/0.2631, allocations: 27.97 kB / 1.228 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.2631, allocations: 4 kB / 1.228 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/0.2631, allocations: 0 / 1.228 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.2632, allocations: 3.938 kB / 1.228 GB, free: 5.617 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.2632, allocations: 11.92 kB / 1.228 GB, free: 5.605 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005787/0.2637, allocations: 220 kB / 1.228 GB, free: 5.371 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.125e-05/0.2638, allocations: 89.02 kB / 1.228 GB, free: 5.266 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.867e-05/0.2638, allocations: 7.984 kB / 1.228 GB, free: 5.258 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001402/0.264, allocations: 23.86 kB / 1.229 GB, free: 5.234 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.494e-05/0.2641, allocations: 27.97 kB / 1.229 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.341e-05/0.2641, allocations: 8 kB / 1.229 GB, free: 5.199 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.432e-05/0.2642, allocations: 115.2 kB / 1.229 GB, free: 5.086 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2642, allocations: 0 / 1.229 GB, free: 5.086 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002754/0.2645, allocations: 47.89 kB / 1.229 GB, free: 5.039 MB / 0.9825 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.0008677/0.2653, allocations: 0.777 MB / 1.229 GB, free: 4.227 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0006741/0.266, allocations: 264.9 kB / 1.23 GB, free: 3.957 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.266, allocations: 0 / 1.23 GB, free: 3.957 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002954/0.2663, allocations: 91.88 kB / 1.23 GB, free: 3.867 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000263/0.2666, allocations: 31.97 kB / 1.23 GB, free: 3.836 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003016/0.2696, allocations: 2.108 MB / 1.232 GB, free: 1.602 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002671/0.2699, allocations: 0.7241 MB / 1.233 GB, free: 0.8516 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.000113/0.27, allocations: 25.55 kB / 1.233 GB, free: 0.8242 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001052/0.2702, allocations: 63.41 kB / 1.233 GB, free: 0.7656 MB / 0.9825 GB Notification: Performance of SimCode: time 2.91e-07/0.2702, allocations: 0 / 1.233 GB, free: 0.7656 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01985/0.29, allocations: 4.497 MB / 1.237 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.411/7.701, allocations: 12.19 kB / 1.237 GB, free: 12.47 MB / 0.9981 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_Overrides.fmu > 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.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_Overrides.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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