Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.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.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanCVF_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanCVF_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.001239/0.001239, 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.001218/0.001218, allocations: 195.9 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.216/1.216, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.362/2.362, allocations: 437.1 MB / 0.7104 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 63.91 kB / 0.8694 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5046/0.5058, allocations: 151.6 MB / 1.017 GB, free: 2.477 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.002109/0.508, allocations: 1.012 MB / 1.018 GB, free: 1.461 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009595/0.509, allocations: 0.9636 MB / 1.019 GB, free: 496 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.292e-05/0.509, allocations: 7.938 kB / 1.019 GB, free: 488 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.089e-05/0.5091, allocations: 15.81 kB / 1.019 GB, free: 472 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 9.476e-05/0.5092, allocations: 19.8 kB / 1.019 GB, free: 452 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001753/0.5094, allocations: 63.86 kB / 1.019 GB, free: 388 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001439/0.5095, allocations: 155.6 kB / 1.02 GB, free: 232 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001714/0.5097, allocations: 84.17 kB / 1.02 GB, free: 144 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001322/0.5099, allocations: 71.72 kB / 1.02 GB, free: 72 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.831e-05/0.51, allocations: 67.69 kB / 1.02 GB, free: 4 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 3.877e-05/0.51, allocations: 16.05 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 2.403e-05/0.51, allocations: 16 kB / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.503e-05/0.5101, allocations: 43.78 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.845e-05/0.5101, allocations: 67.66 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001711/0.5103, allocations: 193.6 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.5103, allocations: 0 / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.162e-06/0.5103, allocations: 4 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.119e-06/0.5103, 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.0005582/0.5109, allocations: 447.1 kB / 1.021 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.5109, allocations: 16.02 kB / 1.021 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.068e-05/0.511, allocations: 46.69 kB / 1.021 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.641e-05/0.511, allocations: 16.75 kB / 1.021 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003754/0.5114, allocations: 252.3 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.5114, allocations: 12.59 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.283e-05/0.5115, allocations: 20.38 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002985/0.5118, allocations: 140.4 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.5118, allocations: 3.938 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.5118, allocations: 4 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.5118, allocations: 4 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000312/0.5121, allocations: 116.7 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005502/0.5127, allocations: 484 kB / 1.022 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002565/0.513, allocations: 110.6 kB / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000139/0.5131, allocations: 48.83 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.687e-05/0.5131, allocations: 0 / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.139e-05/0.5132, allocations: 30.56 kB / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=11): time 9.82e-07/0.5132, allocations: 4 kB / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.0004931/0.5137, allocations: 173.4 kB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.31e-05/0.5137, allocations: 51.41 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.5138, allocations: 154.3 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.896e-05/0.5138, allocations: 33.7 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.548e-05/0.5139, allocations: 119.8 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.549e-05/0.5139, allocations: 31.55 kB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.117e-05/0.514, allocations: 37.7 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.535e-05/0.5141, allocations: 326.8 kB / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001425/0.5142, allocations: 43.97 kB / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000151/0.5144, allocations: 71.39 kB / 1.023 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002713/0.5147, allocations: 111.7 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.5147, allocations: 0 / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003365/0.515, allocations: 153.4 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.515, allocations: 6.031 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.5151, allocations: 0 / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.5151, allocations: 4 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001516/0.5152, allocations: 27.97 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.5152, allocations: 4 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.594e-05/0.5153, allocations: 15.83 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.5154, 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.87e-05/0.5155, allocations: 140.3 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.134e-05/0.5155, allocations: 11.91 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.103e-05/0.5155, allocations: 16.7 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.5155, allocations: 4 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.5155, allocations: 0 / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-06/0.5155, allocations: 0 / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002058/0.5158, allocations: 233.4 kB / 1.024 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.5158, allocations: 0 / 1.024 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001196/0.5159, allocations: 19.97 kB / 1.024 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.5159, allocations: 8 kB / 1.024 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.776e-06/0.5159, allocations: 0 / 1.024 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.5159, allocations: 0 / 1.024 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.5159, allocations: 0 / 1.024 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003467/0.5163, allocations: 235.2 kB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.255e-05/0.5163, allocations: 84.95 kB / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.875e-05/0.5163, allocations: 11.94 kB / 1.024 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/0.5165, allocations: 7.984 kB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.066e-05/0.5165, allocations: 23.97 kB / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-06/0.5165, allocations: 0 / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.214e-05/0.5166, allocations: 111.2 kB / 1.024 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5166, allocations: 0 / 1.024 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002383/0.5169, allocations: 23.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.0005799/0.5174, allocations: 0.7709 MB / 1.025 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003435/0.5178, allocations: 112 kB / 1.025 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.5178, allocations: 8 kB / 1.025 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001479/0.518, allocations: 55.91 kB / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002743/0.5182, allocations: 16.7 kB / 1.025 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001814/0.5201, allocations: 1.703 MB / 1.027 GB, free: 8.562 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002035/0.5203, allocations: 0.7123 MB / 1.027 GB, free: 7.824 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.349e-05/0.5204, allocations: 16.66 kB / 1.027 GB, free: 7.809 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.524e-05/0.5204, allocations: 51.41 kB / 1.027 GB, free: 7.758 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.5205, allocations: 0 / 1.027 GB, free: 7.758 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01753/0.538, allocations: 2.68 MB / 1.03 GB, free: 5.262 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.482/7.02, allocations: 9.938 kB / 1.03 GB, free: 5.254 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.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_ParallelFanCVF_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanCVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches