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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001184/0.001184, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001208/0.001208, allocations: 196.3 kB / 16.14 MB, free: 6.711 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.163/1.163, allocations: 222.9 MB / 239.8 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.317/2.317, allocations: 461.9 MB / 0.7342 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001141/0.001141, allocations: 66.84 kB / 0.8986 GB, free: 36.99 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2107/0.2119, allocations: 157.4 MB / 1.052 GB, free: 8.102 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.001985/0.2139, allocations: 1.067 MB / 1.053 GB, free: 7.031 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009475/0.2149, allocations: 0.9713 MB / 1.054 GB, free: 6.047 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.311e-05/0.215, allocations: 4 kB / 1.054 GB, free: 6.043 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.721e-05/0.215, allocations: 7.875 kB / 1.054 GB, free: 6.035 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.653e-05/0.2151, allocations: 11.92 kB / 1.054 GB, free: 6.023 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001613/0.2153, allocations: 55.89 kB / 1.054 GB, free: 5.969 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001361/0.2155, allocations: 152.1 kB / 1.054 GB, free: 5.82 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001519/0.2156, allocations: 96.11 kB / 1.055 GB, free: 5.727 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001178/0.2157, allocations: 59.7 kB / 1.055 GB, free: 5.668 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.897e-05/0.2158, allocations: 71.62 kB / 1.055 GB, free: 5.598 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.415e-05/0.2159, allocations: 12 kB / 1.055 GB, free: 5.586 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.912e-05/0.2159, allocations: 8 kB / 1.055 GB, free: 5.578 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.768e-05/0.2159, allocations: 27.89 kB / 1.055 GB, free: 5.551 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.614e-05/0.216, allocations: 67.61 kB / 1.055 GB, free: 5.484 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001624/0.2161, allocations: 195.5 kB / 1.055 GB, free: 5.293 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.2162, allocations: 0 / 1.055 GB, free: 5.293 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.01e-07/0.2162, allocations: 4 kB / 1.055 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.2162, allocations: 0 / 1.055 GB, free: 5.289 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.0005619/0.2167, allocations: 455 kB / 1.055 GB, free: 4.793 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.2168, allocations: 11.97 kB / 1.055 GB, free: 4.781 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.398e-05/0.2168, allocations: 42.75 kB / 1.055 GB, free: 4.73 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.755e-05/0.2169, allocations: 24.73 kB / 1.056 GB, free: 4.707 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000374/0.2172, allocations: 257.4 kB / 1.056 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.8e-05/0.2173, allocations: 12.38 kB / 1.056 GB, free: 4.406 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.358e-05/0.2173, allocations: 20.36 kB / 1.056 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002912/0.2176, allocations: 150 kB / 1.056 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.086e-06/0.2176, allocations: 7.875 kB / 1.056 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.635e-05/0.2176, allocations: 8 kB / 1.056 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.2176, allocations: 8 kB / 1.056 GB, free: 4.211 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002912/0.2179, allocations: 111.9 kB / 1.056 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005596/0.2185, allocations: 484.2 kB / 1.057 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002611/0.2188, allocations: 114.6 kB / 1.057 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001363/0.2189, allocations: 52.81 kB / 1.057 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.955e-05/0.219, allocations: 8 kB / 1.057 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.275e-05/0.219, allocations: 34.56 kB / 1.057 GB, free: 3.352 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=12): time 1.263e-06/0.219, allocations: 0 / 1.057 GB, free: 3.352 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12): time 0.0004792/0.2195, allocations: 173.3 kB / 1.057 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.396e-05/0.2195, allocations: 59.39 kB / 1.057 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.2196, allocations: 160 kB / 1.057 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.2196, allocations: 25.7 kB / 1.057 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.589e-05/0.2197, allocations: 120.2 kB / 1.057 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.356e-05/0.2197, allocations: 27.56 kB / 1.057 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.442e-05/0.2198, allocations: 41.69 kB / 1.057 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.75e-05/0.2199, allocations: 326.8 kB / 1.058 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001361/0.22, allocations: 43.97 kB / 1.058 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000144/0.2202, allocations: 81.72 kB / 1.058 GB, free: 2.246 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002518/0.2204, allocations: 111.7 kB / 1.058 GB, free: 2.125 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2204, allocations: 3.938 kB / 1.058 GB, free: 2.121 MB / 0.8106 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003188/0.2208, allocations: 145.5 kB / 1.058 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.2208, allocations: 4 kB / 1.058 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.2208, allocations: 4 kB / 1.058 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/0.2208, allocations: 0 / 1.058 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001473/0.221, allocations: 31.91 kB / 1.058 GB, free: 1.934 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.221, allocations: 4.094 kB / 1.058 GB, free: 1.93 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.125e-05/0.2211, allocations: 27.77 kB / 1.058 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.2211, allocations: 4 kB / 1.058 GB, free: 1.898 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.926e-05/0.2212, allocations: 139.2 kB / 1.058 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.135e-05/0.2212, allocations: 7.906 kB / 1.058 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.574e-05/0.2213, allocations: 20.7 kB / 1.058 GB, free: 1.727 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.2213, allocations: 0 / 1.058 GB, free: 1.727 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.2213, allocations: 8 kB / 1.058 GB, free: 1.719 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.2213, allocations: 0 / 1.058 GB, free: 1.719 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002049/0.2215, allocations: 237.4 kB / 1.058 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.2215, allocations: 0 / 1.058 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000114/0.2216, allocations: 19.98 kB / 1.058 GB, free: 1.418 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-06/0.2216, allocations: 0 / 1.058 GB, free: 1.418 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.2216, allocations: 4 kB / 1.058 GB, free: 1.414 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.2217, allocations: 3.984 kB / 1.058 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2217, allocations: 0 / 1.058 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003362/0.222, allocations: 239.2 kB / 1.059 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.512e-05/0.222, allocations: 92.86 kB / 1.059 GB, free: 1.051 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.013e-05/0.2221, allocations: 8 kB / 1.059 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.2222, allocations: 7.984 kB / 1.059 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.766e-05/0.2222, allocations: 15.98 kB / 1.059 GB, free: 1.02 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.2223, allocations: 0 / 1.059 GB, free: 1.02 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.961e-05/0.2223, allocations: 126.2 kB / 1.059 GB, free: 0.8984 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2223, allocations: 0 / 1.059 GB, free: 0.8984 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002273/0.2226, allocations: 20 kB / 1.059 GB, free: 0.8789 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.0005597/0.2231, allocations: 0.7747 MB / 1.06 GB, free: 80 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003107/0.2234, allocations: 111.8 kB / 1.06 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2234, allocations: 0 / 1.06 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001397/0.2236, allocations: 59.95 kB / 1.06 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002679/0.2239, allocations: 16.12 kB / 1.06 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001805/0.2257, allocations: 1.782 MB / 1.062 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002075/0.2259, allocations: 0.7123 MB / 1.062 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.776e-05/0.226, allocations: 17.08 kB / 1.062 GB, free: 13.26 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.794e-05/0.2261, allocations: 47.42 kB / 1.062 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of SimCode: time 2e-07/0.2261, allocations: 0 / 1.062 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3652/0.5913, allocations: 2.484 MB / 1.065 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002375/0.5915, allocations: 273.1 kB / 1.065 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.461/2.052, allocations: 1.5 kB / 1.065 GB, free: 10.57 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