Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.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.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_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.007457/0.007457, allocations: 103.6 kB / 15.74 MB, free: 6.449 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.0021/0.0021, allocations: 196.5 kB / 16.67 MB, free: 6.355 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.417/1.417, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.884/2.884, allocations: 469.8 MB / 0.7426 GB, free: 7.262 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002029/0.002029, allocations: 76.09 kB / 1.065 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2749/0.2769, allocations: 159.1 MB / 1.22 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.002373/0.2793, allocations: 1.006 MB / 1.221 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001308/0.2807, allocations: 0.9752 MB / 1.222 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.4e-05/0.2808, allocations: 0 / 1.222 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 6.386e-05/0.2809, allocations: 15.8 kB / 1.222 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001139/0.281, allocations: 27.75 kB / 1.222 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002112/0.2812, allocations: 63.86 kB / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002169/0.2814, allocations: 164 kB / 1.222 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002032/0.2816, allocations: 96.16 kB / 1.223 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001622/0.2818, allocations: 67.72 kB / 1.223 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001234/0.282, allocations: 71.69 kB / 1.223 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.456e-05/0.282, allocations: 16 kB / 1.223 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 2.652e-05/0.282, allocations: 16 kB / 1.223 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.084e-05/0.2821, allocations: 47.83 kB / 1.223 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.731e-05/0.2822, allocations: 67.61 kB / 1.223 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002784/0.2825, allocations: 219 kB / 1.223 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2825, allocations: 0 / 1.223 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.342e-06/0.2825, allocations: 0 / 1.223 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.083e-06/0.2825, 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: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.0007241/0.2832, allocations: 454.8 kB / 1.223 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.2833, allocations: 8.031 kB / 1.223 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.733e-05/0.2833, allocations: 46.75 kB / 1.223 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.928e-05/0.2834, allocations: 24.78 kB / 1.223 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004694/0.2839, allocations: 257.9 kB / 1.224 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.374e-05/0.2839, allocations: 16.31 kB / 1.224 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.303e-05/0.2839, allocations: 20.38 kB / 1.224 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000359/0.2843, allocations: 154.8 kB / 1.224 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.2843, allocations: 3.938 kB / 1.224 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.634e-05/0.2843, allocations: 4 kB / 1.224 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.2843, allocations: 4 kB / 1.224 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003755/0.2847, allocations: 111.9 kB / 1.224 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007066/0.2854, allocations: 484.3 kB / 1.225 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003348/0.2858, allocations: 122.6 kB / 1.225 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001736/0.286, allocations: 56.75 kB / 1.225 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.709e-05/0.286, allocations: 8 kB / 1.225 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.523e-05/0.286, allocations: 30.56 kB / 1.225 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=12): time 1.343e-06/0.286, allocations: 0 / 1.225 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12): time 0.0006357/0.2867, allocations: 173.5 kB / 1.225 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.682e-05/0.2867, allocations: 63.33 kB / 1.225 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000154/0.2869, allocations: 157.6 kB / 1.225 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.108e-05/0.2869, allocations: 29.7 kB / 1.225 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.756e-05/0.287, allocations: 120.4 kB / 1.225 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.624e-05/0.2871, allocations: 35.69 kB / 1.225 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.989e-05/0.2871, allocations: 37.69 kB / 1.225 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.2873, allocations: 330.8 kB / 1.226 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001646/0.2875, allocations: 39.97 kB / 1.226 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001837/0.2876, allocations: 77.78 kB / 1.226 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003181/0.288, allocations: 111.3 kB / 1.226 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.288, allocations: 0 / 1.226 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004085/0.2884, allocations: 149.5 kB / 1.226 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.2884, allocations: 4 kB / 1.226 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.2884, allocations: 4 kB / 1.226 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.2885, allocations: 0 / 1.226 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001756/0.2886, allocations: 31.91 kB / 1.226 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.2887, allocations: 4.094 kB / 1.226 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001064/0.2888, allocations: 19.88 kB / 1.226 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.61e-05/0.2888, allocations: 8 kB / 1.226 GB, free: 7.996 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.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 (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.0001195/0.2889, allocations: 129.7 kB / 1.226 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.639e-05/0.289, allocations: 11.91 kB / 1.226 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.033e-05/0.289, allocations: 20.7 kB / 1.226 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.289, allocations: 0 / 1.226 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.289, allocations: 4 kB / 1.226 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.289, allocations: 4 kB / 1.226 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002741/0.2893, allocations: 237.5 kB / 1.226 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.2893, allocations: 3.938 kB / 1.226 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001332/0.2895, allocations: 19.98 kB / 1.226 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.2895, allocations: 0 / 1.226 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.2895, allocations: 3.938 kB / 1.226 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.2895, allocations: 3.984 kB / 1.226 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2895, allocations: 0 / 1.226 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000429/0.2899, allocations: 239.3 kB / 1.227 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.071e-05/0.29, allocations: 85.06 kB / 1.227 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.363e-05/0.29, allocations: 8 kB / 1.227 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001216/0.2902, allocations: 11.98 kB / 1.227 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.536e-05/0.2902, allocations: 11.98 kB / 1.227 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-06/0.2902, allocations: 4 kB / 1.227 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.841e-05/0.2903, allocations: 121.1 kB / 1.227 GB, free: 7 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2903, allocations: 4 kB / 1.227 GB, free: 6.996 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000279/0.2906, allocations: 23.89 kB / 1.227 GB, free: 6.973 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.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.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.0007618/0.2914, allocations: 0.776 MB / 1.228 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003941/0.2918, allocations: 111.9 kB / 1.228 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.2918, allocations: 3.938 kB / 1.228 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001801/0.292, allocations: 59.95 kB / 1.228 GB, free: 6 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003237/0.2923, allocations: 22.36 kB / 1.228 GB, free: 5.98 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00238/0.2947, allocations: 1.753 MB / 1.23 GB, free: 4.125 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003365/0.2951, allocations: 0.7123 MB / 1.23 GB, free: 3.387 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.837e-05/0.2952, allocations: 21.06 kB / 1.23 GB, free: 3.367 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.448e-05/0.2953, allocations: 51.42 kB / 1.23 GB, free: 3.316 MB / 0.9825 GB Notification: Performance of SimCode: time 3.3e-07/0.2953, allocations: 0 / 1.23 GB, free: 3.316 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02359/0.3189, allocations: 2.76 MB / 1.233 GB, free: 0.7578 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.721/8.04, allocations: 7.969 kB / 1.233 GB, free: 0.7461 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.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_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches