Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_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_latest_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.005058/0.005058, allocations: 99.42 kB / 15.73 MB, free: 6.043 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.001518/0.001518, allocations: 202.1 kB / 16.68 MB, free: 5.965 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.403/1.403, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.909/2.909, allocations: 482.4 MB / 0.7548 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001951, allocations: 63.91 kB / 1.083 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2787/0.2807, allocations: 162.2 MB / 1.242 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.002289/0.283, allocations: 1.004 MB / 1.242 GB, free: 9.164 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001252/0.2843, allocations: 0.9791 MB / 1.243 GB, free: 8.172 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.082e-05/0.2844, allocations: 0 / 1.243 GB, free: 8.172 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 5.192e-05/0.2844, allocations: 19.75 kB / 1.243 GB, free: 8.152 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001078/0.2845, allocations: 19.8 kB / 1.243 GB, free: 8.133 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002056/0.2848, allocations: 67.86 kB / 1.244 GB, free: 8.066 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.000195/0.285, allocations: 164 kB / 1.244 GB, free: 7.906 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000198/0.2852, allocations: 94.22 kB / 1.244 GB, free: 7.816 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001495/0.2853, allocations: 75.7 kB / 1.244 GB, free: 7.742 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000107/0.2854, allocations: 71.69 kB / 1.244 GB, free: 7.672 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.202e-05/0.2855, allocations: 16 kB / 1.244 GB, free: 7.656 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.715e-05/0.2855, allocations: 16 kB / 1.244 GB, free: 7.641 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.307e-05/0.2856, allocations: 35.84 kB / 1.244 GB, free: 7.605 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 8.199e-05/0.2856, allocations: 75.59 kB / 1.244 GB, free: 7.531 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002625/0.2859, allocations: 211.1 kB / 1.244 GB, free: 7.324 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.2859, allocations: 3.938 kB / 1.244 GB, free: 7.32 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.042e-06/0.2859, allocations: 0 / 1.244 GB, free: 7.32 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.2859, allocations: 0 / 1.244 GB, free: 7.32 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.0006836/0.2866, allocations: 458.7 kB / 1.245 GB, free: 6.82 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.2867, allocations: 8.031 kB / 1.245 GB, free: 6.812 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.756e-05/0.2867, allocations: 46.73 kB / 1.245 GB, free: 6.758 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.217e-05/0.2868, allocations: 20.8 kB / 1.245 GB, free: 6.738 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004532/0.2872, allocations: 256 kB / 1.245 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.928e-05/0.2873, allocations: 8.375 kB / 1.245 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.123e-05/0.2873, allocations: 20.38 kB / 1.245 GB, free: 6.422 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003422/0.2877, allocations: 150 kB / 1.245 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.2877, allocations: 3.938 kB / 1.245 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.897e-05/0.2877, allocations: 8 kB / 1.245 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.2877, allocations: 4 kB / 1.245 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003639/0.2881, allocations: 115.9 kB / 1.245 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006857/0.2888, allocations: 480.3 kB / 1.246 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003224/0.2891, allocations: 126.5 kB / 1.246 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001672/0.2893, allocations: 52.83 kB / 1.246 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.09e-05/0.2893, allocations: 4 kB / 1.246 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.2894, allocations: 38.5 kB / 1.246 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=12): time 1.242e-06/0.2894, allocations: 0 / 1.246 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12): time 0.0005946/0.29, allocations: 177.4 kB / 1.246 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/0.29, allocations: 51.41 kB / 1.246 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000153/0.2902, allocations: 164.6 kB / 1.246 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/0.2902, allocations: 25.7 kB / 1.246 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.643e-05/0.2903, allocations: 124.3 kB / 1.247 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.623e-05/0.2903, allocations: 39.67 kB / 1.247 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.691e-05/0.2904, allocations: 37.7 kB / 1.247 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.2906, allocations: 326.8 kB / 1.247 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001638/0.2907, allocations: 47.95 kB / 1.247 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001869/0.2909, allocations: 71.41 kB / 1.247 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003139/0.2912, allocations: 107.3 kB / 1.247 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.2912, allocations: 4 kB / 1.247 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004108/0.2917, allocations: 157.8 kB / 1.247 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.2917, allocations: 4.781 kB / 1.247 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.2917, allocations: 0 / 1.247 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.2917, allocations: 4 kB / 1.247 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001665/0.2919, allocations: 28.06 kB / 1.247 GB, free: 3.953 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.2919, allocations: 8 kB / 1.247 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001039/0.292, allocations: 19.88 kB / 1.247 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.232e-05/0.292, 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.0001213/0.2922, allocations: 134.2 kB / 1.247 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.35e-05/0.2922, allocations: 7.953 kB / 1.247 GB, free: 3.773 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.92e-05/0.2922, allocations: 16.72 kB / 1.247 GB, free: 3.754 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.2922, allocations: 0 / 1.247 GB, free: 3.754 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.2923, allocations: 4 kB / 1.247 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.2923, allocations: 3.984 kB / 1.247 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002823/0.2926, allocations: 237.4 kB / 1.248 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.2926, allocations: 0 / 1.248 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001316/0.2927, allocations: 19.97 kB / 1.248 GB, free: 3.445 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.2927, allocations: 4 kB / 1.248 GB, free: 3.441 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.2927, allocations: 4 kB / 1.248 GB, free: 3.438 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.2927, allocations: 0 / 1.248 GB, free: 3.438 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.2927, allocations: 0 / 1.248 GB, free: 3.438 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004257/0.2932, allocations: 239.2 kB / 1.248 GB, free: 3.188 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.997e-05/0.2932, allocations: 89.02 kB / 1.248 GB, free: 3.082 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.048e-05/0.2933, allocations: 3.984 kB / 1.248 GB, free: 3.078 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001188/0.2934, allocations: 8 kB / 1.248 GB, free: 3.07 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.24e-05/0.2935, allocations: 19.97 kB / 1.248 GB, free: 3.051 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.193e-05/0.2935, allocations: 8 kB / 1.248 GB, free: 3.043 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.747e-05/0.2936, allocations: 113.1 kB / 1.248 GB, free: 2.934 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2936, allocations: 3.938 kB / 1.248 GB, free: 2.93 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002675/0.2939, allocations: 35.88 kB / 1.248 GB, free: 2.895 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.000757/0.2946, allocations: 0.7709 MB / 1.249 GB, free: 2.098 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003776/0.295, allocations: 111.9 kB / 1.249 GB, free: 1.988 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.295, allocations: 0 / 1.249 GB, free: 1.988 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000178/0.2952, allocations: 63.83 kB / 1.249 GB, free: 1.926 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002969/0.2955, allocations: 24.12 kB / 1.249 GB, free: 1.902 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002316/0.2978, allocations: 1.741 MB / 1.251 GB, free: 60 kB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4584/0.7563, allocations: 0.7098 MB / 1.252 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001149/0.7564, allocations: 17.16 kB / 1.252 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001029/0.7565, allocations: 51.42 kB / 1.252 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of SimCode: time 6.61e-07/0.7565, allocations: 0 / 1.252 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02324/0.7798, allocations: 2.76 MB / 1.254 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.523/8.303, allocations: 6.5 kB / 1.254 GB, free: 14.84 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.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_SeriesFanCVF_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches