Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.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.001728/0.001728, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002143/0.002143, allocations: 209.8 kB / 22.24 MB, free: 5.262 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.548/1.548, allocations: 230.6 MB / 256 MB, free: 7.773 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.435/3.435, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 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.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,fileNamePrefix="Buildings_latest_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,fileNamePrefix="Buildings_latest_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat",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.002113/0.002113, allocations: 64.81 kB / 1.186 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3451/0.3473, allocations: 181.8 MB / 1.363 GB, free: 14.1 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.003476/0.3507, allocations: 2.014 MB / 1.365 GB, free: 12.07 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001563/0.3523, allocations: 0.752 MB / 1.366 GB, free: 11.31 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001482/0.3524, allocations: 7.938 kB / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001688/0.3526, allocations: 35.61 kB / 1.366 GB, free: 11.27 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001312/0.3527, allocations: 47.52 kB / 1.366 GB, free: 11.22 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005647/0.3533, allocations: 179.7 kB / 1.366 GB, free: 11.05 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004926/0.3538, allocations: 403.1 kB / 1.367 GB, free: 10.65 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003467/0.3541, allocations: 200.7 kB / 1.367 GB, free: 10.45 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002458/0.3544, allocations: 147.5 kB / 1.367 GB, free: 10.3 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001947/0.3546, allocations: 131.4 kB / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.351e-05/0.3546, allocations: 36 kB / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001043/0.3547, allocations: 48 kB / 1.367 GB, free: 10.09 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.508e-05/0.3548, allocations: 79.77 kB / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001295/0.355, allocations: 127.4 kB / 1.367 GB, free: 9.891 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005632/0.3555, allocations: 430.3 kB / 1.368 GB, free: 9.469 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.287e-06/0.3555, allocations: 4 kB / 1.368 GB, free: 9.465 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.323e-06/0.3555, allocations: 0 / 1.368 GB, free: 9.465 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.086e-05/0.3555, allocations: 3.938 kB / 1.368 GB, free: 9.461 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0008593/0.3564, allocations: 0.5051 MB / 1.368 GB, free: 8.93 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.3564, allocations: 8.031 kB / 1.368 GB, free: 8.922 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.085e-05/0.3565, allocations: 70.72 kB / 1.368 GB, free: 8.844 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000408/0.3569, allocations: 60.7 kB / 1.368 GB, free: 8.785 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004184/0.3573, allocations: 226 kB / 1.369 GB, free: 8.539 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.837e-05/0.3574, allocations: 25.03 kB / 1.369 GB, free: 8.516 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.351e-05/0.3574, allocations: 32.38 kB / 1.369 GB, free: 8.484 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005955/0.358, allocations: 317.1 kB / 1.369 GB, free: 8.16 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.358, allocations: 0 / 1.369 GB, free: 8.16 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.05e-05/0.3581, allocations: 12 kB / 1.369 GB, free: 8.148 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.19e-05/0.3581, allocations: 11.98 kB / 1.369 GB, free: 8.137 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004877/0.3586, allocations: 226.5 kB / 1.369 GB, free: 7.918 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001401/0.36, allocations: 0.8165 MB / 1.37 GB, free: 7.047 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005203/0.3605, allocations: 228.8 kB / 1.37 GB, free: 6.816 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002232/0.3607, allocations: 105.3 kB / 1.37 GB, free: 6.711 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.638e-05/0.3607, allocations: 240 / 1.37 GB, free: 6.711 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003123/0.361, allocations: 168 kB / 1.371 GB, free: 6.535 MB / 1.061 GB Notification: Performance of pre-optimization done (n=30): time 1.563e-06/0.361, allocations: 0 / 1.371 GB, free: 6.535 MB / 1.061 GB Notification: Performance of matching and sorting (n=30): time 0.0007264/0.3618, allocations: 325.4 kB / 1.371 GB, free: 6.211 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.615e-05/0.3618, allocations: 59.39 kB / 1.371 GB, free: 6.141 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002131/0.362, allocations: 210.5 kB / 1.371 GB, free: 5.922 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.997e-05/0.3621, allocations: 37.7 kB / 1.371 GB, free: 5.879 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001302/0.3622, allocations: 160.8 kB / 1.371 GB, free: 5.715 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.42e-05/0.3623, allocations: 75.38 kB / 1.371 GB, free: 5.641 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001185/0.3624, allocations: 85.62 kB / 1.371 GB, free: 5.551 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001749/0.3626, allocations: 334.8 kB / 1.372 GB, free: 5.215 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002133/0.3628, allocations: 91.95 kB / 1.372 GB, free: 5.125 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002584/0.363, allocations: 149.8 kB / 1.372 GB, free: 4.961 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003967/0.3634, allocations: 225.7 kB / 1.372 GB, free: 4.723 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.3635, allocations: 3.938 kB / 1.372 GB, free: 4.719 MB / 1.061 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005543/0.364, allocations: 305 kB / 1.373 GB, free: 4.414 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.364, allocations: 4 kB / 1.373 GB, free: 4.41 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.364, allocations: 4 kB / 1.373 GB, free: 4.406 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.364, allocations: 0 / 1.373 GB, free: 4.406 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002083/0.3643, allocations: 44.06 kB / 1.373 GB, free: 4.363 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.3643, allocations: 4 kB / 1.373 GB, free: 4.359 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002016/0.3645, allocations: 47.75 kB / 1.373 GB, free: 4.312 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.316e-05/0.3645, allocations: 8 kB / 1.373 GB, free: 4.305 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 31 ($PRE.heaCon.offToOn.enableFire,$PRE.heaCon.onToOff.enableFire,heaCon.stateGraphRoot.activeSteps,heaCon.onToOff.t_start,$PRE.heaCon.onToOff.t_start,heaCon.onToOff.fire,heaCon.onToOff.enableFire,heaCon.onToOff.localCondition,heaCon.offToOn.t_start,$PRE.heaCon.offToOn.t_start,heaCon.offToOn.fire,heaCon.offToOn.enableFire,heaCon.offToOn.localCondition,heaCon.on.active,heaCon.on.oldActive,$PRE.heaCon.on.oldActive,heaCon.on.newActive,$PRE.heaCon.on.newActive,heaCon.on.localActive,$PRE.heaCon.on.localActive,heaCon.off.active,heaCon.off.oldActive,$PRE.heaCon.off.oldActive,heaCon.off.newActive,$PRE.heaCon.off.newActive,heaCon.off.localActive,$PRE.heaCon.off.localActive,$whenCondition1,$whenCondition2,heaCon.stateGraphRoot.resume,heaCon.stateGraphRoot.suspend) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * 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.000187/0.3647, allocations: 177.7 kB / 1.373 GB, free: 4.125 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.521e-05/0.3647, allocations: 23.86 kB / 1.373 GB, free: 4.102 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.424e-05/0.3648, allocations: 30.59 kB / 1.373 GB, free: 4.074 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.3648, allocations: 11.94 kB / 1.373 GB, free: 4.062 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.3648, allocations: 3.984 kB / 1.373 GB, free: 4.059 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.3648, allocations: 0 / 1.373 GB, free: 4.059 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001056/0.3659, allocations: 0.6499 MB / 1.374 GB, free: 3.359 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.3659, allocations: 0 / 1.374 GB, free: 3.359 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001424/0.366, allocations: 27.97 kB / 1.374 GB, free: 3.332 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.06e-06/0.366, allocations: 4 kB / 1.374 GB, free: 3.328 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.366, allocations: 4 kB / 1.374 GB, free: 3.324 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.366, allocations: 0 / 1.374 GB, free: 3.324 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.366, allocations: 7.938 kB / 1.374 GB, free: 3.316 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000519/0.3665, allocations: 357.4 kB / 1.374 GB, free: 2.953 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.263e-05/0.3666, allocations: 23.8 kB / 1.374 GB, free: 2.93 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.593e-05/0.3666, allocations: 8 kB / 1.374 GB, free: 2.922 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000198/0.3668, allocations: 27.95 kB / 1.374 GB, free: 2.895 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/0.3669, allocations: 39.89 kB / 1.374 GB, free: 2.855 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.808e-05/0.3669, allocations: 11.98 kB / 1.374 GB, free: 2.844 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001321/0.3671, allocations: 139.3 kB / 1.374 GB, free: 2.707 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3671, allocations: 0 / 1.374 GB, free: 2.707 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003124/0.3674, allocations: 63.89 kB / 1.374 GB, free: 2.645 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 19 (heaCon.onToOff.enableFire,heaCon.offToOn.enableFire,heaCon.on.active,heaCon.off.active,$whenCondition2,$whenCondition1,heaCon.off.localActive,heaCon.off.newActive,heaCon.off.oldActive,heaCon.on.localActive,heaCon.on.newActive,heaCon.on.oldActive,heaCon.offToOn.localCondition,heaCon.offToOn.fire,heaCon.offToOn.t_start,heaCon.onToOff.localCondition,heaCon.onToOff.fire,heaCon.onToOff.t_start,heaCon.stateGraphRoot.activeSteps) * Number of discrete states: 2 (heaCon.off.newActive,heaCon.on.newActive) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0008873/0.3683, allocations: 0.8936 MB / 1.375 GB, free: 1.727 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005116/0.3688, allocations: 231.8 kB / 1.375 GB, free: 1.5 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.3688, allocations: 4.062 kB / 1.375 GB, free: 1.496 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002339/0.369, allocations: 116.3 kB / 1.375 GB, free: 1.383 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003829/0.3694, allocations: 34.11 kB / 1.375 GB, free: 1.352 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003439/0.3728, allocations: 2.559 MB / 1.378 GB, free: 14.68 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000166/0.373, allocations: 150.9 kB / 1.378 GB, free: 14.5 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001408/0.3732, allocations: 26.28 kB / 1.378 GB, free: 14.48 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001718/0.3733, allocations: 87.41 kB / 1.378 GB, free: 14.39 MB / 1.076 GB Notification: Performance of SimCode: time 1.182e-06/0.3733, allocations: 0 / 1.378 GB, free: 14.39 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03492/0.4082, allocations: 6.141 MB / 1.384 GB, free: 8.426 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.95, allocations: 6.312 kB / 1.384 GB, free: 8.422 MB / 1.076 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; mkfifo Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; head -c 1048576 < Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe >> ../files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat_res.mat --tempDir=temp_Buildings_latest_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat_fmu --startTime=0 --stopTime=1200 --stepSize=0.48 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat.fmu > Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.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: 19.00339478207752]