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.005265/0.005264, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001314/0.001314, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.335/1.335, allocations: 222.9 MB / 240.4 MB, free: 4.191 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.3/2.3, allocations: 390.2 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001153/0.001153, allocations: 63.47 kB / 0.9504 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2155/0.2167, allocations: 140.4 MB / 1.088 GB, free: 1.992 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides): time 0.002116/0.2188, allocations: 1.141 MB / 1.089 GB, free: 0.8438 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00143/0.2203, allocations: 1.241 MB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.303e-05/0.2203, allocations: 4 kB / 1.09 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.577e-05/0.2204, allocations: 23.67 kB / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001013/0.2205, allocations: 19.73 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005133/0.221, allocations: 190.6 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002659/0.2213, allocations: 275.9 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001761/0.2215, allocations: 111.8 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000125/0.2216, allocations: 103.7 kB / 1.091 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001447/0.2218, allocations: 119.5 kB / 1.091 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.689e-05/0.2218, allocations: 28 kB / 1.091 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.724e-05/0.2219, allocations: 39.98 kB / 1.091 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.671e-05/0.222, allocations: 51.83 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001062/0.2221, allocations: 119.4 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003179/0.2224, allocations: 325.7 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.2224, allocations: 0 / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.133e-06/0.2224, allocations: 0 / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.886e-06/0.2224, allocations: 0 / 1.091 GB, free: 14.21 MB / 0.8575 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.0008544/0.2233, allocations: 0.5363 MB / 1.092 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.2233, allocations: 11.97 kB / 1.092 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.607e-05/0.2234, allocations: 62.73 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.857e-05/0.2235, allocations: 24.66 kB / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006932/0.2242, allocations: 304.7 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.51e-05/0.2242, allocations: 16.38 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.187e-05/0.2243, allocations: 23.94 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004602/0.2247, allocations: 215.2 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.2247, allocations: 0 / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.088e-05/0.2248, allocations: 8 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.2248, allocations: 4 kB / 1.092 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005208/0.2253, allocations: 159.8 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000795/0.2261, allocations: 0.6289 MB / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004/0.2265, allocations: 161.1 kB / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002472/0.2268, allocations: 77.77 kB / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.181e-05/0.2268, allocations: 7.969 kB / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003581/0.2272, allocations: 151.1 kB / 1.093 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=17): time 2.695e-06/0.2272, allocations: 7.922 kB / 1.093 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of matching and sorting (n=17): time 0.0008642/0.2281, allocations: 261.3 kB / 1.094 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.991e-05/0.2281, allocations: 81.09 kB / 1.094 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001325/0.2283, allocations: 175.7 kB / 1.094 GB, free: 11.08 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.703e-05/0.2283, allocations: 29.7 kB / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.066e-05/0.2284, allocations: 136.2 kB / 1.094 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.118e-05/0.2284, allocations: 59.28 kB / 1.094 GB, free: 10.85 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.978e-05/0.2285, allocations: 53.69 kB / 1.094 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.2286, allocations: 322.8 kB / 1.095 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002908/0.2289, allocations: 83.92 kB / 1.095 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003053/0.2293, allocations: 125.1 kB / 1.095 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000533/0.2298, allocations: 210.6 kB / 1.095 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2298, allocations: 0 / 1.095 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007127/0.2305, allocations: 279.4 kB / 1.095 GB, free: 9.73 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.557e-05/0.2306, allocations: 45.75 kB / 1.095 GB, free: 9.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.2306, allocations: 4 kB / 1.095 GB, free: 9.676 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.2306, allocations: 0 / 1.095 GB, free: 9.676 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002217/0.2308, allocations: 39.91 kB / 1.095 GB, free: 9.637 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.2309, allocations: 0 / 1.095 GB, free: 9.637 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002806/0.2311, allocations: 47.8 kB / 1.095 GB, free: 9.59 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.137e-05/0.2312, allocations: 11.98 kB / 1.095 GB, free: 9.578 MB / 0.8575 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.0001174/0.2313, allocations: 145.7 kB / 1.096 GB, free: 9.426 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.364e-05/0.2313, allocations: 15.75 kB / 1.096 GB, free: 9.41 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.872e-05/0.2314, allocations: 25.39 kB / 1.096 GB, free: 9.387 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.768e-06/0.2314, allocations: 4 kB / 1.096 GB, free: 9.383 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.2314, allocations: 320 / 1.096 GB, free: 9.383 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.2314, allocations: 0 / 1.096 GB, free: 9.383 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002235/0.2316, allocations: 269.5 kB / 1.096 GB, free: 9.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.2317, allocations: 4 kB / 1.096 GB, free: 9.066 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001948/0.2319, allocations: 31.97 kB / 1.096 GB, free: 9.035 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.2319, allocations: 3.938 kB / 1.096 GB, free: 9.031 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.2319, allocations: 4 kB / 1.096 GB, free: 9.027 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.2319, allocations: 3.938 kB / 1.096 GB, free: 9.023 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.2319, allocations: 0 / 1.096 GB, free: 9.023 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005624/0.2325, allocations: 227.4 kB / 1.096 GB, free: 8.781 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.421e-05/0.2325, allocations: 88.92 kB / 1.096 GB, free: 8.676 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.608e-05/0.2326, allocations: 11.94 kB / 1.096 GB, free: 8.664 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000129/0.2327, allocations: 11.98 kB / 1.096 GB, free: 8.652 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.449e-05/0.2328, allocations: 23.97 kB / 1.096 GB, free: 8.629 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/0.2328, allocations: 4 kB / 1.096 GB, free: 8.625 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.911e-05/0.2329, allocations: 123.2 kB / 1.096 GB, free: 8.504 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2329, allocations: 0 / 1.096 GB, free: 8.504 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002735/0.2332, allocations: 51.78 kB / 1.096 GB, free: 8.453 MB / 0.8575 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.0008527/0.234, allocations: 0.7774 MB / 1.097 GB, free: 7.641 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0006562/0.2347, allocations: 261 kB / 1.097 GB, free: 7.375 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2347, allocations: 4 kB / 1.097 GB, free: 7.371 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002889/0.235, allocations: 91.88 kB / 1.097 GB, free: 7.281 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002609/0.2353, allocations: 28.98 kB / 1.098 GB, free: 7.254 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002961/0.2382, allocations: 2.115 MB / 1.1 GB, free: 5.02 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002624/0.2385, allocations: 0.7241 MB / 1.1 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001157/0.2386, allocations: 25.55 kB / 1.1 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.76e-05/0.2387, allocations: 63.41 kB / 1.1 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of SimCode: time 2.3e-07/0.2388, allocations: 0 / 1.1 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01987/0.2586, allocations: 4.475 MB / 1.105 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.312/7.57, allocations: 10.38 kB / 1.105 GB, free: 15.9 MB / 0.8731 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