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.Overrides.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.Overrides,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_Overrides",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_Overrides",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.001182/0.001182, 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.001138/0.001138, allocations: 193.7 kB / 16.14 MB, free: 6.699 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.165/1.165, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.304/2.304, allocations: 461.8 MB / 0.7342 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001153/0.001153, allocations: 67.08 kB / 0.8986 GB, free: 36.94 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2136/0.2147, allocations: 157.4 MB / 1.052 GB, free: 8.188 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides): time 0.002113/0.2169, allocations: 1.186 MB / 1.053 GB, free: 7 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001379/0.2183, allocations: 1.26 MB / 1.055 GB, free: 5.727 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.482e-05/0.2184, allocations: 4 kB / 1.055 GB, free: 5.723 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.443e-05/0.2185, allocations: 11.86 kB / 1.055 GB, free: 5.711 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.632e-05/0.2186, allocations: 15.8 kB / 1.055 GB, free: 5.695 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004169/0.219, allocations: 174.6 kB / 1.055 GB, free: 5.527 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002094/0.2192, allocations: 247.9 kB / 1.055 GB, free: 5.285 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001627/0.2194, allocations: 95.8 kB / 1.055 GB, free: 5.188 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001098/0.2195, allocations: 95.67 kB / 1.055 GB, free: 5.094 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001171/0.2196, allocations: 107.5 kB / 1.055 GB, free: 4.988 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.624e-05/0.2197, allocations: 16 kB / 1.055 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.125e-05/0.2198, allocations: 27.98 kB / 1.055 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.835e-05/0.2198, allocations: 39.83 kB / 1.055 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.976e-05/0.2199, allocations: 107.4 kB / 1.056 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000254/0.2202, allocations: 303.2 kB / 1.056 GB, free: 4.504 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.2202, allocations: 0 / 1.056 GB, free: 4.504 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.32e-07/0.2202, allocations: 0 / 1.056 GB, free: 4.504 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.2202, allocations: 4 kB / 1.056 GB, free: 4.5 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0007967/0.221, allocations: 0.5433 MB / 1.056 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.221, allocations: 8.031 kB / 1.056 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.803e-05/0.2211, allocations: 46.73 kB / 1.056 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.223e-05/0.2211, allocations: 24.75 kB / 1.056 GB, free: 3.816 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006289/0.2218, allocations: 316.6 kB / 1.057 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.18e-05/0.2218, allocations: 16.38 kB / 1.057 GB, free: 3.449 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.506e-05/0.2219, allocations: 20.38 kB / 1.057 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004116/0.2223, allocations: 215.3 kB / 1.057 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.2223, allocations: 3.938 kB / 1.057 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.45e-05/0.2223, allocations: 11.98 kB / 1.057 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.2223, allocations: 12 kB / 1.057 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004421/0.2228, allocations: 147.8 kB / 1.057 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007377/0.2235, allocations: 0.6562 MB / 1.058 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000349/0.2239, allocations: 153.1 kB / 1.058 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002207/0.2241, allocations: 89.75 kB / 1.058 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.252e-05/0.2241, allocations: 0 / 1.058 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003366/0.2245, allocations: 146.1 kB / 1.058 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=17): time 1.162e-06/0.2245, allocations: 0 / 1.058 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of matching and sorting (n=17): time 0.0007496/0.2253, allocations: 261.3 kB / 1.058 GB, free: 1.641 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.4e-05/0.2253, allocations: 81.05 kB / 1.058 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.2254, allocations: 175.7 kB / 1.059 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.085e-05/0.2255, allocations: 37.7 kB / 1.059 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.184e-05/0.2255, allocations: 136.2 kB / 1.059 GB, free: 1.184 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.525e-05/0.2256, allocations: 47.3 kB / 1.059 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.998e-05/0.2257, allocations: 57.67 kB / 1.059 GB, free: 1.074 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.525e-05/0.2258, allocations: 326.8 kB / 1.059 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002489/0.226, allocations: 79.94 kB / 1.059 GB, free: 0.668 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002588/0.2263, allocations: 125.8 kB / 1.059 GB, free: 0.5273 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004505/0.2267, allocations: 214.6 kB / 1.06 GB, free: 300 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.2268, allocations: 0 / 1.06 GB, free: 300 kB / 0.8106 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006209/0.2274, allocations: 287 kB / 1.06 GB, free: 0 / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.915e-05/0.2274, allocations: 33.75 kB / 1.06 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.2274, allocations: 7.938 kB / 1.06 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.2275, allocations: 3.938 kB / 1.06 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001896/0.2277, allocations: 43.91 kB / 1.06 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.2277, allocations: 0 / 1.06 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002376/0.2279, allocations: 47.86 kB / 1.06 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.487e-05/0.2279, allocations: 12 kB / 1.06 GB, free: 15.85 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,heaOff.y,$PRE.heaOff.y,reaToInt1.y,ove.or2.y,ove.intEqu4.y,ove.intEqu3.y,ove.conInt4.y,ove.conInt3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 1 * 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.0001083/0.2281, allocations: 143.2 kB / 1.06 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.37e-05/0.2281, allocations: 11.81 kB / 1.06 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.816e-05/0.2281, allocations: 17.41 kB / 1.06 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.2281, allocations: 7.938 kB / 1.06 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.297e-06/0.2281, allocations: 0 / 1.06 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.2282, allocations: 7.984 kB / 1.06 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001902/0.2283, allocations: 261.5 kB / 1.06 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.2284, allocations: 320 / 1.06 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001653/0.2285, allocations: 39.91 kB / 1.061 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.2285, allocations: 0 / 1.061 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/0.2286, allocations: 11.98 kB / 1.061 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.2286, allocations: 3.938 kB / 1.061 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.2286, allocations: 0 / 1.061 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004738/0.229, allocations: 221.6 kB / 1.061 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.122e-05/0.2291, allocations: 96.84 kB / 1.061 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.255e-05/0.2291, allocations: 4 kB / 1.061 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001184/0.2293, allocations: 23.92 kB / 1.061 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.517e-05/0.2293, allocations: 19.97 kB / 1.061 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.314e-05/0.2293, allocations: 4 kB / 1.061 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.283e-05/0.2294, allocations: 128.2 kB / 1.061 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.2294, allocations: 0 / 1.061 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002375/0.2297, allocations: 51.83 kB / 1.061 GB, free: 14.72 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,heaOff.y,ove.intEqu3.y,ove.intEqu4.y,ove.or2.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0007203/0.2304, allocations: 0.763 MB / 1.062 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005441/0.2309, allocations: 263.7 kB / 1.062 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.231, allocations: 0 / 1.062 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002398/0.2312, allocations: 91.81 kB / 1.062 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002282/0.2314, allocations: 32.61 kB / 1.062 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002573/0.234, allocations: 2.167 MB / 1.064 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002136/0.2342, allocations: 0.7283 MB / 1.065 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001163/0.2344, allocations: 29.47 kB / 1.065 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.691e-05/0.2345, allocations: 55.41 kB / 1.065 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of SimCode: time 1.272e-06/0.2345, allocations: 8 kB / 1.065 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3332/0.5677, allocations: 4.068 MB / 1.069 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002102/0.5679, allocations: 249.2 kB / 1.069 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.485/2.053, allocations: 1.25 kB / 1.069 GB, free: 6.281 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_Overrides_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_Overrides.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_Overrides.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches