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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001038/0.001038, 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.0009903/0.0009902, allocations: 199.3 kB / 16.54 MB, free: 6.672 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.249/1.249, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.53/2.53, allocations: 469.4 MB / 0.742 GB, free: 7.793 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 62.7 kB / 0.9083 GB, free: 34.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2255/0.2267, allocations: 159.1 MB / 1.064 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides): time 0.002162/0.2289, allocations: 1.136 MB / 1.065 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001296/0.2302, allocations: 1.26 MB / 1.066 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.479e-05/0.2303, allocations: 4 kB / 1.066 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.79e-05/0.2304, allocations: 19.73 kB / 1.066 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001021/0.2305, allocations: 27.66 kB / 1.066 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004538/0.2309, allocations: 188.8 kB / 1.066 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002334/0.2312, allocations: 271.9 kB / 1.067 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001714/0.2313, allocations: 115.7 kB / 1.067 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001132/0.2315, allocations: 107.7 kB / 1.067 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001219/0.2316, allocations: 111.5 kB / 1.067 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.178e-05/0.2316, allocations: 28 kB / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.934e-05/0.2317, allocations: 39.98 kB / 1.067 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.375e-05/0.2318, allocations: 51.83 kB / 1.067 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001024/0.2319, allocations: 111.5 kB / 1.067 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002714/0.2322, allocations: 319.2 kB / 1.067 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.2322, allocations: 0 / 1.067 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.113e-06/0.2322, allocations: 0 / 1.067 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.2322, allocations: 0 / 1.067 GB, free: 10.71 MB / 0.8262 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.0007822/0.233, allocations: 0.5394 MB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.141e-05/0.233, allocations: 8.031 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.595e-05/0.2331, allocations: 54.73 kB / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.598e-05/0.2331, allocations: 24.66 kB / 1.068 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006798/0.2338, allocations: 316.6 kB / 1.068 GB, free: 9.676 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.2338, allocations: 16.38 kB / 1.068 GB, free: 9.66 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.679e-05/0.2339, allocations: 24.38 kB / 1.068 GB, free: 9.637 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004236/0.2343, allocations: 211.3 kB / 1.069 GB, free: 9.418 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.824e-06/0.2343, allocations: 4 kB / 1.069 GB, free: 9.414 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.906e-05/0.2344, allocations: 8 kB / 1.069 GB, free: 9.406 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.2344, allocations: 7.938 kB / 1.069 GB, free: 9.398 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004872/0.2349, allocations: 155.8 kB / 1.069 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007259/0.2356, allocations: 0.6445 MB / 1.069 GB, free: 8.547 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003582/0.236, allocations: 153.2 kB / 1.069 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002342/0.2362, allocations: 85.69 kB / 1.07 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.005e-05/0.2362, allocations: 4 kB / 1.07 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003318/0.2366, allocations: 154.2 kB / 1.07 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=17): time 2.675e-06/0.2366, allocations: 3.984 kB / 1.07 GB, free: 8.113 MB / 0.8262 GB Notification: Performance of matching and sorting (n=17): time 0.0007997/0.2374, allocations: 257.3 kB / 1.07 GB, free: 7.855 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/0.2374, allocations: 85.11 kB / 1.07 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.2376, allocations: 180 kB / 1.07 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.613e-05/0.2376, allocations: 29.7 kB / 1.07 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.481e-05/0.2377, allocations: 128.2 kB / 1.07 GB, free: 7.406 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.87e-05/0.2377, allocations: 55.28 kB / 1.07 GB, free: 7.352 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.804e-05/0.2378, allocations: 57.69 kB / 1.07 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.48e-05/0.2379, allocations: 326.8 kB / 1.071 GB, free: 6.961 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002736/0.2382, allocations: 83.94 kB / 1.071 GB, free: 6.879 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002763/0.2385, allocations: 125 kB / 1.071 GB, free: 6.738 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004962/0.239, allocations: 210.6 kB / 1.071 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.239, allocations: 0 / 1.071 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000679/0.2397, allocations: 290.9 kB / 1.071 GB, free: 6.211 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.832e-05/0.2397, allocations: 33.7 kB / 1.071 GB, free: 6.172 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.2397, allocations: 320 / 1.071 GB, free: 6.172 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.2397, allocations: 7.938 kB / 1.072 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002031/0.2399, allocations: 35.91 kB / 1.072 GB, free: 6.129 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.697e-06/0.24, allocations: 16.11 kB / 1.072 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002685/0.2402, allocations: 47.8 kB / 1.072 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.351e-05/0.2403, allocations: 8 kB / 1.072 GB, free: 6.059 MB / 0.8262 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.0001104/0.2404, allocations: 141.9 kB / 1.072 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.781e-05/0.2404, allocations: 19.8 kB / 1.072 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.096e-05/0.2405, allocations: 21.41 kB / 1.072 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.2405, allocations: 7.875 kB / 1.072 GB, free: 5.871 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/0.2405, allocations: 4 kB / 1.072 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.2405, allocations: 0 / 1.072 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002005/0.2407, allocations: 265.5 kB / 1.072 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.2407, allocations: 0 / 1.072 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001775/0.2409, allocations: 27.97 kB / 1.072 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.2409, allocations: 4 kB / 1.072 GB, free: 5.527 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.2409, allocations: 0 / 1.072 GB, free: 5.527 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.2409, allocations: 7.938 kB / 1.072 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.2409, allocations: 7.984 kB / 1.072 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005371/0.2415, allocations: 222.1 kB / 1.072 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.773e-05/0.2415, allocations: 88.92 kB / 1.072 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.619e-05/0.2415, allocations: 11.98 kB / 1.072 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000125/0.2417, allocations: 15.92 kB / 1.072 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.64e-05/0.2418, allocations: 27.97 kB / 1.072 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.145e-05/0.2418, allocations: 4 kB / 1.072 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.08e-05/0.2418, allocations: 115.2 kB / 1.073 GB, free: 4.996 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2419, allocations: 3.938 kB / 1.073 GB, free: 4.992 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002485/0.2421, allocations: 51.84 kB / 1.073 GB, free: 4.941 MB / 0.8262 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.0007726/0.2429, allocations: 0.767 MB / 1.073 GB, free: 4.141 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0006187/0.2435, allocations: 270.9 kB / 1.074 GB, free: 3.863 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.2435, allocations: 4 kB / 1.074 GB, free: 3.859 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002614/0.2438, allocations: 88.12 kB / 1.074 GB, free: 3.773 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002416/0.244, allocations: 38.86 kB / 1.074 GB, free: 3.738 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002701/0.2468, allocations: 2.086 MB / 1.076 GB, free: 1.52 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002187/0.247, allocations: 0.7358 MB / 1.076 GB, free: 0.7578 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001196/0.2471, allocations: 25.55 kB / 1.077 GB, free: 0.7344 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.229e-05/0.2472, allocations: 71.34 kB / 1.077 GB, free: 0.6641 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.2472, allocations: 0 / 1.077 GB, free: 0.6641 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01949/0.2667, allocations: 4.405 MB / 1.081 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.797/7.064, allocations: 18.95 kB / 1.081 GB, free: 12.43 MB / 0.8419 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