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.0008746/0.0008747, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.004739/0.004739, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.185/1.185, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.338/2.338, allocations: 462.6 MB / 0.7364 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002819/0.0002819, allocations: 13.38 kB / 0.9029 GB, free: 36.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2158/0.2161, allocations: 159.6 MB / 1.059 GB, free: 4.844 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides): time 0.001148/0.2173, allocations: 0.8411 MB / 1.06 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001374/0.2187, allocations: 1.24 MB / 1.061 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.605e-05/0.2188, allocations: 8 kB / 1.061 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.829e-05/0.2188, allocations: 15.84 kB / 1.061 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.529e-05/0.2189, allocations: 15.8 kB / 1.061 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004263/0.2194, allocations: 171 kB / 1.061 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002038/0.2196, allocations: 243.9 kB / 1.061 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001673/0.2198, allocations: 103.8 kB / 1.061 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001041/0.2199, allocations: 75.69 kB / 1.061 GB, free: 2.129 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000107/0.22, allocations: 87.53 kB / 1.062 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.66e-05/0.22, allocations: 8 kB / 1.062 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.401e-05/0.2201, allocations: 27.92 kB / 1.062 GB, free: 2.008 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.185e-05/0.2201, allocations: 35.84 kB / 1.062 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.261e-05/0.2202, allocations: 117.1 kB / 1.062 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002477/0.2205, allocations: 291.2 kB / 1.062 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.2205, allocations: 0 / 1.062 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.333e-06/0.2205, allocations: 0 / 1.062 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.2205, allocations: 0 / 1.062 GB, free: 1.566 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.0007347/0.2212, allocations: 0.5122 MB / 1.063 GB, free: 1 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.2213, allocations: 12.03 kB / 1.063 GB, free: 0.9883 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.653e-05/0.2213, allocations: 46.73 kB / 1.063 GB, free: 0.9336 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.257e-05/0.2214, allocations: 24.75 kB / 1.063 GB, free: 0.9102 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006598/0.2221, allocations: 325.3 kB / 1.063 GB, free: 0.5508 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.044e-05/0.2221, allocations: 16.38 kB / 1.063 GB, free: 0.5352 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.954e-05/0.2221, allocations: 20.38 kB / 1.063 GB, free: 0.5156 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004206/0.2226, allocations: 231.2 kB / 1.063 GB, free: 284 kB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.2226, allocations: 0 / 1.063 GB, free: 284 kB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.831e-05/0.2226, allocations: 8 kB / 1.063 GB, free: 276 kB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.2226, allocations: 8 kB / 1.063 GB, free: 268 kB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004742/0.2231, allocations: 167.8 kB / 1.063 GB, free: 100 kB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007527/0.2238, allocations: 0.6523 MB / 1.064 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003674/0.2242, allocations: 165.1 kB / 1.064 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002346/0.2245, allocations: 89.75 kB / 1.064 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.378e-05/0.2245, allocations: 8 kB / 1.064 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003516/0.2249, allocations: 154.7 kB / 1.064 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=17): time 1.292e-06/0.2249, allocations: 4 kB / 1.064 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of matching and sorting (n=17): time 0.0008019/0.2257, allocations: 289.3 kB / 1.065 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.878e-05/0.2257, allocations: 77.11 kB / 1.065 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001172/0.2259, allocations: 175.7 kB / 1.065 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.076e-05/0.2259, allocations: 33.7 kB / 1.065 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.436e-05/0.226, allocations: 140.2 kB / 1.065 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.737e-05/0.226, allocations: 51.23 kB / 1.065 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.944e-05/0.2261, allocations: 33.7 kB / 1.065 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.395e-05/0.2262, allocations: 326.8 kB / 1.065 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002616/0.2264, allocations: 87.94 kB / 1.066 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002743/0.2267, allocations: 134.5 kB / 1.066 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004931/0.2272, allocations: 238.6 kB / 1.066 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.2272, allocations: 0 / 1.066 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006559/0.2279, allocations: 298.9 kB / 1.066 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.026e-05/0.2279, allocations: 33.7 kB / 1.066 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.2279, allocations: 4 kB / 1.066 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.2279, allocations: 3.938 kB / 1.066 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001949/0.2281, allocations: 44.09 kB / 1.066 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/0.2282, allocations: 7.969 kB / 1.066 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002628/0.2284, allocations: 63.8 kB / 1.066 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.258e-05/0.2285, allocations: 12 kB / 1.066 GB, free: 12.81 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.0001066/0.2286, allocations: 135.3 kB / 1.066 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.11e-05/0.2286, allocations: 11.89 kB / 1.066 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.956e-05/0.2286, allocations: 21.41 kB / 1.066 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.2287, allocations: 7.938 kB / 1.066 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/0.2287, allocations: 3.938 kB / 1.067 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.2287, allocations: 0 / 1.067 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001939/0.2289, allocations: 269.5 kB / 1.067 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.2289, allocations: 4 kB / 1.067 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001685/0.229, allocations: 35.91 kB / 1.067 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.2291, allocations: 0 / 1.067 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.2291, allocations: 4 kB / 1.067 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.075e-06/0.2291, allocations: 3.938 kB / 1.067 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.2291, allocations: 0 / 1.067 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005241/0.2296, allocations: 245.6 kB / 1.067 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.046e-05/0.2297, allocations: 92.86 kB / 1.067 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.23e-05/0.2297, allocations: 8 kB / 1.067 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/0.2298, allocations: 23.91 kB / 1.067 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.714e-05/0.2299, allocations: 27.91 kB / 1.067 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.06e-05/0.2299, allocations: 4 kB / 1.067 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.265e-05/0.23, allocations: 128.2 kB / 1.067 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.23, allocations: 0 / 1.067 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002302/0.2302, allocations: 43.84 kB / 1.067 GB, free: 11.67 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.0007531/0.231, allocations: 0.7871 MB / 1.068 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005908/0.2316, allocations: 275.5 kB / 1.068 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.2316, allocations: 4.062 kB / 1.068 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002568/0.2319, allocations: 99.81 kB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002377/0.2321, allocations: 34.38 kB / 1.069 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00265/0.2348, allocations: 2.21 MB / 1.071 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002115/0.235, allocations: 0.7283 MB / 1.071 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001139/0.2351, allocations: 25.55 kB / 1.071 GB, free: 7.32 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.76e-05/0.2352, allocations: 63.41 kB / 1.071 GB, free: 7.258 MB / 0.8262 GB Notification: Performance of SimCode: time 2.765e-06/0.2352, allocations: 0 / 1.071 GB, free: 7.258 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1913/0.4265, allocations: 3.996 MB / 1.075 GB, free: 3.492 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002043/0.4267, allocations: 253.7 kB / 1.076 GB, free: 3.238 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.253/2.68, allocations: 4 kB / 1.076 GB, free: 3.234 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