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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001778/0.001778, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00215/0.00215, allocations: 215.2 kB / 22.25 MB, free: 5.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.518/1.518, allocations: 230.6 MB / 256 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.374/3.374, allocations: 0.505 GB / 0.8101 GB, free: 22.02 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002021/0.002021, allocations: 71.61 kB / 1.177 GB, free: 17.06 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3563/0.3583, allocations: 180.2 MB / 1.353 GB, free: 8.477 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides): time 0.002942/0.3613, allocations: 1.138 MB / 1.354 GB, free: 7.34 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001985/0.3633, allocations: 1.288 MB / 1.355 GB, free: 6.039 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001663/0.3634, allocations: 8 kB / 1.355 GB, free: 6.031 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 7.649e-05/0.3635, allocations: 23.67 kB / 1.355 GB, free: 6.008 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001577/0.3637, allocations: 27.69 kB / 1.355 GB, free: 5.98 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006648/0.3643, allocations: 190.6 kB / 1.356 GB, free: 5.797 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.000395/0.3647, allocations: 267.9 kB / 1.356 GB, free: 5.535 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001977/0.3649, allocations: 80.95 kB / 1.356 GB, free: 5.449 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001785/0.3651, allocations: 111.7 kB / 1.356 GB, free: 5.34 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001907/0.3653, allocations: 127.5 kB / 1.356 GB, free: 5.215 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.95e-05/0.3653, allocations: 28 kB / 1.356 GB, free: 5.188 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 8.726e-05/0.3654, allocations: 36 kB / 1.356 GB, free: 5.152 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 6.044e-05/0.3655, allocations: 55.81 kB / 1.356 GB, free: 5.098 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001248/0.3656, allocations: 111.5 kB / 1.356 GB, free: 4.988 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004289/0.366, allocations: 327 kB / 1.357 GB, free: 4.668 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.366, allocations: 0 / 1.357 GB, free: 4.668 MB / 1.045 GB Notification: Performance of FrontEnd: time 9.62e-07/0.366, allocations: 0 / 1.357 GB, free: 4.668 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.217e-06/0.366, allocations: 0 / 1.357 GB, free: 4.668 MB / 1.045 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.001008/0.3671, allocations: 490.9 kB / 1.357 GB, free: 4.152 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.3671, allocations: 12.03 kB / 1.357 GB, free: 4.141 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.134e-05/0.3672, allocations: 46.73 kB / 1.357 GB, free: 4.086 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.693e-05/0.3672, allocations: 24.8 kB / 1.357 GB, free: 4.062 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007524/0.368, allocations: 252.1 kB / 1.357 GB, free: 3.789 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.979e-05/0.368, allocations: 16.38 kB / 1.357 GB, free: 3.773 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.23e-05/0.368, allocations: 20.38 kB / 1.357 GB, free: 3.754 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004851/0.3685, allocations: 216 kB / 1.358 GB, free: 3.531 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.3685, allocations: 0 / 1.358 GB, free: 3.531 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.356e-05/0.3686, allocations: 16 kB / 1.358 GB, free: 3.516 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.3686, allocations: 4 kB / 1.358 GB, free: 3.512 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005242/0.3691, allocations: 159.7 kB / 1.358 GB, free: 3.355 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009335/0.37, allocations: 0.6086 MB / 1.358 GB, free: 2.699 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004032/0.3704, allocations: 145.1 kB / 1.359 GB, free: 2.539 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002453/0.3707, allocations: 81.75 kB / 1.359 GB, free: 2.453 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.215e-05/0.3707, allocations: 4 kB / 1.359 GB, free: 2.449 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000431/0.3711, allocations: 146.7 kB / 1.359 GB, free: 2.289 MB / 1.045 GB Notification: Performance of pre-optimization done (n=17): time 1.283e-06/0.3711, allocations: 0 / 1.359 GB, free: 2.289 MB / 1.045 GB Notification: Performance of matching and sorting (n=17): time 0.000882/0.372, allocations: 257.4 kB / 1.359 GB, free: 2.031 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.216e-05/0.3721, allocations: 81.11 kB / 1.359 GB, free: 1.934 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001703/0.3723, allocations: 182.1 kB / 1.359 GB, free: 1.746 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.535e-05/0.3723, allocations: 33.64 kB / 1.359 GB, free: 1.707 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.3724, allocations: 132.5 kB / 1.359 GB, free: 1.574 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.032e-05/0.3725, allocations: 51.58 kB / 1.359 GB, free: 1.523 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/0.3726, allocations: 57.69 kB / 1.36 GB, free: 1.461 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.3727, allocations: 334.8 kB / 1.36 GB, free: 1.125 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002901/0.373, allocations: 79.94 kB / 1.36 GB, free: 1.047 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003112/0.3733, allocations: 125 kB / 1.36 GB, free: 0.9062 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005422/0.3739, allocations: 210.7 kB / 1.36 GB, free: 0.6758 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.3739, allocations: 0 / 1.36 GB, free: 0.6758 MB / 1.045 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007322/0.3746, allocations: 287 kB / 1.36 GB, free: 392 kB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.089e-05/0.3746, allocations: 33.7 kB / 1.361 GB, free: 352 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.3746, allocations: 0 / 1.361 GB, free: 352 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/0.3747, allocations: 7.938 kB / 1.361 GB, free: 344 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002193/0.3749, allocations: 39.91 kB / 1.361 GB, free: 304 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.49e-05/0.3749, allocations: 7.984 kB / 1.361 GB, free: 296 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002916/0.3752, allocations: 51.91 kB / 1.361 GB, free: 244 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.844e-05/0.3752, allocations: 12 kB / 1.361 GB, free: 232 kB / 1.045 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.000136/0.3753, allocations: 137.7 kB / 1.361 GB, free: 84 kB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.268e-05/0.3754, allocations: 19.89 kB / 1.361 GB, free: 64 kB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.126e-05/0.3754, allocations: 25.39 kB / 1.361 GB, free: 40 kB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.3754, allocations: 3.938 kB / 1.361 GB, free: 36 kB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.3754, allocations: 4 kB / 1.361 GB, free: 32 kB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.3754, allocations: 0 / 1.361 GB, free: 32 kB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002768/0.3757, allocations: 240.5 kB / 1.361 GB, free: 15.75 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.3757, allocations: 320 / 1.361 GB, free: 15.75 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001874/0.3759, allocations: 35.97 kB / 1.361 GB, free: 15.72 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.3759, allocations: 0 / 1.361 GB, free: 15.72 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.548e-05/0.3759, allocations: 4 kB / 1.361 GB, free: 15.71 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.3759, allocations: 11.88 kB / 1.361 GB, free: 15.7 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3759, allocations: 4 kB / 1.361 GB, free: 15.7 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005691/0.3765, allocations: 223.7 kB / 1.361 GB, free: 15.46 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.18e-05/0.3765, allocations: 11.91 kB / 1.361 GB, free: 15.45 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.612e-05/0.3765, allocations: 8 kB / 1.361 GB, free: 15.44 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000132/0.3767, allocations: 23.91 kB / 1.361 GB, free: 15.42 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.787e-05/0.3768, allocations: 23.97 kB / 1.361 GB, free: 15.39 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.43e-05/0.3768, allocations: 4 kB / 1.361 GB, free: 15.39 MB / 1.061 GB Notification: Performance of sorting global known variables: time 9.631e-05/0.3769, allocations: 120.2 kB / 1.362 GB, free: 15.27 MB / 1.061 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3769, allocations: 0 / 1.362 GB, free: 15.27 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002812/0.3771, allocations: 51.88 kB / 1.362 GB, free: 15.22 MB / 1.061 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.0009332/0.3781, allocations: 0.7653 MB / 1.362 GB, free: 14.42 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006611/0.3787, allocations: 249.4 kB / 1.363 GB, free: 14.17 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3787, allocations: 0 / 1.363 GB, free: 14.17 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002945/0.379, allocations: 84.09 kB / 1.363 GB, free: 14.09 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002763/0.3793, allocations: 45.69 kB / 1.363 GB, free: 14.04 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003267/0.3826, allocations: 2.116 MB / 1.365 GB, free: 11.8 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000384/0.383, allocations: 0.732 MB / 1.365 GB, free: 11.04 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001124/0.3831, allocations: 25.47 kB / 1.365 GB, free: 11.02 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001112/0.3832, allocations: 63.42 kB / 1.366 GB, free: 10.95 MB / 1.061 GB Notification: Performance of SimCode: time 4.2e-07/0.3832, allocations: 0 / 1.366 GB, free: 10.95 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0341/0.4173, allocations: 4.659 MB / 1.37 GB, free: 6.48 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.85, allocations: 9.141 kB / 1.37 GB, free: 6.477 MB / 1.061 GB " [Timeout remaining time 288] (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/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: 18.789078819798306]