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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 107.2 kB / 16.46 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 195.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.197/3.197, allocations: 497.2 MB / 0.7811 GB, free: 33.68 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 67.98 kB / 1.134 GB, free: 33.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3304/0.3324, allocations: 173.9 MB / 1.304 GB, free: 1.539 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides): time 0.003314/0.3357, allocations: 1.14 MB / 1.305 GB, free: 408 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002008/0.3377, allocations: 1.256 MB / 1.306 GB, free: 15.13 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001656/0.3379, allocations: 4 kB / 1.306 GB, free: 15.12 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 6.964e-05/0.338, allocations: 19.73 kB / 1.306 GB, free: 15.11 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001642/0.3381, allocations: 35.66 kB / 1.306 GB, free: 15.07 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006237/0.3388, allocations: 179.6 kB / 1.307 GB, free: 14.89 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0003694/0.3391, allocations: 267.9 kB / 1.307 GB, free: 14.63 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002144/0.3393, allocations: 79.8 kB / 1.307 GB, free: 14.55 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001847/0.3395, allocations: 119.6 kB / 1.307 GB, free: 14.43 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001923/0.3397, allocations: 119.5 kB / 1.307 GB, free: 14.31 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 5.98e-05/0.3398, allocations: 31.94 kB / 1.307 GB, free: 14.28 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 9.156e-05/0.3399, allocations: 43.98 kB / 1.307 GB, free: 14.24 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 5.444e-05/0.3399, allocations: 43.84 kB / 1.307 GB, free: 14.2 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001332/0.34, allocations: 115.5 kB / 1.307 GB, free: 14.08 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0004477/0.3405, allocations: 326.9 kB / 1.308 GB, free: 13.76 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.3405, allocations: 0 / 1.308 GB, free: 13.76 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3405, allocations: 0 / 1.308 GB, free: 13.76 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.358e-06/0.3405, allocations: 4 kB / 1.308 GB, free: 13.76 MB / 1.014 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.001053/0.3416, allocations: 0.5508 MB / 1.308 GB, free: 13.15 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.3416, allocations: 8.031 kB / 1.308 GB, free: 13.14 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.295e-05/0.3417, allocations: 50.73 kB / 1.308 GB, free: 13.09 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.787e-05/0.3417, allocations: 28.8 kB / 1.308 GB, free: 13.06 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007432/0.3425, allocations: 305.9 kB / 1.309 GB, free: 12.72 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.389e-05/0.3425, allocations: 20.36 kB / 1.309 GB, free: 12.7 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.644e-05/0.3426, allocations: 20.38 kB / 1.309 GB, free: 12.68 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005107/0.3431, allocations: 207.4 kB / 1.309 GB, free: 12.46 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.3431, allocations: 0 / 1.309 GB, free: 12.46 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.589e-05/0.3431, allocations: 15.98 kB / 1.309 GB, free: 12.45 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.3431, allocations: 8 kB / 1.309 GB, free: 12.44 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005042/0.3436, allocations: 159.8 kB / 1.309 GB, free: 12.29 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001008/0.3446, allocations: 0.6447 MB / 1.31 GB, free: 11.59 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004014/0.345, allocations: 141.2 kB / 1.31 GB, free: 11.43 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002456/0.3453, allocations: 89.73 kB / 1.31 GB, free: 11.34 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.578e-05/0.3453, allocations: 3.984 kB / 1.31 GB, free: 11.33 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004391/0.3458, allocations: 145 kB / 1.31 GB, free: 11.17 MB / 1.014 GB Notification: Performance of pre-optimization done (n=17): time 1.913e-06/0.3458, allocations: 0 / 1.31 GB, free: 11.17 MB / 1.014 GB Notification: Performance of matching and sorting (n=17): time 0.0008651/0.3466, allocations: 257.3 kB / 1.31 GB, free: 10.91 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.386e-05/0.3467, allocations: 81.11 kB / 1.31 GB, free: 10.82 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001829/0.3469, allocations: 180.2 kB / 1.31 GB, free: 10.63 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.392e-05/0.3469, allocations: 37.69 kB / 1.311 GB, free: 10.59 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001146/0.347, allocations: 140.4 kB / 1.311 GB, free: 10.45 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.526e-05/0.3471, allocations: 47.58 kB / 1.311 GB, free: 10.4 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001065/0.3472, allocations: 53.69 kB / 1.311 GB, free: 10.34 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.3473, allocations: 326.8 kB / 1.311 GB, free: 10.01 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002911/0.3476, allocations: 88.17 kB / 1.311 GB, free: 9.926 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003032/0.3479, allocations: 122.6 kB / 1.311 GB, free: 9.789 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005304/0.3485, allocations: 214.7 kB / 1.311 GB, free: 9.555 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.3485, allocations: 0 / 1.311 GB, free: 9.555 MB / 1.014 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007411/0.3492, allocations: 295 kB / 1.312 GB, free: 9.254 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.505e-05/0.3493, allocations: 33.7 kB / 1.312 GB, free: 9.215 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.391e-06/0.3493, allocations: 0 / 1.312 GB, free: 9.215 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.3493, allocations: 7.938 kB / 1.312 GB, free: 9.207 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002232/0.3495, allocations: 43.84 kB / 1.312 GB, free: 9.164 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.3495, allocations: 4.125 kB / 1.312 GB, free: 9.16 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002702/0.3498, allocations: 55.78 kB / 1.312 GB, free: 9.105 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.026e-05/0.3498, allocations: 12 kB / 1.312 GB, free: 9.094 MB / 1.014 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.0001543/0.35, allocations: 135.3 kB / 1.312 GB, free: 8.953 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.632e-05/0.35, allocations: 15.91 kB / 1.312 GB, free: 8.938 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.095e-05/0.3501, allocations: 29.39 kB / 1.312 GB, free: 8.91 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/0.3501, allocations: 3.938 kB / 1.312 GB, free: 8.906 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.3501, allocations: 0 / 1.312 GB, free: 8.906 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.613e-06/0.3501, allocations: 4 kB / 1.312 GB, free: 8.902 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002888/0.3504, allocations: 261.5 kB / 1.312 GB, free: 8.598 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.3504, allocations: 0 / 1.312 GB, free: 8.598 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001791/0.3506, allocations: 27.97 kB / 1.312 GB, free: 8.57 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.3506, allocations: 4 kB / 1.312 GB, free: 8.566 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.53e-05/0.3506, allocations: 4 kB / 1.312 GB, free: 8.562 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.3506, allocations: 3.938 kB / 1.312 GB, free: 8.559 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/0.3506, allocations: 8 kB / 1.312 GB, free: 8.551 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000595/0.3512, allocations: 225.6 kB / 1.313 GB, free: 8.309 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 6.655e-05/0.3512, allocations: 92.95 kB / 1.313 GB, free: 8.199 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.541e-05/0.3513, allocations: 4 kB / 1.313 GB, free: 8.195 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001284/0.3514, allocations: 23.91 kB / 1.313 GB, free: 8.172 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.578e-05/0.3515, allocations: 23.92 kB / 1.313 GB, free: 8.148 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.706e-05/0.3515, allocations: 11.98 kB / 1.313 GB, free: 8.137 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001083/0.3516, allocations: 119.2 kB / 1.313 GB, free: 8.02 MB / 1.014 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3516, allocations: 0 / 1.313 GB, free: 8.02 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002894/0.3519, allocations: 47.89 kB / 1.313 GB, free: 7.973 MB / 1.014 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.0009842/0.3529, allocations: 0.7711 MB / 1.314 GB, free: 7.168 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0006514/0.3535, allocations: 243.1 kB / 1.314 GB, free: 6.918 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.3535, allocations: 0 / 1.314 GB, free: 6.918 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002698/0.3538, allocations: 84.31 kB / 1.314 GB, free: 6.836 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002713/0.3541, allocations: 33.09 kB / 1.314 GB, free: 6.805 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003384/0.3575, allocations: 2.125 MB / 1.316 GB, free: 4.551 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003761/0.3578, allocations: 0.7358 MB / 1.317 GB, free: 3.789 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001214/0.358, allocations: 25.55 kB / 1.317 GB, free: 3.762 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001137/0.3581, allocations: 63.41 kB / 1.317 GB, free: 3.699 MB / 1.014 GB Notification: Performance of SimCode: time 8.31e-07/0.3581, allocations: 0 / 1.317 GB, free: 3.699 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03574/0.3938, allocations: 4.495 MB / 1.321 GB, free: 15.42 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.42/8.814, allocations: 16.34 kB / 1.321 GB, free: 15.4 MB / 1.029 GB " [Timeout remaining time 291] (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 --stepSize=1.44 --timeout=800 --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) [Timeout 840.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.517875127028674]