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.0008478/0.0008478, allocations: 92.78 kB / 15.36 MB, free: 0.7383 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.004878/0.004878, allocations: 173.2 kB / 16.26 MB, free: 6.613 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.166/1.166, allocations: 223.3 MB / 240.3 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.318/2.318, allocations: 462.7 MB / 0.7364 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002779/0.0002779, allocations: 7.688 kB / 0.9029 GB, free: 36.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2249/0.2252, allocations: 159.6 MB / 1.059 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.00151/0.2267, allocations: 1.113 MB / 1.06 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001096/0.2278, allocations: 1.077 MB / 1.061 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.317e-05/0.2279, allocations: 4 kB / 1.061 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.191e-05/0.228, allocations: 23.72 kB / 1.061 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001208/0.2281, allocations: 23.86 kB / 1.061 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002191/0.2283, allocations: 107.9 kB / 1.061 GB, free: 2.551 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002547/0.2286, allocations: 312.6 kB / 1.061 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002751/0.2289, allocations: 198 kB / 1.062 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001313/0.229, allocations: 91.5 kB / 1.062 GB, free: 1.961 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001058/0.2291, allocations: 103.3 kB / 1.062 GB, free: 1.859 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.395e-05/0.2292, allocations: 8 kB / 1.062 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.062e-05/0.2292, allocations: 8 kB / 1.062 GB, free: 1.844 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.323e-05/0.2292, allocations: 43.77 kB / 1.062 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.326e-05/0.2293, allocations: 144.8 kB / 1.062 GB, free: 1.652 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003111/0.2296, allocations: 430.6 kB / 1.062 GB, free: 1.23 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.2297, allocations: 3.984 kB / 1.062 GB, free: 1.227 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.323e-06/0.2297, allocations: 0 / 1.062 GB, free: 1.227 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.2297, allocations: 0 / 1.062 GB, free: 1.227 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.0006393/0.2303, allocations: 0.5228 MB / 1.063 GB, free: 0.6523 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.2304, allocations: 15.97 kB / 1.063 GB, free: 0.6367 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.192e-05/0.2304, allocations: 66.72 kB / 1.063 GB, free: 0.5625 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.034e-05/0.2305, allocations: 36.56 kB / 1.063 GB, free: 0.5273 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004785/0.231, allocations: 337.3 kB / 1.063 GB, free: 160 kB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.806e-05/0.231, allocations: 29.38 kB / 1.063 GB, free: 132 kB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.632e-05/0.231, allocations: 28.38 kB / 1.063 GB, free: 104 kB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000511/0.2316, allocations: 303.1 kB / 1.064 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.2316, allocations: 7.938 kB / 1.064 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.317e-05/0.2316, allocations: 12 kB / 1.064 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.2316, allocations: 8 kB / 1.064 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005073/0.2321, allocations: 251.8 kB / 1.064 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009777/0.2331, allocations: 0.8289 MB / 1.065 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004482/0.2336, allocations: 257.2 kB / 1.065 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002284/0.2338, allocations: 121.2 kB / 1.065 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.484e-05/0.2339, allocations: 4.234 kB / 1.065 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.264e-05/0.2339, allocations: 38.8 kB / 1.065 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=27): time 1.242e-06/0.2339, allocations: 3.938 kB / 1.065 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of matching and sorting (n=27): time 0.0007078/0.2346, allocations: 336 kB / 1.065 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.969e-05/0.2346, allocations: 55.41 kB / 1.066 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001606/0.2348, allocations: 211.6 kB / 1.066 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/0.2348, allocations: 29.7 kB / 1.066 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.611e-05/0.2349, allocations: 176.2 kB / 1.066 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.838e-05/0.235, allocations: 74.84 kB / 1.066 GB, free: 13.31 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.848e-05/0.235, allocations: 49.69 kB / 1.066 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.2351, allocations: 326.8 kB / 1.066 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001967/0.2354, allocations: 92.5 kB / 1.066 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002312/0.2356, allocations: 147.9 kB / 1.067 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004116/0.236, allocations: 226.7 kB / 1.067 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.236, allocations: 0 / 1.067 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005069/0.2365, allocations: 294 kB / 1.067 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.024e-05/0.2366, allocations: 7.938 kB / 1.067 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.2366, allocations: 4.219 kB / 1.067 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.2366, allocations: 7.938 kB / 1.067 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002339/0.2368, allocations: 59.91 kB / 1.067 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.2368, allocations: 7.984 kB / 1.067 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001275/0.237, allocations: 27.75 kB / 1.067 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.717e-05/0.237, allocations: 11.98 kB / 1.067 GB, free: 12 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.0001437/0.2371, allocations: 154.3 kB / 1.067 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.052e-05/0.2372, allocations: 19.81 kB / 1.067 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005213/0.2377, allocations: 271.9 kB / 1.068 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.2377, allocations: 4 kB / 1.068 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.2377, allocations: 0 / 1.068 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.2377, allocations: 0 / 1.068 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003547/0.2381, allocations: 353.3 kB / 1.068 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.2381, allocations: 4 kB / 1.068 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001768/0.2383, allocations: 47.91 kB / 1.068 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.2383, allocations: 0 / 1.068 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.65e-05/0.2383, allocations: 15.94 kB / 1.068 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.2383, allocations: 0 / 1.068 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.2383, allocations: 0 / 1.068 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004775/0.2388, allocations: 343.2 kB / 1.068 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.926e-05/0.2389, allocations: 96.77 kB / 1.068 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.491e-05/0.2389, allocations: 11.94 kB / 1.068 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001317/0.239, allocations: 11.98 kB / 1.068 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.418e-05/0.2391, allocations: 27.97 kB / 1.069 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/0.2391, allocations: 7.938 kB / 1.069 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.471e-05/0.2392, allocations: 141.5 kB / 1.069 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2392, allocations: 4 kB / 1.069 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002704/0.2395, allocations: 63.69 kB / 1.069 GB, free: 10.36 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.0007273/0.2402, allocations: 0.8885 MB / 1.07 GB, free: 9.441 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004545/0.2407, allocations: 232.2 kB / 1.07 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.2407, allocations: 0 / 1.07 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002191/0.2409, allocations: 127.8 kB / 1.07 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002721/0.2412, allocations: 26.25 kB / 1.07 GB, free: 9.066 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00274/0.244, allocations: 2.54 MB / 1.072 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002752/0.2443, allocations: 0.7675 MB / 1.073 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001321/0.2444, allocations: 34.28 kB / 1.073 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001308/0.2445, allocations: 95.41 kB / 1.073 GB, free: 5.488 MB / 0.8262 GB Notification: Performance of SimCode: time 2.81e-07/0.2445, allocations: 0 / 1.073 GB, free: 5.488 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.554/1.798, allocations: 3.67 MB / 1.077 GB, free: 2.047 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002015/1.798, allocations: 264.9 kB / 1.077 GB, free: 1.785 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.056/3.854, allocations: 4 kB / 1.077 GB, free: 1.781 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