Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.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.Reheat.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_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.001192/0.001192, 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.001126/0.001126, allocations: 198.1 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.164/1.164, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.312/2.312, allocations: 461.9 MB / 0.7342 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001127/0.001127, allocations: 70.75 kB / 0.8986 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.221/0.2221, 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.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.002575/0.2247, allocations: 1.486 MB / 1.054 GB, free: 6.656 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001253/0.226, allocations: 1.073 MB / 1.055 GB, free: 5.57 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000181/0.2262, allocations: 7.938 kB / 1.055 GB, free: 5.562 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 8.513e-05/0.2263, allocations: 23.72 kB / 1.055 GB, free: 5.539 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000119/0.2264, allocations: 19.81 kB / 1.055 GB, free: 5.52 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002419/0.2267, allocations: 111.9 kB / 1.055 GB, free: 5.41 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002404/0.2269, allocations: 316.7 kB / 1.055 GB, free: 5.098 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000288/0.2272, allocations: 198 kB / 1.055 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001497/0.2274, allocations: 119.4 kB / 1.056 GB, free: 4.789 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001256/0.2275, allocations: 143.2 kB / 1.056 GB, free: 4.648 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.611e-05/0.2275, allocations: 20 kB / 1.056 GB, free: 4.629 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.949e-05/0.2276, allocations: 16 kB / 1.056 GB, free: 4.613 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.41e-05/0.2276, allocations: 67.69 kB / 1.056 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.915e-05/0.2277, allocations: 143.1 kB / 1.056 GB, free: 4.406 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003099/0.228, allocations: 442.8 kB / 1.056 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.2281, allocations: 3.938 kB / 1.056 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.874e-06/0.2281, allocations: 3.984 kB / 1.056 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.2281, allocations: 3.938 kB / 1.056 GB, free: 3.961 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: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.0007145/0.2288, allocations: 0.5814 MB / 1.057 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.2288, allocations: 11.97 kB / 1.057 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.194e-05/0.2289, allocations: 70.72 kB / 1.057 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.492e-05/0.229, allocations: 40.47 kB / 1.057 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004565/0.2294, allocations: 325.4 kB / 1.057 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.625e-05/0.2295, allocations: 25.38 kB / 1.057 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.408e-05/0.2295, allocations: 36.38 kB / 1.057 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004836/0.23, allocations: 295.1 kB / 1.058 GB, free: 2.484 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.23, allocations: 3.938 kB / 1.058 GB, free: 2.48 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.863e-05/0.23, allocations: 15.94 kB / 1.058 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.2301, allocations: 8 kB / 1.058 GB, free: 2.457 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004708/0.2305, allocations: 231.9 kB / 1.058 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009536/0.2315, allocations: 0.8328 MB / 1.059 GB, free: 1.344 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000419/0.2319, allocations: 243.5 kB / 1.059 GB, free: 1.098 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002095/0.2321, allocations: 121.2 kB / 1.059 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.854e-05/0.2322, allocations: 4.234 kB / 1.059 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.922e-05/0.2322, allocations: 34.8 kB / 1.059 GB, free: 0.9297 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=27): time 1.362e-06/0.2322, allocations: 0 / 1.059 GB, free: 0.9297 MB / 0.8106 GB Notification: Performance of matching and sorting (n=27): time 0.0006436/0.2329, allocations: 316 kB / 1.059 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.767e-05/0.2329, allocations: 55.41 kB / 1.059 GB, free: 0.5508 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001694/0.2331, allocations: 211.5 kB / 1.06 GB, free: 344 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.2331, allocations: 33.64 kB / 1.06 GB, free: 304 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.847e-05/0.2332, allocations: 180.1 kB / 1.06 GB, free: 120 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.774e-05/0.2332, allocations: 82.84 kB / 1.06 GB, free: 36 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.743e-05/0.2333, allocations: 65.97 kB / 1.06 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.67e-05/0.2334, allocations: 330.8 kB / 1.06 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001886/0.2336, allocations: 84.52 kB / 1.06 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002065/0.2338, allocations: 135.9 kB / 1.061 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003715/0.2342, allocations: 218.7 kB / 1.061 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.2342, allocations: 4 kB / 1.061 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004674/0.2347, allocations: 274.1 kB / 1.061 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.2347, allocations: 8 kB / 1.061 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.2347, allocations: 0 / 1.061 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.2348, allocations: 8.156 kB / 1.061 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002261/0.235, allocations: 67.78 kB / 1.061 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.906e-06/0.235, allocations: 7.984 kB / 1.061 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000121/0.2351, allocations: 19.84 kB / 1.061 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.794e-05/0.2352, allocations: 11.98 kB / 1.061 GB, free: 14.76 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 14 (reaToInt2.y,actAirSet.or1.y,actAirSet.ifSetBac.y,actAirSet.ifWarUp.y,actAirSet.ifSetUp.y,actAirSet.ifCooDow.y,actAirSet.ifOcc.y,actAirSet.or2.y,actAirSet.or3.y,actAirSet.warUpMod.y,actAirSet.setBacMod.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 (34): * Single equations (assignments): 34 * 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 0.0001475/0.2353, allocations: 154.3 kB / 1.061 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.964e-05/0.2353, allocations: 19.72 kB / 1.061 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004787/0.2358, allocations: 252 kB / 1.062 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.2358, allocations: 4 kB / 1.062 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.2359, allocations: 0 / 1.062 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.2359, allocations: 0 / 1.062 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003097/0.2362, allocations: 353.3 kB / 1.062 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.2362, allocations: 0 / 1.062 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001804/0.2364, allocations: 51.91 kB / 1.062 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.2364, allocations: 0 / 1.062 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/0.2364, allocations: 7.938 kB / 1.062 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.2364, allocations: 4 kB / 1.062 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2364, allocations: 0 / 1.062 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004323/0.2368, allocations: 331.1 kB / 1.062 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.589e-05/0.2369, allocations: 100.8 kB / 1.062 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.828e-05/0.2369, allocations: 11.94 kB / 1.062 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001232/0.2371, allocations: 7.984 kB / 1.062 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.213e-05/0.2371, allocations: 27.97 kB / 1.062 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.243e-05/0.2372, allocations: 4 kB / 1.062 GB, free: 13.35 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.943e-05/0.2373, allocations: 145.4 kB / 1.063 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2373, allocations: 0 / 1.063 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002725/0.2375, allocations: 63.69 kB / 1.063 GB, free: 13.15 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: 9 (actAirSet.or3.y,actAirSet.or2.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 27 * 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.0006787/0.2382, allocations: 0.87 MB / 1.063 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004207/0.2387, allocations: 227.7 kB / 1.064 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.2387, allocations: 0 / 1.064 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002078/0.2389, allocations: 119.9 kB / 1.064 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002694/0.2392, allocations: 20 kB / 1.064 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002629/0.2418, allocations: 2.51 MB / 1.066 GB, free: 9.262 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002552/0.2421, allocations: 0.7636 MB / 1.067 GB, free: 8.473 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001357/0.2422, allocations: 38.45 kB / 1.067 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001251/0.2423, allocations: 95.41 kB / 1.067 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of SimCode: time 2.6e-07/0.2423, allocations: 3.938 kB / 1.067 GB, free: 8.34 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.342/0.5843, allocations: 3.732 MB / 1.071 GB, free: 4.805 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002065/0.5846, allocations: 269.6 kB / 1.071 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.551/2.136, allocations: 1.719 kB / 1.071 GB, free: 4.539 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches