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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001601/0.001602, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001959/0.001959, allocations: 192.7 kB / 16.53 MB, free: 6.664 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.284/1.284, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.38/2.38, allocations: 461.9 MB / 0.7347 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 69.08 kB / 0.8993 GB, free: 36.96 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2366/0.2378, allocations: 157.4 MB / 1.053 GB, free: 8.281 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides): time 0.002426/0.2402, allocations: 1.137 MB / 1.054 GB, free: 7.145 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001492/0.2418, allocations: 1.264 MB / 1.055 GB, free: 5.867 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001246/0.2419, allocations: 0 / 1.055 GB, free: 5.867 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.879e-05/0.242, allocations: 19.73 kB / 1.055 GB, free: 5.848 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001066/0.2421, allocations: 31.66 kB / 1.055 GB, free: 5.816 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000493/0.2426, allocations: 190.8 kB / 1.056 GB, free: 5.633 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002512/0.2429, allocations: 271.9 kB / 1.056 GB, free: 5.367 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001982/0.2431, allocations: 109.3 kB / 1.056 GB, free: 5.258 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001718/0.2432, allocations: 111.6 kB / 1.056 GB, free: 5.148 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001451/0.2434, allocations: 111.5 kB / 1.056 GB, free: 5.039 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.19e-05/0.2434, allocations: 28 kB / 1.056 GB, free: 5.012 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.058e-05/0.2435, allocations: 39.98 kB / 1.056 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.716e-05/0.2436, allocations: 47.84 kB / 1.056 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001112/0.2437, allocations: 111.5 kB / 1.056 GB, free: 4.816 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003123/0.244, allocations: 327.2 kB / 1.057 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.244, allocations: 0 / 1.057 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.082e-06/0.244, allocations: 0 / 1.057 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.351e-06/0.2441, allocations: 0 / 1.057 GB, free: 4.496 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.0008064/0.2449, allocations: 0.5316 MB / 1.057 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/0.2449, allocations: 12.03 kB / 1.057 GB, free: 3.898 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.735e-05/0.245, allocations: 50.73 kB / 1.057 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.535e-05/0.245, allocations: 28.75 kB / 1.057 GB, free: 3.812 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006496/0.2457, allocations: 305.4 kB / 1.058 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.306e-05/0.2457, allocations: 12.38 kB / 1.058 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.845e-05/0.2458, allocations: 24.36 kB / 1.058 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004188/0.2462, allocations: 223.3 kB / 1.058 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.2462, allocations: 0 / 1.058 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.415e-05/0.2462, allocations: 4 kB / 1.058 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-06/0.2462, allocations: 8 kB / 1.058 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004653/0.2467, allocations: 155.8 kB / 1.058 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007449/0.2475, allocations: 0.6483 MB / 1.059 GB, free: 2.34 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003639/0.2478, allocations: 161.1 kB / 1.059 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002241/0.2481, allocations: 81.75 kB / 1.059 GB, free: 2.078 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.205e-05/0.2481, allocations: 0 / 1.059 GB, free: 2.078 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003536/0.2485, allocations: 156.9 kB / 1.059 GB, free: 1.906 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=17): time 1.283e-06/0.2485, allocations: 0 / 1.059 GB, free: 1.906 MB / 0.8106 GB Notification: Performance of matching and sorting (n=17): time 0.0007754/0.2493, allocations: 265.6 kB / 1.059 GB, free: 1.641 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.966e-05/0.2493, allocations: 77.11 kB / 1.059 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/0.2494, allocations: 172 kB / 1.059 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.733e-05/0.2495, allocations: 33.7 kB / 1.059 GB, free: 1.332 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.278e-05/0.2496, allocations: 136.2 kB / 1.06 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.605e-05/0.2496, allocations: 47.3 kB / 1.06 GB, free: 1.148 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.674e-05/0.2497, allocations: 57.69 kB / 1.06 GB, free: 1.086 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.486e-05/0.2498, allocations: 330.8 kB / 1.06 GB, free: 0.7539 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002586/0.2501, allocations: 79.94 kB / 1.06 GB, free: 0.6758 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002818/0.2503, allocations: 123 kB / 1.06 GB, free: 0.5391 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000477/0.2508, allocations: 218.6 kB / 1.06 GB, free: 308 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2508, allocations: 0 / 1.06 GB, free: 308 kB / 0.8106 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006382/0.2515, allocations: 278.9 kB / 1.061 GB, free: 16 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.267e-05/0.2515, allocations: 37.7 kB / 1.061 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.2516, allocations: 4 kB / 1.061 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.2516, allocations: 8.062 kB / 1.061 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001997/0.2518, allocations: 39.91 kB / 1.061 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.014e-06/0.2518, allocations: 3.984 kB / 1.061 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002572/0.2521, allocations: 52.09 kB / 1.061 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.296e-05/0.2521, allocations: 8 kB / 1.061 GB, free: 15.86 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.0001085/0.2522, allocations: 139.6 kB / 1.061 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.63e-05/0.2522, allocations: 15.8 kB / 1.061 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.286e-05/0.2523, allocations: 25.41 kB / 1.061 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.2523, allocations: 7.938 kB / 1.061 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.2523, allocations: 0 / 1.061 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.2523, allocations: 3.938 kB / 1.061 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002018/0.2525, allocations: 269.4 kB / 1.061 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2525, allocations: 0 / 1.061 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001723/0.2527, allocations: 39.97 kB / 1.061 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.2527, allocations: 0 / 1.061 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.2527, allocations: 4 kB / 1.061 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.2527, allocations: 3.938 kB / 1.061 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.2527, allocations: 0 / 1.061 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005107/0.2532, allocations: 229.5 kB / 1.062 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.726e-05/0.2533, allocations: 88.92 kB / 1.062 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.807e-05/0.2533, allocations: 8 kB / 1.062 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/0.2534, allocations: 19.91 kB / 1.062 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.971e-05/0.2535, allocations: 23.97 kB / 1.062 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.099e-05/0.2535, allocations: 4 kB / 1.062 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.051e-05/0.2536, allocations: 124.2 kB / 1.062 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2536, allocations: 7.938 kB / 1.062 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000243/0.2539, allocations: 47.84 kB / 1.062 GB, free: 14.73 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.0007833/0.2547, allocations: 0.767 MB / 1.063 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005999/0.2553, allocations: 263.1 kB / 1.063 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.2553, allocations: 4.188 kB / 1.063 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002489/0.2555, allocations: 91.88 kB / 1.063 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.0002381/0.2558, allocations: 23.98 kB / 1.063 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002692/0.2585, allocations: 2.106 MB / 1.065 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002294/0.2587, allocations: 0.7319 MB / 1.066 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001178/0.2589, allocations: 25.55 kB / 1.066 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.208e-05/0.2589, allocations: 59.42 kB / 1.066 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of SimCode: time 2.6e-07/0.259, allocations: 0 / 1.066 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2829/0.5419, allocations: 4.421 MB / 1.07 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.173/9.715, allocations: 13.42 kB / 1.07 GB, free: 6.215 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