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.001207/0.001207, allocations: 108 kB / 15.61 MB, free: 152 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.001217/0.001217, allocations: 195.7 kB / 16.53 MB, free: 6.664 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.198/1.198, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.33/2.33, allocations: 461.9 MB / 0.7346 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001134/0.001134, allocations: 64 kB / 0.8992 GB, free: 37.01 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2119/0.2131, allocations: 157.4 MB / 1.053 GB, free: 8.289 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.001928/0.215, allocations: 1.014 MB / 1.054 GB, free: 7.273 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008761/0.2159, allocations: 0.9874 MB / 1.055 GB, free: 6.273 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.993e-05/0.216, allocations: 0 / 1.055 GB, free: 6.273 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.075e-05/0.2161, allocations: 19.73 kB / 1.055 GB, free: 6.254 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.393e-05/0.2161, allocations: 19.8 kB / 1.055 GB, free: 6.234 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000163/0.2163, allocations: 63.88 kB / 1.055 GB, free: 6.172 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000136/0.2165, allocations: 164 kB / 1.055 GB, free: 6.012 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001546/0.2166, allocations: 96.16 kB / 1.055 GB, free: 5.922 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001126/0.2167, allocations: 67.72 kB / 1.055 GB, free: 5.855 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.001e-05/0.2168, allocations: 71.67 kB / 1.055 GB, free: 5.785 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.021e-05/0.2169, allocations: 23.94 kB / 1.055 GB, free: 5.762 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.312e-05/0.2169, allocations: 16 kB / 1.055 GB, free: 5.746 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.211e-05/0.2169, allocations: 35.91 kB / 1.055 GB, free: 5.711 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.75e-05/0.217, allocations: 79.59 kB / 1.056 GB, free: 5.633 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001647/0.2172, allocations: 207.5 kB / 1.056 GB, free: 5.43 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.2172, allocations: 0 / 1.056 GB, free: 5.43 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.062e-06/0.2172, allocations: 0 / 1.056 GB, free: 5.43 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.2172, allocations: 0 / 1.056 GB, free: 5.43 MB / 0.8106 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.0005171/0.2177, allocations: 446.9 kB / 1.056 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 2.855e-05/0.2177, allocations: 8.031 kB / 1.056 GB, free: 4.934 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.744e-05/0.2178, allocations: 54.67 kB / 1.056 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.438e-05/0.2178, allocations: 20.75 kB / 1.056 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003622/0.2182, allocations: 253.1 kB / 1.056 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/0.2182, allocations: 12.36 kB / 1.056 GB, free: 4.555 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.866e-05/0.2183, allocations: 16.38 kB / 1.056 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002848/0.2185, allocations: 150.5 kB / 1.057 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.2186, allocations: 7.875 kB / 1.057 GB, free: 4.379 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.709e-05/0.2186, allocations: 4 kB / 1.057 GB, free: 4.375 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.2186, allocations: 8 kB / 1.057 GB, free: 4.367 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002989/0.2189, allocations: 123.8 kB / 1.057 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005243/0.2194, allocations: 484.1 kB / 1.057 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000259/0.2197, allocations: 114.7 kB / 1.057 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001386/0.2198, allocations: 52.83 kB / 1.057 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.251e-05/0.2199, allocations: 0 / 1.057 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.981e-05/0.2199, allocations: 38.56 kB / 1.057 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=12): time 1.012e-06/0.2199, allocations: 4 kB / 1.057 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12): time 0.0004765/0.2204, allocations: 181.2 kB / 1.058 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.983e-05/0.2204, allocations: 51.41 kB / 1.058 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/0.2205, allocations: 160.8 kB / 1.058 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.2205, allocations: 29.7 kB / 1.058 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.339e-05/0.2206, allocations: 120.2 kB / 1.058 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.459e-05/0.2206, allocations: 35.55 kB / 1.058 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.979e-05/0.2207, allocations: 37.7 kB / 1.058 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.144e-05/0.2208, allocations: 326.8 kB / 1.058 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000139/0.2209, allocations: 39.97 kB / 1.058 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001433/0.2211, allocations: 77.5 kB / 1.058 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002569/0.2213, allocations: 111.2 kB / 1.059 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.2213, allocations: 4 kB / 1.059 GB, free: 2.262 MB / 0.8106 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000321/0.2217, allocations: 153.4 kB / 1.059 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.058e-05/0.2217, allocations: 5.094 kB / 1.059 GB, free: 2.102 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.2217, allocations: 0 / 1.059 GB, free: 2.102 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.2217, allocations: 8 kB / 1.059 GB, free: 2.094 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001395/0.2219, allocations: 19.98 kB / 1.059 GB, free: 2.074 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.2219, allocations: 8.094 kB / 1.059 GB, free: 2.066 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.001e-05/0.222, allocations: 19.83 kB / 1.059 GB, free: 2.047 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.889e-06/0.222, allocations: 4 kB / 1.059 GB, free: 2.043 MB / 0.8106 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 8.394e-05/0.2221, allocations: 135.2 kB / 1.059 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.159e-05/0.2221, allocations: 11.89 kB / 1.059 GB, free: 1.891 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.269e-05/0.2221, allocations: 16.72 kB / 1.059 GB, free: 1.875 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.2221, allocations: 0 / 1.059 GB, free: 1.875 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.2222, allocations: 4 kB / 1.059 GB, free: 1.871 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.2222, allocations: 3.938 kB / 1.059 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001977/0.2224, allocations: 245.4 kB / 1.059 GB, free: 1.578 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2224, allocations: 0 / 1.059 GB, free: 1.578 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001117/0.2225, allocations: 19.97 kB / 1.059 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.2225, allocations: 0 / 1.059 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.2225, allocations: 4 kB / 1.059 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.898e-06/0.2225, allocations: 0 / 1.059 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.2225, allocations: 3.938 kB / 1.059 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003273/0.2229, allocations: 235.3 kB / 1.059 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.424e-05/0.2229, allocations: 92.86 kB / 1.06 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.976e-05/0.2229, allocations: 4 kB / 1.06 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.223, allocations: 7.984 kB / 1.06 GB, free: 1.184 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.172e-05/0.2231, allocations: 15.98 kB / 1.06 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.368e-06/0.2231, allocations: 11.92 kB / 1.06 GB, free: 1.156 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.477e-05/0.2232, allocations: 116.7 kB / 1.06 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2232, allocations: 0 / 1.06 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002313/0.2234, allocations: 24 kB / 1.06 GB, free: 1.02 MB / 0.8106 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.0005392/0.2239, allocations: 0.7746 MB / 1.06 GB, free: 228 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003177/0.2243, allocations: 123.8 kB / 1.061 GB, free: 104 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.2243, allocations: 0 / 1.061 GB, free: 104 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001422/0.2244, allocations: 55.91 kB / 1.061 GB, free: 48 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002515/0.2247, allocations: 24.11 kB / 1.061 GB, free: 24 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001732/0.2264, allocations: 1.73 MB / 1.062 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001976/0.2266, allocations: 0.7161 MB / 1.063 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.272e-05/0.2267, allocations: 21.06 kB / 1.063 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.376e-05/0.2268, allocations: 51.41 kB / 1.063 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of SimCode: time 2.61e-07/0.2268, allocations: 0 / 1.063 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.459/2.686, allocations: 2.727 MB / 1.066 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.058/11.74, allocations: 4 kB / 1.066 GB, free: 10.84 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 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.mat","/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