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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001277/0.001277, allocations: 108 kB / 15.6 MB, free: 132 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.001275/0.001275, allocations: 196 kB / 16.54 MB, free: 6.672 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.249/1.249, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.497/2.497, allocations: 469.4 MB / 0.742 GB, free: 7.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 68.34 kB / 0.9083 GB, free: 34.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2364/0.2376, allocations: 159.1 MB / 1.064 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.002196/0.2399, allocations: 1.017 MB / 1.065 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001102/0.241, allocations: 0.9674 MB / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001115/0.2411, allocations: 4 kB / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.776e-05/0.2412, allocations: 19.73 kB / 1.066 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001022/0.2413, allocations: 15.8 kB / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002077/0.2415, allocations: 75.86 kB / 1.066 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001625/0.2417, allocations: 160.1 kB / 1.066 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001903/0.2419, allocations: 89.72 kB / 1.066 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001477/0.242, allocations: 71.69 kB / 1.066 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001037/0.2422, allocations: 71.69 kB / 1.066 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.21e-05/0.2422, allocations: 20 kB / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.397e-05/0.2422, allocations: 16 kB / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.473e-05/0.2423, allocations: 35.86 kB / 1.066 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.205e-05/0.2423, allocations: 79.58 kB / 1.066 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002071/0.2426, allocations: 203.5 kB / 1.066 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.2426, allocations: 0 / 1.066 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.052e-06/0.2426, allocations: 0 / 1.066 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.712e-06/0.2426, allocations: 0 / 1.066 GB, free: 11.62 MB / 0.8262 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.000605/0.2432, allocations: 450.9 kB / 1.067 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.2432, allocations: 12.03 kB / 1.067 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.728e-05/0.2433, allocations: 50.73 kB / 1.067 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.039e-05/0.2433, allocations: 16.75 kB / 1.067 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003987/0.2437, allocations: 255.9 kB / 1.067 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.866e-05/0.2438, allocations: 12.38 kB / 1.067 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.079e-05/0.2438, allocations: 12.38 kB / 1.067 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003083/0.2441, allocations: 155.2 kB / 1.067 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.2441, allocations: 3.938 kB / 1.067 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.872e-05/0.2441, allocations: 8 kB / 1.067 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.2442, allocations: 0 / 1.067 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003278/0.2445, allocations: 123.8 kB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006095/0.2451, allocations: 488.1 kB / 1.068 GB, free: 9.914 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002937/0.2454, allocations: 118.6 kB / 1.068 GB, free: 9.789 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001498/0.2456, allocations: 52.83 kB / 1.068 GB, free: 9.734 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.944e-05/0.2456, allocations: 4 kB / 1.068 GB, free: 9.73 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.167e-05/0.2456, allocations: 34.56 kB / 1.068 GB, free: 9.688 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=12): time 1.312e-06/0.2456, allocations: 0 / 1.068 GB, free: 9.688 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12): time 0.0005393/0.2462, allocations: 181.3 kB / 1.068 GB, free: 9.504 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.327e-05/0.2462, allocations: 55.41 kB / 1.068 GB, free: 9.438 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001181/0.2463, allocations: 158.6 kB / 1.069 GB, free: 9.27 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.436e-05/0.2464, allocations: 25.7 kB / 1.069 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.009e-05/0.2464, allocations: 120.2 kB / 1.069 GB, free: 9.117 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.835e-05/0.2465, allocations: 31.55 kB / 1.069 GB, free: 9.086 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.594e-05/0.2465, allocations: 37.7 kB / 1.069 GB, free: 9.043 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.558e-05/0.2466, allocations: 326.8 kB / 1.069 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001478/0.2468, allocations: 43.97 kB / 1.069 GB, free: 8.672 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001565/0.2469, allocations: 75.39 kB / 1.069 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002784/0.2472, allocations: 115.2 kB / 1.069 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.2472, allocations: 0 / 1.069 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003534/0.2476, allocations: 153.3 kB / 1.069 GB, free: 8.305 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.2476, allocations: 5.094 kB / 1.069 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.2476, allocations: 8.094 kB / 1.069 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.2476, allocations: 0 / 1.069 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001585/0.2478, allocations: 27.97 kB / 1.07 GB, free: 8.266 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.2478, allocations: 0 / 1.07 GB, free: 8.266 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.646e-05/0.2479, allocations: 15.94 kB / 1.07 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.209e-05/0.2479, allocations: 7.984 kB / 1.07 GB, free: 8.242 MB / 0.8262 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 9.899e-05/0.248, allocations: 133.7 kB / 1.07 GB, free: 8.102 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.574e-05/0.2481, allocations: 19.81 kB / 1.07 GB, free: 8.082 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.999e-05/0.2481, allocations: 12.72 kB / 1.07 GB, free: 8.07 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.2481, allocations: 0 / 1.07 GB, free: 8.07 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.2481, allocations: 0 / 1.07 GB, free: 8.07 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.2481, allocations: 7.984 kB / 1.07 GB, free: 8.062 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002127/0.2484, allocations: 233.5 kB / 1.07 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.2484, allocations: 3.938 kB / 1.07 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000127/0.2485, allocations: 23.97 kB / 1.07 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.2485, allocations: 0 / 1.07 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.2485, allocations: 0 / 1.07 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.2485, allocations: 4 kB / 1.07 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.2485, allocations: 0 / 1.07 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003535/0.2489, allocations: 231.8 kB / 1.07 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.694e-05/0.2489, allocations: 92.86 kB / 1.07 GB, free: 7.402 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.153e-05/0.249, allocations: 8 kB / 1.07 GB, free: 7.395 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001231/0.2491, allocations: 15.92 kB / 1.07 GB, free: 7.379 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.828e-05/0.2492, allocations: 15.97 kB / 1.07 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.357e-06/0.2492, allocations: 8 kB / 1.07 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.241e-05/0.2492, allocations: 107.2 kB / 1.07 GB, free: 7.25 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.024e-06/0.2492, allocations: 0 / 1.07 GB, free: 7.25 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002463/0.2495, allocations: 31.84 kB / 1.07 GB, free: 7.219 MB / 0.8262 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.0005996/0.2501, allocations: 0.7715 MB / 1.071 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000359/0.2505, allocations: 119.8 kB / 1.071 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.2505, allocations: 192 / 1.071 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001583/0.2507, allocations: 67.89 kB / 1.071 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002856/0.2509, allocations: 21.67 kB / 1.071 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001974/0.2529, allocations: 1.732 MB / 1.073 GB, free: 4.395 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002181/0.2532, allocations: 0.7162 MB / 1.074 GB, free: 3.652 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.283e-05/0.2533, allocations: 17.08 kB / 1.074 GB, free: 3.637 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.832e-05/0.2533, allocations: 51.42 kB / 1.074 GB, free: 3.586 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.2533, allocations: 0 / 1.074 GB, free: 3.586 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01752/0.2709, allocations: 2.719 MB / 1.077 GB, free: 1.047 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.819/7.09, allocations: 13.05 kB / 1.077 GB, free: 1.039 MB / 0.8262 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 50 --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