Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.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.CoolingOnly.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_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.001478/0.001478, 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.001624/0.001624, allocations: 192.7 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.209/1.209, 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.302/2.302, allocations: 437 MB / 0.7104 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 67.91 kB / 0.8694 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4767/0.4779, allocations: 151.6 MB / 1.017 GB, free: 2.5 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow): time 0.002068/0.48, allocations: 1.022 MB / 1.018 GB, free: 1.48 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.000956/0.481, allocations: 0.9752 MB / 1.019 GB, free: 0.4922 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.535e-05/0.4811, allocations: 4 kB / 1.019 GB, free: 500 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 5.476e-05/0.4812, allocations: 15.8 kB / 1.019 GB, free: 484 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 9.982e-05/0.4813, allocations: 15.75 kB / 1.019 GB, free: 468 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001769/0.4815, allocations: 55.92 kB / 1.019 GB, free: 412 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001477/0.4816, allocations: 168 kB / 1.02 GB, free: 240 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001634/0.4818, allocations: 92.16 kB / 1.02 GB, free: 148 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001253/0.4819, allocations: 71.7 kB / 1.02 GB, free: 76 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.518e-05/0.482, allocations: 67.69 kB / 1.02 GB, free: 8 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 4.223e-05/0.4821, allocations: 16.05 kB / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 2.373e-05/0.4821, allocations: 20 kB / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.457e-05/0.4821, allocations: 43.78 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.135e-05/0.4822, allocations: 71.61 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001742/0.4824, allocations: 193.6 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.4824, allocations: 4 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.152e-06/0.4824, allocations: 4 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.4824, allocations: 0 / 1.02 GB, free: 15.66 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0005566/0.483, allocations: 455.1 kB / 1.021 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.483, allocations: 8.031 kB / 1.021 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.266e-05/0.4831, allocations: 50.67 kB / 1.021 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.709e-05/0.4831, allocations: 16.75 kB / 1.021 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003773/0.4835, allocations: 256.2 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/0.4835, allocations: 12.66 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.914e-05/0.4835, allocations: 12.38 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002901/0.4838, allocations: 148.4 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.4839, allocations: 3.938 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/0.4839, allocations: 4 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.4839, allocations: 7.938 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003107/0.4842, allocations: 116.7 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005511/0.4848, allocations: 480.1 kB / 1.022 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002475/0.485, allocations: 102.6 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001388/0.4852, allocations: 52.88 kB / 1.022 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.688e-05/0.4852, allocations: 7.938 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.146e-05/0.4852, allocations: 34.56 kB / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=11): time 1.202e-06/0.4852, allocations: 4 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.0004923/0.4857, allocations: 161.5 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.954e-05/0.4858, allocations: 55.34 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.4859, allocations: 157.5 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.4859, allocations: 25.7 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.586e-05/0.486, allocations: 128.1 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.445e-05/0.486, allocations: 31.56 kB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.246e-05/0.486, allocations: 37.7 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.111e-05/0.4861, allocations: 326.8 kB / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001364/0.4863, allocations: 39.95 kB / 1.023 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001432/0.4864, allocations: 71.41 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002715/0.4867, allocations: 107.8 kB / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.4867, allocations: 0 / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003475/0.4871, allocations: 157.2 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.4871, allocations: 9.562 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.187e-06/0.4871, allocations: 0 / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.4871, allocations: 0 / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000154/0.4873, allocations: 35.91 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.289e-06/0.4873, allocations: 0 / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.404e-05/0.4874, allocations: 15.94 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.4874, allocations: 12.08 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (reaToInt2.y,actAirSet.intEqu1.y,actAirSet.intEqu2.y,actAirSet.intEqu.y,actAirSet.or3.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 (14): * Single equations (assignments): 14 * 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 8.438e-05/0.4875, allocations: 127.7 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.776e-05/0.4875, allocations: 11.81 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.058e-05/0.4876, allocations: 16.72 kB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.4876, allocations: 0 / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.4876, allocations: 7.875 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.4876, allocations: 7.984 kB / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001985/0.4878, allocations: 229.5 kB / 1.024 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.4878, allocations: 4 kB / 1.024 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001162/0.4879, allocations: 19.97 kB / 1.024 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.4879, allocations: 0 / 1.024 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.4879, allocations: 8 kB / 1.024 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-06/0.488, allocations: 3.984 kB / 1.024 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.488, allocations: 0 / 1.024 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003327/0.4883, allocations: 227.3 kB / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.523e-05/0.4883, allocations: 92.86 kB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.932e-05/0.4884, allocations: 7.938 kB / 1.024 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.4885, allocations: 11.98 kB / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.247e-05/0.4885, allocations: 11.98 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.225e-05/0.4886, allocations: 11.98 kB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.738e-05/0.4886, allocations: 107.2 kB / 1.024 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4886, allocations: 0 / 1.024 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002373/0.4889, allocations: 27.94 kB / 1.024 GB, free: 11.32 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: 5 (actAirSet.or3.y,actAirSet.intEqu.y,actAirSet.intEqu2.y,actAirSet.intEqu1.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0005534/0.4894, allocations: 0.7691 MB / 1.025 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003294/0.4898, allocations: 115.8 kB / 1.025 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.4898, allocations: 0 / 1.025 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001457/0.4899, allocations: 59.95 kB / 1.025 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000269/0.4902, allocations: 11.94 kB / 1.025 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001802/0.492, allocations: 1.704 MB / 1.027 GB, free: 8.543 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001998/0.4922, allocations: 0.7158 MB / 1.027 GB, free: 7.801 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.173e-05/0.4923, allocations: 16.64 kB / 1.027 GB, free: 7.785 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.979e-05/0.4924, allocations: 47.41 kB / 1.027 GB, free: 7.738 MB / 0.7794 GB Notification: Performance of SimCode: time 1.453e-06/0.4924, allocations: 0 / 1.027 GB, free: 7.738 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01756/0.51, allocations: 2.835 MB / 1.03 GB, free: 5.07 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.486/6.996, allocations: 14 kB / 1.03 GB, free: 5.062 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.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_CoolingOnly_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches