Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.ActiveAirFlow,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow",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.001054/0.001054, allocations: 108 kB / 15.61 MB, free: 152 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.001065/0.001065, allocations: 192.8 kB / 16.53 MB, free: 6.664 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.258/1.258, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.404/2.404, allocations: 437.1 MB / 0.7104 GB, free: 5.176 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 59.91 kB / 0.8694 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5091/0.5104, allocations: 151.6 MB / 1.017 GB, free: 2.516 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.002607/0.5131, allocations: 1.431 MB / 1.019 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001348/0.5144, allocations: 1.096 MB / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001547/0.5146, allocations: 4 kB / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 9.099e-05/0.5147, allocations: 39.53 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001473/0.5149, allocations: 35.55 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002589/0.5152, allocations: 119.9 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002866/0.5154, allocations: 336.6 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003039/0.5158, allocations: 210 kB / 1.021 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001835/0.5159, allocations: 139.4 kB / 1.021 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001427/0.5161, allocations: 147.2 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.109e-05/0.5162, allocations: 36 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 4.195e-05/0.5162, allocations: 40 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.864e-05/0.5163, allocations: 79.75 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001118/0.5164, allocations: 155.1 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003486/0.5167, allocations: 452.7 kB / 1.022 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.5168, allocations: 7.875 kB / 1.022 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.132e-06/0.5168, allocations: 0 / 1.022 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.726e-06/0.5168, allocations: 0 / 1.022 GB, free: 14.21 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.0007627/0.5175, allocations: 0.5771 MB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.5176, allocations: 15.97 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.313e-05/0.5177, allocations: 66.72 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.905e-05/0.5177, allocations: 36.56 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004948/0.5182, allocations: 324.9 kB / 1.023 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.068e-05/0.5183, allocations: 29.03 kB / 1.023 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.638e-05/0.5183, allocations: 36.38 kB / 1.023 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004831/0.5188, allocations: 282.6 kB / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.5188, allocations: 3.938 kB / 1.023 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.52e-05/0.5188, allocations: 15.94 kB / 1.023 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.5189, allocations: 8 kB / 1.023 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004889/0.5194, allocations: 230.5 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009761/0.5203, allocations: 0.8152 MB / 1.024 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004273/0.5208, allocations: 224.6 kB / 1.024 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002291/0.521, allocations: 130.2 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.514e-05/0.5211, allocations: 4 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.924e-05/0.5211, allocations: 30.56 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=26): time 1.292e-06/0.5211, allocations: 4 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of matching and sorting (n=26): time 0.0006916/0.5218, allocations: 298.8 kB / 1.025 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.924e-05/0.5218, allocations: 55.41 kB / 1.025 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001564/0.522, allocations: 204.7 kB / 1.025 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.959e-05/0.522, allocations: 29.7 kB / 1.025 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.981e-05/0.5221, allocations: 176.2 kB / 1.025 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.363e-05/0.5222, allocations: 82.84 kB / 1.025 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.127e-05/0.5222, allocations: 69.89 kB / 1.025 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.045e-05/0.5223, allocations: 330.8 kB / 1.026 GB, free: 9.953 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001974/0.5225, allocations: 80.52 kB / 1.026 GB, free: 9.875 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002217/0.5228, allocations: 140.4 kB / 1.026 GB, free: 9.715 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004005/0.5232, allocations: 222.1 kB / 1.026 GB, free: 9.477 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.5232, allocations: 0 / 1.026 GB, free: 9.477 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005048/0.5237, allocations: 261.1 kB / 1.026 GB, free: 9.215 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.5237, allocations: 13.55 kB / 1.026 GB, free: 9.203 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.5237, allocations: 0 / 1.026 GB, free: 9.203 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.5238, allocations: 8.156 kB / 1.026 GB, free: 9.195 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000233/0.524, allocations: 59.84 kB / 1.026 GB, free: 9.137 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.226e-05/0.524, allocations: 7.938 kB / 1.026 GB, free: 9.129 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001314/0.5242, allocations: 27.83 kB / 1.026 GB, free: 9.102 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.701e-05/0.5242, allocations: 12 kB / 1.026 GB, free: 9.09 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 13 (reaToInt2.y,actAirSet.ifSetBac.y,actAirSet.ifWarUp.y,actAirSet.ifSetUp.y,actAirSet.ifCooDow.y,actAirSet.ifOcc.y,actAirSet.or2.y,actAirSet.or3.y,actAirSet.warUpMod.y,actAirSet.setBacMod.y,actAirSet.setUpMod.y,actAirSet.cooDowMod.y,actAirSet.occMod.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * 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.0001231/0.5243, allocations: 153.7 kB / 1.027 GB, free: 8.93 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.335e-05/0.5244, allocations: 19.72 kB / 1.027 GB, free: 8.91 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005048/0.5249, allocations: 250 kB / 1.027 GB, free: 8.664 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.5249, allocations: 3.938 kB / 1.027 GB, free: 8.66 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.5249, allocations: 0 / 1.027 GB, free: 8.66 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.892e-06/0.5249, allocations: 7.984 kB / 1.027 GB, free: 8.652 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003166/0.5252, allocations: 345.3 kB / 1.027 GB, free: 8.266 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.5252, allocations: 0 / 1.027 GB, free: 8.266 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001865/0.5254, allocations: 43.91 kB / 1.027 GB, free: 8.223 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.5254, allocations: 4 kB / 1.027 GB, free: 8.219 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.5255, allocations: 4 kB / 1.027 GB, free: 8.215 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.5255, allocations: 7.922 kB / 1.027 GB, free: 8.207 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.5255, allocations: 4 kB / 1.027 GB, free: 8.203 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004742/0.5259, allocations: 327.5 kB / 1.027 GB, free: 7.867 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.266e-05/0.526, allocations: 96.92 kB / 1.028 GB, free: 7.754 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.769e-05/0.526, allocations: 4 kB / 1.028 GB, free: 7.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000129/0.5262, allocations: 11.92 kB / 1.028 GB, free: 7.738 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.418e-05/0.5262, allocations: 27.97 kB / 1.028 GB, free: 7.711 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.239e-05/0.5263, allocations: 4 kB / 1.028 GB, free: 7.707 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.425e-05/0.5264, allocations: 148.4 kB / 1.028 GB, free: 7.562 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5264, allocations: 0 / 1.028 GB, free: 7.562 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002887/0.5267, allocations: 59.69 kB / 1.028 GB, free: 7.504 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (actAirSet.or3.y,actAirSet.or2.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0007099/0.5274, allocations: 0.8719 MB / 1.029 GB, free: 6.609 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005022/0.5279, allocations: 227.7 kB / 1.029 GB, free: 6.387 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.5279, allocations: 0 / 1.029 GB, free: 6.387 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002167/0.5281, allocations: 111.8 kB / 1.029 GB, free: 6.277 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003068/0.5284, allocations: 24.5 kB / 1.029 GB, free: 6.254 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002643/0.5311, allocations: 2.374 MB / 1.031 GB, free: 3.758 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002542/0.5314, allocations: 0.7636 MB / 1.032 GB, free: 2.969 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.00014/0.5315, allocations: 38.27 kB / 1.032 GB, free: 2.934 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001258/0.5316, allocations: 95.41 kB / 1.032 GB, free: 2.84 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.5316, allocations: 0 / 1.032 GB, free: 2.84 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01854/0.5502, allocations: 3.97 MB / 1.036 GB, free: 15.05 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.719/7.269, allocations: 13.19 kB / 1.036 GB, free: 15.04 MB / 0.795 GB (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches