Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.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.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanVVF_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanVVF_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.00117/0.00117, 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.001163/0.001163, allocations: 194.4 kB / 16.53 MB, free: 6.699 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.179/1.179, allocations: 222.9 MB / 240.2 MB, free: 4.375 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.086/2.086, allocations: 390.3 MB / 0.6647 GB, free: 240 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 63.89 kB / 0.8127 GB, free: 14.07 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4664/0.4676, allocations: 140.4 MB / 0.9498 GB, free: 9.203 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.001887/0.4696, allocations: 0.9904 MB / 0.9507 GB, free: 8.43 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008322/0.4704, allocations: 0.9726 MB / 0.9517 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.706e-05/0.4705, allocations: 3.031 kB / 0.9517 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.15e-05/0.4706, allocations: 15.8 kB / 0.9517 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.998e-05/0.4707, allocations: 13.69 kB / 0.9517 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000172/0.4708, allocations: 68.08 kB / 0.9518 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001225/0.471, allocations: 152.8 kB / 0.9519 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00015/0.4711, allocations: 96.73 kB / 0.952 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001147/0.4712, allocations: 64.38 kB / 0.9521 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.855e-05/0.4713, allocations: 74.56 kB / 0.9522 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.738e-05/0.4714, allocations: 15.81 kB / 0.9522 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.26e-05/0.4714, allocations: 17.28 kB / 0.9522 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.596e-05/0.4714, allocations: 32.53 kB / 0.9522 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.914e-05/0.4715, allocations: 71.41 kB / 0.9523 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001501/0.4716, allocations: 197.6 kB / 0.9525 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.4716, allocations: 0.9375 kB / 0.9525 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.583e-06/0.4716, allocations: 4 kB / 0.9525 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.4717, allocations: 3.938 kB / 0.9525 GB, free: 7.039 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.0004758/0.4721, allocations: 449.8 kB / 0.9529 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.4722, allocations: 10.12 kB / 0.9529 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.174e-05/0.4722, allocations: 47.14 kB / 0.953 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.509e-05/0.4722, allocations: 16.62 kB / 0.953 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003365/0.4726, allocations: 256.3 kB / 0.9532 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.4726, allocations: 15.25 kB / 0.9532 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.876e-05/0.4726, allocations: 13.03 kB / 0.9533 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002634/0.4729, allocations: 145.8 kB / 0.9534 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.4729, allocations: 0 / 0.9534 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.4729, allocations: 5.656 kB / 0.9534 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.473, allocations: 2.844 kB / 0.9534 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002905/0.4732, allocations: 113.2 kB / 0.9535 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004649/0.4737, allocations: 484.5 kB / 0.954 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002348/0.474, allocations: 103.2 kB / 0.9541 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001303/0.4741, allocations: 49.86 kB / 0.9541 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.701e-05/0.4741, allocations: 1.125 kB / 0.9541 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.442e-05/0.4741, allocations: 35.86 kB / 0.9542 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.122e-06/0.4742, allocations: 7.938 kB / 0.9542 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0004617/0.4746, allocations: 168 kB / 0.9543 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.989e-05/0.4746, allocations: 56.66 kB / 0.9544 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.256e-05/0.4747, allocations: 153.1 kB / 0.9545 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.042e-05/0.4748, allocations: 29.7 kB / 0.9545 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.952e-05/0.4748, allocations: 123 kB / 0.9547 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.143e-05/0.4748, allocations: 36.42 kB / 0.9547 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.749e-05/0.4749, allocations: 33.42 kB / 0.9547 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.632e-05/0.4749, allocations: 326.3 kB / 0.955 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001304/0.475, allocations: 41.72 kB / 0.9551 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001311/0.4752, allocations: 74.77 kB / 0.9552 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002391/0.4754, allocations: 105 kB / 0.9553 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.4754, allocations: 0 / 0.9553 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003063/0.4758, allocations: 151.9 kB / 0.9554 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.4758, allocations: 5 kB / 0.9554 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.4758, allocations: 1.469 kB / 0.9554 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.4758, allocations: 1.281 kB / 0.9554 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001454/0.4759, allocations: 26.39 kB / 0.9554 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.9e-06/0.476, allocations: 1.406 kB / 0.9554 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.887e-05/0.4761, allocations: 23.17 kB / 0.9555 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.4761, allocations: 10.03 kB / 0.9555 GB, free: 4.441 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.657e-05/0.4761, allocations: 135.5 kB / 0.9556 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.006e-05/0.4762, allocations: 7.594 kB / 0.9556 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.781e-05/0.4762, allocations: 11.25 kB / 0.9556 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.4762, allocations: 1.281 kB / 0.9556 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.4762, allocations: 0 / 0.9556 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.4762, allocations: 3.938 kB / 0.9556 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001627/0.4764, allocations: 233.1 kB / 0.9558 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.4764, allocations: 5.094 kB / 0.9558 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001128/0.4765, allocations: 21.52 kB / 0.9559 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.4765, allocations: 4.969 kB / 0.9559 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.4765, allocations: 1.125 kB / 0.9559 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.4765, allocations: 4.984 kB / 0.9559 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.4766, allocations: 3.938 kB / 0.9559 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002919/0.4768, allocations: 225.7 kB / 0.9561 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.957e-05/0.4769, allocations: 96.52 kB / 0.9562 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.86e-05/0.4769, allocations: 0 / 0.9562 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.477, allocations: 9.359 kB / 0.9562 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.662e-05/0.4771, allocations: 15.17 kB / 0.9562 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.775e-06/0.4771, allocations: 9.75 kB / 0.9562 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.489e-05/0.4771, allocations: 113.2 kB / 0.9563 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4771, allocations: 0 / 0.9563 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002385/0.4774, allocations: 28.84 kB / 0.9564 GB, free: 3.613 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.00045/0.4778, allocations: 0.7707 MB / 0.9571 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003082/0.4782, allocations: 113.6 kB / 0.9572 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.4782, allocations: 1.188 kB / 0.9572 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001363/0.4783, allocations: 61.27 kB / 0.9573 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002668/0.4786, allocations: 13.22 kB / 0.9573 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001543/0.4801, allocations: 1.709 MB / 0.959 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001009/0.4802, allocations: 0.7157 MB / 0.9597 GB, free: 0.5938 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 8.251e-05/0.4803, allocations: 20.88 kB / 0.9597 GB, free: 0.582 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.708e-05/0.4804, allocations: 47.67 kB / 0.9597 GB, free: 0.543 MB / 0.7169 GB Notification: Performance of SimCode: time 2.11e-07/0.4804, allocations: 0 / 0.9597 GB, free: 0.543 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0174/0.4978, allocations: 2.678 MB / 0.9623 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.372/6.87, allocations: 15.5 kB / 0.9624 GB, free: 15.22 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.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_ParallelFanVVF_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanVVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches