Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.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.CoolingOnly.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_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.0009999/0.001, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.0009553/0.0009552, allocations: 193.9 kB / 16.14 MB, free: 6.648 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.167/1.167, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.329/2.329, allocations: 461.8 MB / 0.7342 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001121/0.001121, allocations: 68.92 kB / 0.8986 GB, free: 36.91 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2134/0.2145, allocations: 157.4 MB / 1.052 GB, free: 8.145 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow): time 0.002009/0.2166, allocations: 1.09 MB / 1.053 GB, free: 7.051 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009629/0.2175, allocations: 0.9635 MB / 1.054 GB, free: 6.074 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.343e-05/0.2176, allocations: 4 kB / 1.054 GB, free: 6.07 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.759e-05/0.2177, allocations: 11.86 kB / 1.054 GB, free: 6.059 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.72e-05/0.2178, allocations: 19.84 kB / 1.054 GB, free: 6.039 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001627/0.2179, allocations: 51.97 kB / 1.054 GB, free: 5.988 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001417/0.2181, allocations: 156.1 kB / 1.054 GB, free: 5.836 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001584/0.2183, allocations: 96.27 kB / 1.055 GB, free: 5.742 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001174/0.2184, allocations: 63.72 kB / 1.055 GB, free: 5.68 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.155e-05/0.2185, allocations: 71.61 kB / 1.055 GB, free: 5.609 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.322e-05/0.2185, allocations: 8 kB / 1.055 GB, free: 5.602 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.137e-05/0.2185, allocations: 12 kB / 1.055 GB, free: 5.59 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.836e-05/0.2186, allocations: 27.91 kB / 1.055 GB, free: 5.562 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.768e-05/0.2186, allocations: 67.59 kB / 1.055 GB, free: 5.496 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001639/0.2188, allocations: 199.5 kB / 1.055 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.2188, allocations: 0 / 1.055 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.62e-07/0.2188, allocations: 0 / 1.055 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.182e-06/0.2188, allocations: 0 / 1.055 GB, free: 5.301 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0005604/0.2194, allocations: 462.9 kB / 1.055 GB, free: 4.797 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.2194, allocations: 11.97 kB / 1.055 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.439e-05/0.2195, allocations: 50.73 kB / 1.056 GB, free: 4.727 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.5e-05/0.2195, allocations: 20.69 kB / 1.056 GB, free: 4.707 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003731/0.2199, allocations: 253.8 kB / 1.056 GB, free: 4.422 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.2199, allocations: 12.38 kB / 1.056 GB, free: 4.41 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.089e-05/0.2199, allocations: 20.38 kB / 1.056 GB, free: 4.391 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002914/0.2202, allocations: 146 kB / 1.056 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/0.2203, allocations: 3.938 kB / 1.056 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.684e-05/0.2203, allocations: 11.98 kB / 1.056 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.2203, allocations: 4 kB / 1.056 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003013/0.2206, allocations: 111.9 kB / 1.056 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005738/0.2212, allocations: 500 kB / 1.057 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002613/0.2214, allocations: 118.7 kB / 1.057 GB, free: 3.449 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001373/0.2216, allocations: 48.83 kB / 1.057 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.74e-05/0.2216, allocations: 0 / 1.057 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.2216, allocations: 42.5 kB / 1.057 GB, free: 3.348 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=12): time 9.22e-07/0.2216, allocations: 0 / 1.057 GB, free: 3.348 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12): time 0.0004766/0.2221, allocations: 177.7 kB / 1.057 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.528e-05/0.2222, allocations: 55.41 kB / 1.057 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.2223, allocations: 157 kB / 1.057 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.383e-05/0.2223, allocations: 29.64 kB / 1.057 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.671e-05/0.2224, allocations: 128.1 kB / 1.057 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.625e-05/0.2224, allocations: 31.55 kB / 1.057 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.891e-05/0.2225, allocations: 37.7 kB / 1.057 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.648e-05/0.2225, allocations: 330.8 kB / 1.058 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001323/0.2227, allocations: 39.97 kB / 1.058 GB, free: 2.32 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001439/0.2228, allocations: 81.16 kB / 1.058 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002459/0.2231, allocations: 99.39 kB / 1.058 GB, free: 2.121 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.2231, allocations: 4 kB / 1.058 GB, free: 2.117 MB / 0.8106 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003278/0.2234, allocations: 165.3 kB / 1.058 GB, free: 1.949 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.2235, allocations: 4 kB / 1.058 GB, free: 1.945 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.2235, allocations: 0 / 1.058 GB, free: 1.945 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.2235, allocations: 4 kB / 1.058 GB, free: 1.941 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001418/0.2236, allocations: 19.98 kB / 1.058 GB, free: 1.922 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.2236, allocations: 4 kB / 1.058 GB, free: 1.918 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.887e-05/0.2237, allocations: 27.83 kB / 1.058 GB, free: 1.891 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.2238, allocations: 4 kB / 1.058 GB, free: 1.887 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.intEqu1.y,actAirSet.intEqu2.y,actAirSet.intEqu.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.018e-05/0.2238, allocations: 137.8 kB / 1.058 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.176e-05/0.2239, allocations: 11.89 kB / 1.058 GB, free: 1.73 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.671e-05/0.2239, allocations: 12.72 kB / 1.058 GB, free: 1.719 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.2239, allocations: 0 / 1.058 GB, free: 1.719 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.2239, allocations: 0 / 1.058 GB, free: 1.719 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.2239, allocations: 0 / 1.058 GB, free: 1.719 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002101/0.2241, allocations: 241.5 kB / 1.058 GB, free: 1.434 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.2242, allocations: 0 / 1.058 GB, free: 1.434 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001164/0.2243, allocations: 23.97 kB / 1.058 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.095e-06/0.2243, allocations: 4 kB / 1.058 GB, free: 1.406 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.2243, allocations: 3.938 kB / 1.059 GB, free: 1.402 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.2243, allocations: 0 / 1.059 GB, free: 1.402 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.2243, allocations: 0 / 1.059 GB, free: 1.402 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003316/0.2246, allocations: 235.2 kB / 1.059 GB, free: 1.156 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.603e-05/0.2247, allocations: 88.95 kB / 1.059 GB, free: 1.051 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.988e-05/0.2247, allocations: 12 kB / 1.059 GB, free: 1.039 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.2248, allocations: 7.984 kB / 1.059 GB, free: 1.031 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.242e-05/0.2249, allocations: 19.97 kB / 1.059 GB, free: 1.012 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.123e-06/0.2249, allocations: 0 / 1.059 GB, free: 1.012 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.155e-05/0.225, allocations: 113.1 kB / 1.059 GB, free: 0.9023 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.21e-07/0.225, allocations: 4 kB / 1.059 GB, free: 0.8984 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002308/0.2252, allocations: 27.84 kB / 1.059 GB, free: 0.8711 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.intEqu.y,actAirSet.intEqu2.y,actAirSet.intEqu1.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.0005615/0.2258, allocations: 0.7786 MB / 1.06 GB, free: 68 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003155/0.2261, allocations: 120.4 kB / 1.06 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.2261, allocations: 0 / 1.06 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001401/0.2263, allocations: 60.12 kB / 1.06 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000271/0.2265, allocations: 22.52 kB / 1.06 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001806/0.2284, allocations: 1.777 MB / 1.062 GB, free: 14 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002151/0.2286, allocations: 0.7201 MB / 1.062 GB, free: 13.26 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.546e-05/0.2287, allocations: 17.08 kB / 1.062 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.559e-05/0.2288, allocations: 48.83 kB / 1.062 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.2288, allocations: 0 / 1.062 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8729/1.102, allocations: 2.483 MB / 1.065 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002446/1.102, allocations: 259.8 kB / 1.065 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.584/2.686, allocations: 0 / 1.065 GB, free: 10.56 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches