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 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.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.0009944/0.0009944, 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.0009905/0.0009905, allocations: 196.8 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.155/1.155, allocations: 222.9 MB / 239.8 MB, free: 4.535 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.8 MB / 0.7342 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001156/0.001156, allocations: 63.5 kB / 0.8986 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2096/0.2108, allocations: 157.4 MB / 1.052 GB, free: 8.113 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.002007/0.2128, allocations: 1.057 MB / 1.053 GB, free: 7.055 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009263/0.2137, allocations: 0.9713 MB / 1.054 GB, free: 6.07 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.315e-05/0.2138, allocations: 4 kB / 1.054 GB, free: 6.066 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.047e-05/0.2139, allocations: 11.86 kB / 1.054 GB, free: 6.055 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.709e-05/0.214, allocations: 15.86 kB / 1.054 GB, free: 6.039 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001648/0.2142, allocations: 55.95 kB / 1.054 GB, free: 5.984 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001299/0.2143, allocations: 152.1 kB / 1.054 GB, free: 5.836 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001542/0.2145, allocations: 93.53 kB / 1.055 GB, free: 5.746 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001168/0.2146, allocations: 59.72 kB / 1.055 GB, free: 5.688 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.202e-05/0.2147, allocations: 71.61 kB / 1.055 GB, free: 5.617 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.358e-05/0.2147, allocations: 8 kB / 1.055 GB, free: 5.609 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.916e-05/0.2147, allocations: 8 kB / 1.055 GB, free: 5.602 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.769e-05/0.2148, allocations: 27.91 kB / 1.055 GB, free: 5.574 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.558e-05/0.2148, allocations: 67.59 kB / 1.055 GB, free: 5.508 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001591/0.215, allocations: 207.5 kB / 1.055 GB, free: 5.305 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.215, allocations: 0 / 1.055 GB, free: 5.305 MB / 0.8106 GB Notification: Performance of FrontEnd: time 6.21e-07/0.215, allocations: 0 / 1.055 GB, free: 5.305 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.526e-06/0.215, allocations: 0 / 1.055 GB, free: 5.305 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.0005477/0.2156, allocations: 451 kB / 1.055 GB, free: 4.812 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.2156, allocations: 11.97 kB / 1.055 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.339e-05/0.2157, allocations: 50.73 kB / 1.055 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.612e-05/0.2157, allocations: 20.75 kB / 1.056 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003705/0.2161, allocations: 259.8 kB / 1.056 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.2161, allocations: 12.38 kB / 1.056 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.083e-05/0.2161, allocations: 12.38 kB / 1.056 GB, free: 4.406 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002943/0.2164, allocations: 146 kB / 1.056 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.2164, allocations: 3.938 kB / 1.056 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.522e-05/0.2165, allocations: 4 kB / 1.056 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.2165, allocations: 4 kB / 1.056 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003031/0.2168, allocations: 127.9 kB / 1.056 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005518/0.2173, allocations: 480.1 kB / 1.057 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002633/0.2176, allocations: 118.7 kB / 1.057 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001406/0.2178, allocations: 52.83 kB / 1.057 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.66e-05/0.2178, allocations: 3.938 kB / 1.057 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.123e-05/0.2178, allocations: 38.56 kB / 1.057 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=12): time 1.122e-06/0.2178, allocations: 4 kB / 1.057 GB, free: 3.367 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12): time 0.0004761/0.2183, allocations: 173.3 kB / 1.057 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.002e-05/0.2183, allocations: 51.41 kB / 1.057 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.2184, allocations: 157.1 kB / 1.057 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.2185, allocations: 33.7 kB / 1.057 GB, free: 2.922 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.268e-05/0.2185, allocations: 116.2 kB / 1.057 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.737e-05/0.2186, allocations: 39.53 kB / 1.057 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.628e-05/0.2186, allocations: 37.7 kB / 1.057 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.323e-05/0.2187, allocations: 330.7 kB / 1.058 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001328/0.2188, allocations: 35.97 kB / 1.058 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001417/0.219, allocations: 87.31 kB / 1.058 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002497/0.2193, allocations: 111.2 kB / 1.058 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.2193, allocations: 4 kB / 1.058 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003203/0.2196, allocations: 149.5 kB / 1.058 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.2196, allocations: 5.719 kB / 1.058 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.2196, allocations: 0 / 1.058 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.2196, allocations: 4 kB / 1.058 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001459/0.2198, allocations: 19.98 kB / 1.058 GB, free: 1.953 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.2198, allocations: 8.031 kB / 1.058 GB, free: 1.945 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.148e-05/0.2199, allocations: 23.83 kB / 1.058 GB, free: 1.922 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/0.2199, allocations: 7.938 kB / 1.058 GB, free: 1.914 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.635e-05/0.22, allocations: 133.8 kB / 1.058 GB, free: 1.773 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.035e-05/0.22, allocations: 7.906 kB / 1.058 GB, free: 1.766 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.137e-05/0.2201, allocations: 16.72 kB / 1.058 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.2201, allocations: 0 / 1.058 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.2201, allocations: 0 / 1.058 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.2201, allocations: 4 kB / 1.058 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002065/0.2203, allocations: 241.4 kB / 1.058 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.2203, allocations: 0 / 1.058 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001164/0.2204, allocations: 23.91 kB / 1.058 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.2204, allocations: 0 / 1.058 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.2205, allocations: 4 kB / 1.058 GB, free: 1.434 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.2205, allocations: 0 / 1.058 GB, free: 1.434 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2205, allocations: 0 / 1.058 GB, free: 1.434 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003243/0.2208, allocations: 235.8 kB / 1.059 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.435e-05/0.2208, allocations: 92.86 kB / 1.059 GB, free: 1.078 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.2209, allocations: 4 kB / 1.059 GB, free: 1.074 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.221, allocations: 7.984 kB / 1.059 GB, free: 1.066 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.061e-05/0.221, allocations: 23.97 kB / 1.059 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.235e-06/0.2211, allocations: 4 kB / 1.059 GB, free: 1.039 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.868e-05/0.2211, allocations: 112.9 kB / 1.059 GB, free: 0.9297 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2211, allocations: 4 kB / 1.059 GB, free: 0.9258 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000231/0.2214, allocations: 20 kB / 1.059 GB, free: 0.9062 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.0005365/0.2219, allocations: 0.7787 MB / 1.06 GB, free: 104 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003077/0.2222, allocations: 111.8 kB / 1.06 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.572e-06/0.2222, allocations: 0 / 1.06 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001399/0.2224, allocations: 59.86 kB / 1.06 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002731/0.2226, allocations: 28.05 kB / 1.06 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001794/0.2245, allocations: 1.779 MB / 1.062 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002021/0.2247, allocations: 0.7123 MB / 1.062 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.777e-05/0.2248, allocations: 17.08 kB / 1.062 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.913e-05/0.2248, allocations: 47.42 kB / 1.062 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of SimCode: time 2e-07/0.2249, allocations: 0 / 1.062 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.272/0.4968, allocations: 2.478 MB / 1.065 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002185/0.4971, allocations: 267.9 kB / 1.065 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.435/1.932, allocations: 4 kB / 1.065 GB, free: 10.6 MB / 0.8262 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 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.mat","/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