Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.CoolingOnly.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_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.00516/0.00516, allocations: 101.8 kB / 15.73 MB, free: 5.555 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001526/0.001526, allocations: 193.2 kB / 16.68 MB, free: 5.484 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.42/1.42, allocations: 222.9 MB / 240.4 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.844/2.844, allocations: 469.8 MB / 0.7425 GB, free: 7.336 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 67.89 kB / 1.065 GB, free: 13.54 MB / 0.8263 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2679/0.2698, allocations: 159.1 MB / 1.22 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow): time 0.002217/0.2721, allocations: 1.026 MB / 1.221 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001163/0.2733, allocations: 0.9713 MB / 1.222 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.08e-05/0.2733, allocations: 4 kB / 1.222 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 6.103e-05/0.2734, allocations: 19.73 kB / 1.222 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.559e-05/0.2735, allocations: 19.78 kB / 1.222 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001867/0.2737, allocations: 67.88 kB / 1.222 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002019/0.2739, allocations: 168 kB / 1.222 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001888/0.2741, allocations: 100.3 kB / 1.223 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001348/0.2743, allocations: 67.72 kB / 1.223 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001195/0.2744, allocations: 79.61 kB / 1.223 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.418e-05/0.2744, allocations: 20 kB / 1.223 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 2.666e-05/0.2745, allocations: 16 kB / 1.223 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.217e-05/0.2745, allocations: 35.91 kB / 1.223 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.572e-05/0.2746, allocations: 71.61 kB / 1.223 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002548/0.2749, allocations: 219 kB / 1.223 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.2749, allocations: 0 / 1.223 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.162e-06/0.2749, allocations: 4 kB / 1.223 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.2749, allocations: 0 / 1.223 GB, free: 11.39 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0006888/0.2756, allocations: 456.4 kB / 1.223 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.153e-05/0.2756, allocations: 11.97 kB / 1.223 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.835e-05/0.2757, allocations: 54.73 kB / 1.223 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.003e-05/0.2757, allocations: 24.73 kB / 1.224 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004475/0.2762, allocations: 256 kB / 1.224 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.331e-05/0.2762, allocations: 12.38 kB / 1.224 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.252e-05/0.2762, allocations: 16.31 kB / 1.224 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003529/0.2766, allocations: 150.9 kB / 1.224 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.2766, allocations: 3.938 kB / 1.224 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/0.2766, allocations: 8 kB / 1.224 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.2767, allocations: 4 kB / 1.224 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003725/0.277, allocations: 119.9 kB / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006928/0.2777, allocations: 492.1 kB / 1.225 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003115/0.2781, allocations: 110.7 kB / 1.225 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001668/0.2782, allocations: 56.81 kB / 1.225 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.195e-05/0.2783, allocations: 4 kB / 1.225 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.349e-05/0.2783, allocations: 34.5 kB / 1.225 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=12): time 1.202e-06/0.2783, allocations: 0 / 1.225 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12): time 0.0005828/0.2789, allocations: 177.5 kB / 1.225 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.573e-05/0.279, allocations: 59.39 kB / 1.225 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001469/0.2791, allocations: 153.8 kB / 1.225 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.905e-05/0.2791, allocations: 29.7 kB / 1.225 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.812e-05/0.2792, allocations: 124.4 kB / 1.225 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.874e-05/0.2793, allocations: 27.75 kB / 1.225 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.242e-05/0.2793, allocations: 49.62 kB / 1.225 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.2795, allocations: 322.8 kB / 1.226 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001637/0.2797, allocations: 51.91 kB / 1.226 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001818/0.2798, allocations: 77.16 kB / 1.226 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003141/0.2802, allocations: 111.3 kB / 1.226 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.2802, allocations: 0 / 1.226 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003937/0.2806, allocations: 149.5 kB / 1.226 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.2806, allocations: 9.875 kB / 1.226 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.2806, allocations: 0 / 1.226 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.2806, allocations: 8.078 kB / 1.226 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000163/0.2808, allocations: 27.92 kB / 1.226 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.2808, allocations: 3.938 kB / 1.226 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000101/0.2809, allocations: 11.98 kB / 1.226 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.474e-05/0.2809, allocations: 8 kB / 1.226 GB, free: 7.984 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (reaToInt2.y,actAirSet.or2.y,actAirSet.intEqu1.y,actAirSet.intEqu2.y,actAirSet.intEqu.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 (15): * Single equations (assignments): 15 * 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.0001101/0.2811, allocations: 129.7 kB / 1.226 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.576e-05/0.2811, allocations: 15.91 kB / 1.226 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.583e-05/0.2811, allocations: 20.7 kB / 1.226 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.808e-06/0.2812, allocations: 4 kB / 1.226 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.2812, allocations: 0 / 1.226 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.245e-06/0.2812, allocations: 0 / 1.226 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002727/0.2814, allocations: 237.5 kB / 1.226 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2815, allocations: 0 / 1.226 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001336/0.2816, allocations: 27.86 kB / 1.226 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.2816, allocations: 0 / 1.226 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.2816, allocations: 3.984 kB / 1.226 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.2816, allocations: 4 kB / 1.226 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2816, allocations: 4 kB / 1.226 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000416/0.2821, allocations: 235.8 kB / 1.227 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.806e-05/0.2821, allocations: 85.06 kB / 1.227 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.005e-05/0.2822, allocations: 4 kB / 1.227 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000119/0.2823, allocations: 7.984 kB / 1.227 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.252e-05/0.2823, allocations: 19.98 kB / 1.227 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.247e-06/0.2824, allocations: 4 kB / 1.227 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.514e-05/0.2824, allocations: 117.2 kB / 1.227 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2825, allocations: 0 / 1.227 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002659/0.2827, allocations: 31.89 kB / 1.227 GB, free: 6.957 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (actAirSet.or3.y,actAirSet.intEqu.y,actAirSet.intEqu2.y,actAirSet.intEqu1.y,actAirSet.or2.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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.0007515/0.2835, allocations: 0.7754 MB / 1.228 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003661/0.2839, allocations: 111.8 kB / 1.228 GB, free: 6.047 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.2839, allocations: 0 / 1.228 GB, free: 6.047 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001772/0.2841, allocations: 68.08 kB / 1.228 GB, free: 5.98 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002875/0.2843, allocations: 22.38 kB / 1.228 GB, free: 5.961 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002296/0.2867, allocations: 1.749 MB / 1.23 GB, free: 4.113 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003461/0.287, allocations: 0.72 MB / 1.23 GB, free: 3.367 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.015e-05/0.2871, allocations: 17.08 kB / 1.23 GB, free: 3.352 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.677e-05/0.2872, allocations: 51.41 kB / 1.23 GB, free: 3.301 MB / 0.9825 GB Notification: Performance of SimCode: time 2.7e-07/0.2872, allocations: 0 / 1.23 GB, free: 3.301 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02292/0.3101, allocations: 2.764 MB / 1.233 GB, free: 0.7227 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.617/7.927, allocations: 6.844 kB / 1.233 GB, free: 0.7227 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow_res.csv --start-time 0 --stop-time 3600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_11_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches