Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.008093/0.008093, allocations: 101.8 kB / 15.73 MB, free: 5.516 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.002304/0.002304, allocations: 200.2 kB / 16.68 MB, free: 5.445 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.431/1.431, allocations: 222.9 MB / 240.4 MB, free: 4.137 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.914/2.914, allocations: 482.4 MB / 0.7548 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 63.89 kB / 1.083 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2786/0.2806, allocations: 162.2 MB / 1.241 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.00216/0.2828, allocations: 1.008 MB / 1.242 GB, free: 9.152 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001153/0.2839, allocations: 0.9752 MB / 1.243 GB, free: 8.164 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.806e-05/0.284, allocations: 4 kB / 1.243 GB, free: 8.16 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.804e-05/0.284, allocations: 19.8 kB / 1.243 GB, free: 8.141 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 9.722e-05/0.2842, allocations: 19.75 kB / 1.243 GB, free: 8.121 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001936/0.2844, allocations: 63.92 kB / 1.244 GB, free: 8.059 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001926/0.2846, allocations: 168 kB / 1.244 GB, free: 7.895 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001795/0.2847, allocations: 88.19 kB / 1.244 GB, free: 7.809 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001369/0.2849, allocations: 71.7 kB / 1.244 GB, free: 7.738 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001042/0.285, allocations: 67.69 kB / 1.244 GB, free: 7.672 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.359e-05/0.285, allocations: 16 kB / 1.244 GB, free: 7.656 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.566e-05/0.2851, allocations: 19.94 kB / 1.244 GB, free: 7.637 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.316e-05/0.2851, allocations: 39.84 kB / 1.244 GB, free: 7.598 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 7.714e-05/0.2852, allocations: 79.58 kB / 1.244 GB, free: 7.52 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002458/0.2855, allocations: 210.5 kB / 1.244 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.2855, allocations: 3.938 kB / 1.244 GB, free: 7.312 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.142e-06/0.2855, allocations: 0 / 1.244 GB, free: 7.312 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.965e-06/0.2855, allocations: 0 / 1.244 GB, free: 7.312 MB / 0.9981 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.0006624/0.2861, allocations: 462.7 kB / 1.245 GB, free: 6.809 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.2862, allocations: 8.031 kB / 1.245 GB, free: 6.801 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.118e-05/0.2862, allocations: 46.73 kB / 1.245 GB, free: 6.746 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.449e-05/0.2863, allocations: 24.8 kB / 1.245 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004404/0.2867, allocations: 254.3 kB / 1.245 GB, free: 6.438 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.2868, allocations: 12.38 kB / 1.245 GB, free: 6.426 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.392e-05/0.2868, allocations: 12.38 kB / 1.245 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003412/0.2871, allocations: 154 kB / 1.245 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.2872, allocations: 7.938 kB / 1.245 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.617e-05/0.2872, allocations: 4 kB / 1.245 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.712e-06/0.2872, allocations: 4 kB / 1.245 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003639/0.2876, allocations: 115.9 kB / 1.245 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006774/0.2883, allocations: 484.2 kB / 1.246 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000323/0.2886, allocations: 114.6 kB / 1.246 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001685/0.2888, allocations: 56.81 kB / 1.246 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.205e-05/0.2888, allocations: 11.94 kB / 1.246 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.2888, allocations: 38.5 kB / 1.246 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=12): time 1.283e-06/0.2888, allocations: 0 / 1.246 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12): time 0.0005861/0.2894, allocations: 169.5 kB / 1.246 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.623e-05/0.2895, allocations: 51.41 kB / 1.246 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001515/0.2896, allocations: 162.4 kB / 1.246 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.2897, allocations: 25.7 kB / 1.246 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.988e-05/0.2898, allocations: 124.3 kB / 1.246 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.854e-05/0.2898, allocations: 35.69 kB / 1.247 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.715e-05/0.2899, allocations: 37.7 kB / 1.247 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.29, allocations: 326.8 kB / 1.247 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001641/0.2902, allocations: 43.97 kB / 1.247 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001815/0.2904, allocations: 79.33 kB / 1.247 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003076/0.2907, allocations: 103.3 kB / 1.247 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.2907, allocations: 0 / 1.247 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003975/0.2911, allocations: 153.5 kB / 1.247 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.2911, allocations: 9.391 kB / 1.247 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.2911, allocations: 0 / 1.247 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.2912, allocations: 4 kB / 1.247 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001687/0.2913, allocations: 24.08 kB / 1.247 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.2914, allocations: 7.938 kB / 1.247 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001052/0.2915, allocations: 23.88 kB / 1.247 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.265e-05/0.2915, allocations: 4 kB / 1.247 GB, free: 3.922 MB / 0.9981 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.0001203/0.2916, allocations: 132.2 kB / 1.247 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.368e-05/0.2916, allocations: 7.953 kB / 1.247 GB, free: 3.777 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.122e-05/0.2917, allocations: 20.7 kB / 1.247 GB, free: 3.754 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.2917, allocations: 4 kB / 1.247 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.2917, allocations: 0 / 1.247 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.2917, allocations: 0 / 1.247 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002762/0.292, allocations: 245.4 kB / 1.248 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.292, allocations: 0 / 1.248 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001301/0.2921, allocations: 19.92 kB / 1.248 GB, free: 3.441 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.2922, allocations: 4 kB / 1.248 GB, free: 3.438 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.462e-05/0.2922, allocations: 7.984 kB / 1.248 GB, free: 3.43 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.2922, allocations: 4 kB / 1.248 GB, free: 3.426 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.2922, allocations: 0 / 1.248 GB, free: 3.426 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004261/0.2926, allocations: 239.8 kB / 1.248 GB, free: 3.176 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.773e-05/0.2927, allocations: 89.02 kB / 1.248 GB, free: 3.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.882e-05/0.2927, allocations: 0 / 1.248 GB, free: 3.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001209/0.2928, allocations: 11.98 kB / 1.248 GB, free: 3.059 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.21e-05/0.2929, allocations: 15.98 kB / 1.248 GB, free: 3.043 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.2929, allocations: 4 kB / 1.248 GB, free: 3.039 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.119e-05/0.293, allocations: 116.7 kB / 1.248 GB, free: 2.926 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.293, allocations: 3.938 kB / 1.248 GB, free: 2.922 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000268/0.2933, allocations: 31.89 kB / 1.248 GB, free: 2.891 MB / 0.9981 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.0007522/0.2941, allocations: 0.7787 MB / 1.249 GB, free: 2.086 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003745/0.2944, allocations: 107.9 kB / 1.249 GB, free: 1.98 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2945, allocations: 0 / 1.249 GB, free: 1.98 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001795/0.2946, allocations: 63.83 kB / 1.249 GB, free: 1.918 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003187/0.295, allocations: 22.97 kB / 1.249 GB, free: 1.898 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002299/0.2973, allocations: 1.744 MB / 1.251 GB, free: 52 kB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4751/0.7724, allocations: 0.7077 MB / 1.252 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001159/0.7726, allocations: 18.17 kB / 1.252 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.41e-05/0.7727, allocations: 49.06 kB / 1.252 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of SimCode: time 7.91e-07/0.7727, allocations: 1.781 kB / 1.252 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02342/0.7961, allocations: 2.761 MB / 1.254 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.544/8.34, allocations: 7.219 kB / 1.254 GB, free: 14.22 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches