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.002088/0.002088, allocations: 112.5 kB / 15.73 MB, free: 76 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.00228/0.00228, allocations: 192 kB / 16.67 MB, free: 6.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.458/2.458, allocations: 222.9 MB / 240.4 MB, free: 4.352 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 5.402/5.402, allocations: 437 MB / 0.7105 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002825/0.002825, allocations: 63.89 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4833/0.4862, allocations: 151.6 MB / 1.166 GB, free: 7.293 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.003346/0.4896, allocations: 0.9977 MB / 1.167 GB, free: 6.285 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001973/0.4916, allocations: 0.9753 MB / 1.168 GB, free: 5.297 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001095/0.4917, allocations: 3.938 kB / 1.168 GB, free: 5.293 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 9.163e-05/0.4918, allocations: 11.81 kB / 1.168 GB, free: 5.281 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002055/0.4921, allocations: 27.72 kB / 1.168 GB, free: 5.254 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003179/0.4924, allocations: 55.94 kB / 1.168 GB, free: 5.199 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003164/0.4927, allocations: 159.7 kB / 1.168 GB, free: 5.043 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003079/0.4931, allocations: 84.19 kB / 1.168 GB, free: 4.961 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002239/0.4933, allocations: 71.7 kB / 1.169 GB, free: 4.891 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002076/0.4935, allocations: 75.56 kB / 1.169 GB, free: 4.816 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 5.111e-05/0.4936, allocations: 16 kB / 1.169 GB, free: 4.801 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 3.984e-05/0.4936, allocations: 16 kB / 1.169 GB, free: 4.785 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 6.201e-05/0.4937, allocations: 35.91 kB / 1.169 GB, free: 4.75 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.000107/0.4938, allocations: 67.61 kB / 1.169 GB, free: 4.684 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004242/0.4943, allocations: 211.3 kB / 1.169 GB, free: 4.477 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.4943, allocations: 4 kB / 1.169 GB, free: 4.473 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.763e-06/0.4943, allocations: 0 / 1.169 GB, free: 4.473 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.552e-06/0.4943, allocations: 0 / 1.169 GB, free: 4.473 MB / 0.92 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.00106/0.4954, allocations: 451 kB / 1.169 GB, free: 3.977 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.114e-05/0.4955, allocations: 8.031 kB / 1.169 GB, free: 3.969 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.903e-05/0.4956, allocations: 46.73 kB / 1.169 GB, free: 3.914 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.362e-05/0.4956, allocations: 16.84 kB / 1.169 GB, free: 3.898 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007391/0.4964, allocations: 258.5 kB / 1.17 GB, free: 3.609 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.557e-05/0.4964, allocations: 12.66 kB / 1.17 GB, free: 3.598 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.052e-05/0.4965, allocations: 12.38 kB / 1.17 GB, free: 3.586 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005842/0.4971, allocations: 144.4 kB / 1.17 GB, free: 3.441 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/0.4971, allocations: 3.938 kB / 1.17 GB, free: 3.438 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.7e-05/0.4972, allocations: 8 kB / 1.17 GB, free: 3.43 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/0.4972, allocations: 4 kB / 1.17 GB, free: 3.426 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006435/0.4978, allocations: 120.7 kB / 1.17 GB, free: 3.309 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001152/0.499, allocations: 468.2 kB / 1.17 GB, free: 2.801 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005438/0.4996, allocations: 106.7 kB / 1.171 GB, free: 2.688 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002861/0.4999, allocations: 52.83 kB / 1.171 GB, free: 2.633 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.09e-05/0.4999, allocations: 0 / 1.171 GB, free: 2.633 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.448e-05/0.5, allocations: 34.5 kB / 1.171 GB, free: 2.59 MB / 0.92 GB Notification: Performance of pre-optimization done (n=11): time 5.741e-06/0.5, allocations: 7.922 kB / 1.171 GB, free: 2.582 MB / 0.92 GB Notification: Performance of matching and sorting (n=11): time 0.00522/0.5052, allocations: 169.5 kB / 1.171 GB, free: 2.41 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.766e-05/0.5054, allocations: 51.41 kB / 1.171 GB, free: 2.348 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003252/0.5057, allocations: 156.8 kB / 1.171 GB, free: 2.184 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.882e-05/0.5058, allocations: 25.7 kB / 1.171 GB, free: 2.152 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001605/0.506, allocations: 131.8 kB / 1.171 GB, free: 2.02 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 6.18e-05/0.506, allocations: 27.75 kB / 1.171 GB, free: 1.992 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001313/0.5062, allocations: 37.69 kB / 1.171 GB, free: 1.949 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002223/0.5064, allocations: 330.8 kB / 1.171 GB, free: 1.617 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003063/0.5068, allocations: 43.97 kB / 1.172 GB, free: 1.574 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003387/0.5071, allocations: 67.34 kB / 1.172 GB, free: 1.496 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005923/0.5077, allocations: 107.8 kB / 1.172 GB, free: 1.379 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.144e-05/0.5077, allocations: 0 / 1.172 GB, free: 1.379 MB / 0.92 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0008385/0.5086, allocations: 153.3 kB / 1.172 GB, free: 1.223 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.31e-05/0.5087, allocations: 8 kB / 1.172 GB, free: 1.215 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.5087, allocations: 4.094 kB / 1.172 GB, free: 1.211 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.102e-05/0.5087, allocations: 4 kB / 1.172 GB, free: 1.207 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003355/0.5091, allocations: 23.97 kB / 1.172 GB, free: 1.184 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.035e-05/0.5091, allocations: 4 kB / 1.172 GB, free: 1.18 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001901/0.5093, allocations: 19.81 kB / 1.172 GB, free: 1.16 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.993e-05/0.5094, allocations: 8 kB / 1.172 GB, free: 1.152 MB / 0.92 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 0.0002221/0.5096, allocations: 125.8 kB / 1.172 GB, free: 1.02 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.514e-05/0.5097, allocations: 15.95 kB / 1.172 GB, free: 1.004 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.406e-05/0.5098, allocations: 12.72 kB / 1.172 GB, free: 0.9922 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/0.5098, allocations: 4 kB / 1.172 GB, free: 0.9883 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.119e-05/0.5098, allocations: 3.984 kB / 1.172 GB, free: 0.9844 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.5098, allocations: 0 / 1.172 GB, free: 0.9844 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004987/0.5103, allocations: 233.5 kB / 1.172 GB, free: 0.707 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/0.5104, allocations: 0 / 1.172 GB, free: 0.707 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002184/0.5106, allocations: 19.97 kB / 1.172 GB, free: 0.6875 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.126e-05/0.5106, allocations: 7.938 kB / 1.172 GB, free: 0.6797 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.107e-05/0.5107, allocations: 7.938 kB / 1.172 GB, free: 0.6719 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.5107, allocations: 4 kB / 1.172 GB, free: 0.668 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.5107, allocations: 0 / 1.172 GB, free: 0.668 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007817/0.5115, allocations: 231.3 kB / 1.173 GB, free: 436 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 9.453e-05/0.5116, allocations: 88.95 kB / 1.173 GB, free: 328 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.807e-05/0.5117, allocations: 4 kB / 1.173 GB, free: 324 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002263/0.5119, allocations: 15.98 kB / 1.173 GB, free: 308 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001204/0.512, allocations: 11.98 kB / 1.173 GB, free: 296 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.776e-05/0.5121, allocations: 7.984 kB / 1.173 GB, free: 288 kB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001592/0.5122, allocations: 109.3 kB / 1.173 GB, free: 180 kB / 0.92 GB Notification: Performance of sort global known variables: time 3.91e-07/0.5123, allocations: 0 / 1.173 GB, free: 180 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.0005217/0.5128, allocations: 27.95 kB / 1.173 GB, free: 152 kB / 0.92 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.001408/0.5142, allocations: 0.7709 MB / 1.174 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0006838/0.5149, allocations: 99.88 kB / 1.174 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.515, allocations: 0 / 1.174 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003263/0.5153, allocations: 68.08 kB / 1.174 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006201/0.5159, allocations: 18.39 kB / 1.174 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008404/0.5244, allocations: 1.726 MB / 1.175 GB, free: 13.35 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005549/0.525, allocations: 0.7162 MB / 1.176 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001783/0.5252, allocations: 16.64 kB / 1.176 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001614/0.5254, allocations: 47.41 kB / 1.176 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of SimCode: time 1.062e-06/0.5254, allocations: 0 / 1.176 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08601/0.6114, allocations: 2.719 MB / 1.179 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.41/18.02, allocations: 12.69 kB / 1.179 GB, free: 10.01 MB / 0.9356 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