Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001286/0.001286, 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.001298/0.001298, allocations: 197 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.18/1.18, 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 9.1.3-maint.9.1.x/package.mo): time 2.049/2.049, allocations: 390.2 MB / 0.6647 GB, free: 416 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001185, allocations: 59.91 kB / 0.8127 GB, free: 14.29 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4775/0.4787, allocations: 140.4 MB / 0.9498 GB, free: 9.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.001835/0.4806, allocations: 1.002 MB / 0.9508 GB, free: 8.363 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007318/0.4813, allocations: 0.969 MB / 0.9517 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.576e-05/0.4814, allocations: 2.531 kB / 0.9517 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.839e-05/0.4815, allocations: 23.73 kB / 0.9517 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.929e-05/0.4815, allocations: 18.36 kB / 0.9517 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001517/0.4817, allocations: 60.66 kB / 0.9518 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001224/0.4818, allocations: 156 kB / 0.9519 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001493/0.482, allocations: 85.12 kB / 0.952 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001079/0.4821, allocations: 71.89 kB / 0.9521 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.604e-05/0.4822, allocations: 70.72 kB / 0.9522 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.773e-05/0.4822, allocations: 16.59 kB / 0.9522 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.32e-05/0.4822, allocations: 16.25 kB / 0.9522 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.839e-05/0.4823, allocations: 40.36 kB / 0.9522 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.706e-05/0.4823, allocations: 69.55 kB / 0.9523 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001379/0.4825, allocations: 193.2 kB / 0.9525 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.4825, allocations: 0 / 0.9525 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.092e-06/0.4825, allocations: 0 / 0.9525 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.4825, allocations: 5.266 kB / 0.9525 GB, free: 6.98 MB / 0.7169 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.0004694/0.483, allocations: 448.7 kB / 0.9529 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.174e-05/0.483, allocations: 9.438 kB / 0.9529 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.314e-05/0.483, allocations: 47.7 kB / 0.953 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.335e-05/0.4831, allocations: 16.12 kB / 0.953 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003269/0.4834, allocations: 253.1 kB / 0.9532 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.817e-05/0.4834, allocations: 18.62 kB / 0.9532 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.887e-05/0.4835, allocations: 12.78 kB / 0.9533 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002622/0.4837, allocations: 145.4 kB / 0.9534 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.4837, allocations: 0 / 0.9534 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.4838, allocations: 5.281 kB / 0.9534 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.391e-06/0.4838, allocations: 3.906 kB / 0.9534 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002934/0.4841, allocations: 113.5 kB / 0.9535 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004544/0.4845, allocations: 485.9 kB / 0.954 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002348/0.4848, allocations: 106.3 kB / 0.9541 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001292/0.4849, allocations: 53.16 kB / 0.9541 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.639e-05/0.4849, allocations: 1.156 kB / 0.9541 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.242e-05/0.485, allocations: 31.94 kB / 0.9542 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.143e-06/0.485, allocations: 0 / 0.9542 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0004667/0.4854, allocations: 172.4 kB / 0.9543 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.884e-05/0.4855, allocations: 55.34 kB / 0.9544 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.495e-05/0.4855, allocations: 156.8 kB / 0.9545 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.959e-06/0.4856, allocations: 26.7 kB / 0.9546 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.776e-05/0.4856, allocations: 126.7 kB / 0.9547 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.077e-05/0.4856, allocations: 28.38 kB / 0.9547 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.648e-05/0.4857, allocations: 41.48 kB / 0.9547 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.658e-05/0.4857, allocations: 325.8 kB / 0.9551 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001301/0.4859, allocations: 42.33 kB / 0.9551 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000133/0.486, allocations: 66.78 kB / 0.9552 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002404/0.4862, allocations: 108.2 kB / 0.9553 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.4863, allocations: 1.188 kB / 0.9553 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003131/0.4866, allocations: 150.8 kB / 0.9554 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.4866, allocations: 5.906 kB / 0.9554 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.4866, allocations: 1.438 kB / 0.9554 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.4866, allocations: 1.438 kB / 0.9554 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001461/0.4868, allocations: 29.84 kB / 0.9554 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.4868, allocations: 2.281 kB / 0.9554 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.422e-05/0.4869, allocations: 21.91 kB / 0.9555 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.4869, allocations: 11.64 kB / 0.9555 GB, free: 4.375 MB / 0.7169 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 6.401e-05/0.487, allocations: 132.8 kB / 0.9556 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.038e-05/0.487, allocations: 9.094 kB / 0.9556 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.751e-05/0.487, allocations: 15.06 kB / 0.9556 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.487, allocations: 2.25 kB / 0.9556 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.487, allocations: 0 / 0.9556 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.487, allocations: 3.938 kB / 0.9556 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001569/0.4872, allocations: 233.5 kB / 0.9559 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.4872, allocations: 0 / 0.9559 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000113/0.4873, allocations: 18.92 kB / 0.9559 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.4873, allocations: 11.92 kB / 0.9559 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.4874, allocations: 1.5 kB / 0.9559 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.4874, allocations: 1.438 kB / 0.9559 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.4874, allocations: 0 / 0.9559 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003024/0.4877, allocations: 229.5 kB / 0.9561 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.996e-05/0.4877, allocations: 95.64 kB / 0.9562 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.916e-05/0.4877, allocations: 1.312 kB / 0.9562 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.4878, allocations: 13.86 kB / 0.9562 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.157e-05/0.4879, allocations: 14.23 kB / 0.9562 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.193e-06/0.4879, allocations: 6.75 kB / 0.9562 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.233e-05/0.488, allocations: 111.2 kB / 0.9563 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.488, allocations: 0 / 0.9563 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002271/0.4882, allocations: 25.62 kB / 0.9564 GB, free: 3.555 MB / 0.7169 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.0004435/0.4886, allocations: 0.7683 MB / 0.9571 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000305/0.4889, allocations: 122.3 kB / 0.9572 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.489, allocations: 0 / 0.9572 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001388/0.4891, allocations: 57.61 kB / 0.9573 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002587/0.4894, allocations: 18.12 kB / 0.9573 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001526/0.4909, allocations: 1.709 MB / 0.959 GB, free: 1.246 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.69e-05/0.491, allocations: 0.7176 MB / 0.9597 GB, free: 0.5273 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 8.199e-05/0.4911, allocations: 17.73 kB / 0.9597 GB, free: 0.5195 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.389e-05/0.4912, allocations: 43.08 kB / 0.9597 GB, free: 496 kB / 0.7169 GB Notification: Performance of SimCode: time 2.6e-07/0.4912, allocations: 1.438 kB / 0.9597 GB, free: 496 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01728/0.5085, allocations: 2.672 MB / 0.9623 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.517/7.026, allocations: 13.72 kB / 0.9623 GB, free: 15.16 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches