Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.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.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_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.001265/0.001265, 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.001225/0.001225, allocations: 194.3 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.245/1.245, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.384/2.384, allocations: 437.1 MB / 0.7104 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 63.91 kB / 0.8694 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4868/0.488, allocations: 151.6 MB / 1.017 GB, free: 2.422 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.002111/0.4901, allocations: 1.007 MB / 1.018 GB, free: 1.414 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001008/0.4911, allocations: 0.9674 MB / 1.019 GB, free: 444 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.142e-05/0.4912, allocations: 4 kB / 1.019 GB, free: 440 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.232e-05/0.4913, allocations: 19.8 kB / 1.019 GB, free: 420 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 9.612e-05/0.4914, allocations: 19.73 kB / 1.019 GB, free: 400 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001736/0.4916, allocations: 55.88 kB / 1.019 GB, free: 344 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001515/0.4917, allocations: 159.6 kB / 1.02 GB, free: 184 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001733/0.4919, allocations: 96.16 kB / 1.02 GB, free: 84 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001237/0.492, allocations: 63.72 kB / 1.02 GB, free: 20 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001062/0.4922, allocations: 75.67 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.014e-05/0.4922, allocations: 16 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 2.311e-05/0.4922, allocations: 16 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.277e-05/0.4923, allocations: 31.86 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.132e-05/0.4923, allocations: 71.66 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001862/0.4925, allocations: 197.6 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.4925, allocations: 0 / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.232e-06/0.4925, allocations: 0 / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.4925, allocations: 4 kB / 1.02 GB, free: 15.62 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.0005617/0.4931, allocations: 447.1 kB / 1.021 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.18e-05/0.4931, allocations: 8.031 kB / 1.021 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.788e-05/0.4932, allocations: 50.73 kB / 1.021 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.69e-05/0.4932, allocations: 16.75 kB / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003941/0.4936, allocations: 253.6 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.4937, allocations: 12.66 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.473e-05/0.4937, allocations: 16.36 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002896/0.494, allocations: 140.4 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.494, allocations: 3.938 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.511e-05/0.494, allocations: 7.938 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.494, allocations: 4 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003142/0.4944, allocations: 120.6 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005684/0.4949, allocations: 476 kB / 1.022 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002597/0.4952, allocations: 106.6 kB / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001426/0.4954, allocations: 52.89 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.509e-05/0.4954, allocations: 0 / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.841e-05/0.4954, allocations: 34.56 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=11): time 1.012e-06/0.4954, allocations: 0 / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.0005039/0.4959, allocations: 169.8 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.754e-05/0.496, allocations: 51.41 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.4961, allocations: 161.5 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.4961, allocations: 25.7 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.099e-05/0.4962, allocations: 123.8 kB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.794e-05/0.4962, allocations: 35.53 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.312e-05/0.4963, allocations: 41.7 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.166e-05/0.4964, allocations: 326.8 kB / 1.023 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001448/0.4965, allocations: 39.97 kB / 1.023 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001518/0.4967, allocations: 67.39 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002756/0.4969, allocations: 119.3 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.497, allocations: 4 kB / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003354/0.4973, allocations: 145.5 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.4973, allocations: 8 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.4973, allocations: 0 / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.4973, allocations: 0 / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001552/0.4975, allocations: 27.92 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.4975, allocations: 0 / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.836e-05/0.4976, allocations: 23.83 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.4976, allocations: 7.938 kB / 1.023 GB, free: 12.3 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.739e-05/0.4977, allocations: 129.9 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.268e-05/0.4978, allocations: 11.89 kB / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.207e-05/0.4978, allocations: 16.72 kB / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.4978, allocations: 0 / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.4978, allocations: 4 kB / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.4978, allocations: 0 / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002112/0.498, allocations: 233.4 kB / 1.024 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.498, allocations: 0 / 1.024 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001182/0.4982, allocations: 23.92 kB / 1.024 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.4982, allocations: 0 / 1.024 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.4982, allocations: 8 kB / 1.024 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.4982, allocations: 3.938 kB / 1.024 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.4982, allocations: 3.984 kB / 1.024 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003451/0.4986, allocations: 219.3 kB / 1.024 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.217e-05/0.4986, allocations: 100.9 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.002e-05/0.4986, allocations: 4 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.4988, allocations: 11.98 kB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.929e-05/0.4988, allocations: 11.98 kB / 1.024 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.885e-06/0.4988, allocations: 7.938 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.363e-05/0.4989, allocations: 115.2 kB / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4989, allocations: 0 / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002431/0.4992, allocations: 23.91 kB / 1.024 GB, free: 11.29 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.000569/0.4997, allocations: 0.7592 MB / 1.025 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003415/0.5001, allocations: 124.1 kB / 1.025 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.5001, allocations: 0 / 1.025 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001509/0.5003, allocations: 60.11 kB / 1.025 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002779/0.5005, allocations: 15.94 kB / 1.025 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001843/0.5024, allocations: 1.705 MB / 1.027 GB, free: 8.516 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002265/0.5026, allocations: 0.7162 MB / 1.027 GB, free: 7.773 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.82e-05/0.5027, allocations: 16.64 kB / 1.027 GB, free: 7.758 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.606e-05/0.5028, allocations: 43.42 kB / 1.027 GB, free: 7.715 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.5028, allocations: 0 / 1.027 GB, free: 7.715 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01674/0.5196, allocations: 2.677 MB / 1.03 GB, free: 5.215 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.641/7.161, allocations: 12.66 kB / 1.03 GB, free: 5.203 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.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_SeriesFanCVF_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches