Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.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.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_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.001061/0.00106, 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.001055/0.001055, allocations: 192 kB / 16.53 MB, free: 6.391 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.25/1.25, allocations: 222.9 MB / 240.2 MB, free: 4.414 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.414/2.414, allocations: 437 MB / 0.7104 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 67.89 kB / 0.8694 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5135/0.5147, allocations: 151.6 MB / 1.017 GB, free: 2.48 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.002073/0.5168, allocations: 1.007 MB / 1.018 GB, free: 1.473 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009306/0.5178, allocations: 0.9713 MB / 1.019 GB, free: 500 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.424e-05/0.5178, allocations: 0 / 1.019 GB, free: 500 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.553e-05/0.5179, allocations: 15.75 kB / 1.019 GB, free: 484 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 9.344e-05/0.518, allocations: 23.78 kB / 1.019 GB, free: 460 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001668/0.5182, allocations: 59.88 kB / 1.019 GB, free: 400 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001435/0.5183, allocations: 155.6 kB / 1.02 GB, free: 244 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001998/0.5185, allocations: 92.16 kB / 1.02 GB, free: 148 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001271/0.5187, allocations: 67.72 kB / 1.02 GB, free: 80 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.785e-05/0.5188, allocations: 71.67 kB / 1.02 GB, free: 8 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 4.068e-05/0.5188, allocations: 16.05 kB / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 2.273e-05/0.5188, allocations: 16 kB / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.33e-05/0.5189, allocations: 35.8 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.127e-05/0.519, allocations: 75.66 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000171/0.5191, allocations: 197.6 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.5191, allocations: 4 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.132e-06/0.5191, allocations: 0 / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.5192, allocations: 0 / 1.02 GB, free: 15.67 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: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0005621/0.5197, allocations: 451.1 kB / 1.021 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/0.5198, allocations: 8.031 kB / 1.021 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.159e-05/0.5198, allocations: 46.69 kB / 1.021 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.872e-05/0.5199, allocations: 16.75 kB / 1.021 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003849/0.5202, allocations: 258.1 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.5203, allocations: 12.66 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.975e-05/0.5203, allocations: 12.38 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002903/0.5206, allocations: 140.4 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.5206, allocations: 3.938 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/0.5206, allocations: 8 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.5206, allocations: 4 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003193/0.521, allocations: 124.7 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005551/0.5215, allocations: 468 kB / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002536/0.5218, allocations: 110.5 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001418/0.5219, allocations: 48.89 kB / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.93e-05/0.522, allocations: 4 kB / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.444e-05/0.522, allocations: 38.56 kB / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=11): time 1.423e-06/0.522, allocations: 0 / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.0005087/0.5225, allocations: 169.4 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.33e-05/0.5226, allocations: 55.41 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.5227, allocations: 154.6 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.5227, allocations: 25.7 kB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.011e-05/0.5228, allocations: 127.8 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.694e-05/0.5228, allocations: 35.53 kB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.567e-05/0.5229, allocations: 37.7 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.769e-05/0.523, allocations: 326.8 kB / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001389/0.5231, allocations: 35.97 kB / 1.023 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000152/0.5233, allocations: 79.27 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002662/0.5235, allocations: 107.6 kB / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.5235, allocations: 8 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003326/0.5239, allocations: 149.4 kB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.5239, allocations: 6.031 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.5239, allocations: 4 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.5239, allocations: 0 / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001564/0.5241, allocations: 27.97 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.5241, allocations: 0 / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.71e-05/0.5242, allocations: 27.92 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.182e-05/0.5242, allocations: 7.938 kB / 1.023 GB, free: 12.35 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.ifSetUp.y,actAirSet.ifCooDow.y,actAirSet.ifOcc.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.69e-05/0.5243, allocations: 129.7 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.159e-05/0.5244, allocations: 7.906 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.364e-05/0.5244, allocations: 20.7 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.5244, allocations: 0 / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.5244, allocations: 3.938 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.5244, allocations: 0 / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002114/0.5246, allocations: 233.5 kB / 1.024 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-06/0.5246, allocations: 0 / 1.024 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001174/0.5248, allocations: 23.97 kB / 1.024 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.5248, allocations: 0 / 1.024 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.5248, allocations: 4 kB / 1.024 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.5248, allocations: 4 kB / 1.024 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.5248, allocations: 0 / 1.024 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003414/0.5251, allocations: 231.2 kB / 1.024 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.486e-05/0.5252, allocations: 88.95 kB / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.108e-05/0.5252, allocations: 4 kB / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.5253, allocations: 7.984 kB / 1.024 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.52e-05/0.5254, allocations: 19.97 kB / 1.024 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-06/0.5254, allocations: 4 kB / 1.024 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.215e-05/0.5255, allocations: 111.2 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.5255, allocations: 0 / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002399/0.5257, allocations: 27.91 kB / 1.024 GB, free: 11.35 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.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.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.0005755/0.5263, allocations: 0.7631 MB / 1.025 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003348/0.5267, allocations: 120.1 kB / 1.025 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.5267, allocations: 0 / 1.025 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001567/0.5268, allocations: 56.12 kB / 1.025 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002908/0.5271, allocations: 20.14 kB / 1.025 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001827/0.529, allocations: 1.703 MB / 1.027 GB, free: 8.57 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000211/0.5292, allocations: 0.7162 MB / 1.027 GB, free: 7.828 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.669e-05/0.5293, allocations: 20.62 kB / 1.027 GB, free: 7.809 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.612e-05/0.5294, allocations: 47.42 kB / 1.027 GB, free: 7.762 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.5294, allocations: 0 / 1.027 GB, free: 7.762 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01666/0.546, allocations: 2.678 MB / 1.03 GB, free: 5.262 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.623/7.169, allocations: 9.781 kB / 1.03 GB, free: 5.258 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.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_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches