Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001548/0.001548, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001917/0.001917, allocations: 216 kB / 22.26 MB, free: 5.113 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.435/1.435, allocations: 230.6 MB / 256 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.179/3.179, allocations: 0.49 GB / 0.7951 GB, free: 33.4 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,fileNamePrefix="Buildings_12_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.001983/0.001983, allocations: 68.12 kB / 1.154 GB, free: 25.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3617/0.3637, allocations: 176.1 MB / 1.326 GB, free: 1.949 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.004019/0.3677, allocations: 2.082 MB / 1.328 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001702/0.3694, allocations: 0.7948 MB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002267/0.3697, allocations: 8 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002074/0.3699, allocations: 35.55 kB / 1.329 GB, free: 15.01 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001795/0.3701, allocations: 47.58 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006326/0.3707, allocations: 183.7 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006183/0.3713, allocations: 407.1 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004493/0.3718, allocations: 196.7 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003335/0.3721, allocations: 151.4 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002869/0.3724, allocations: 151.4 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.124e-05/0.3725, allocations: 43.94 kB / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00013/0.3726, allocations: 48 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001009/0.3727, allocations: 87.73 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001881/0.3729, allocations: 151.3 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000567/0.3734, allocations: 434.3 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.3734, allocations: 0 / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3734, allocations: 0 / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.999e-05/0.3735, allocations: 4 kB / 1.331 GB, free: 13.14 MB / 1.029 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.001041/0.3745, allocations: 0.5051 MB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.3746, allocations: 11.97 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.012e-05/0.3746, allocations: 66.72 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004609/0.3751, allocations: 64.7 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004477/0.3755, allocations: 222 kB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.242e-05/0.3756, allocations: 25.03 kB / 1.331 GB, free: 12.19 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.135e-05/0.3756, allocations: 32.36 kB / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005973/0.3762, allocations: 317.2 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.3763, allocations: 0 / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.075e-05/0.3763, allocations: 12 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.3763, allocations: 8 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005351/0.3768, allocations: 234.4 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001486/0.3783, allocations: 0.8866 MB / 1.333 GB, free: 10.65 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005053/0.3788, allocations: 231.6 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002142/0.379, allocations: 109.2 kB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.117e-05/0.3791, allocations: 4.234 kB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000307/0.3794, allocations: 155.5 kB / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of pre-optimization done (n=30): time 4.308e-06/0.3794, allocations: 4 kB / 1.333 GB, free: 10.13 MB / 1.029 GB Notification: Performance of matching and sorting (n=30): time 0.0007135/0.3801, allocations: 322 kB / 1.334 GB, free: 9.812 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.871e-05/0.3801, allocations: 63.39 kB / 1.334 GB, free: 9.738 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000211/0.3804, allocations: 211 kB / 1.334 GB, free: 9.52 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.743e-05/0.3804, allocations: 37.7 kB / 1.334 GB, free: 9.477 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001283/0.3805, allocations: 160.8 kB / 1.334 GB, free: 9.312 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.21e-05/0.3806, allocations: 87.31 kB / 1.334 GB, free: 9.227 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001212/0.3807, allocations: 77.69 kB / 1.334 GB, free: 9.145 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001598/0.3809, allocations: 334.8 kB / 1.335 GB, free: 8.809 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002016/0.3811, allocations: 91.95 kB / 1.335 GB, free: 8.719 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002356/0.3813, allocations: 153.7 kB / 1.335 GB, free: 8.551 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004544/0.3818, allocations: 214 kB / 1.335 GB, free: 8.324 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.634e-06/0.3818, allocations: 11.88 kB / 1.335 GB, free: 8.312 MB / 1.029 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005544/0.3823, allocations: 304.8 kB / 1.335 GB, free: 8.008 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.3824, allocations: 11.94 kB / 1.335 GB, free: 7.996 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.3824, allocations: 0 / 1.335 GB, free: 7.996 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.3824, allocations: 4 kB / 1.335 GB, free: 7.992 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001882/0.3826, allocations: 35.86 kB / 1.335 GB, free: 7.957 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/0.3826, allocations: 7.984 kB / 1.335 GB, free: 7.949 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001894/0.3828, allocations: 43.97 kB / 1.335 GB, free: 7.906 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.445e-05/0.3828, allocations: 20 kB / 1.335 GB, free: 7.887 MB / 1.029 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.0001914/0.383, allocations: 177.6 kB / 1.336 GB, free: 7.707 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.323e-05/0.383, allocations: 19.86 kB / 1.336 GB, free: 7.688 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.865e-05/0.3831, allocations: 30.66 kB / 1.336 GB, free: 7.66 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.3831, allocations: 4 kB / 1.336 GB, free: 7.656 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.3831, allocations: 0 / 1.336 GB, free: 7.656 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.3831, allocations: 3.984 kB / 1.336 GB, free: 7.652 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001061/0.3842, allocations: 0.685 MB / 1.336 GB, free: 6.918 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.3842, allocations: 0 / 1.336 GB, free: 6.918 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001461/0.3843, allocations: 27.92 kB / 1.336 GB, free: 6.891 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.3843, allocations: 0 / 1.336 GB, free: 6.891 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.113e-05/0.3843, allocations: 11.98 kB / 1.336 GB, free: 6.879 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.3843, allocations: 0 / 1.336 GB, free: 6.879 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.3843, allocations: 3.938 kB / 1.336 GB, free: 6.875 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005188/0.3849, allocations: 345.5 kB / 1.337 GB, free: 6.52 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.337e-05/0.3849, allocations: 23.8 kB / 1.337 GB, free: 6.496 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.368e-05/0.3849, allocations: 4 kB / 1.337 GB, free: 6.492 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001842/0.3851, allocations: 23.97 kB / 1.337 GB, free: 6.469 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/0.3852, allocations: 43.88 kB / 1.337 GB, free: 6.426 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.858e-05/0.3853, allocations: 19.94 kB / 1.337 GB, free: 6.406 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000126/0.3854, allocations: 143 kB / 1.337 GB, free: 6.266 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3854, allocations: 0 / 1.337 GB, free: 6.266 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003007/0.3857, allocations: 59.89 kB / 1.337 GB, free: 6.207 MB / 1.029 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.0008092/0.3865, allocations: 0.8939 MB / 1.338 GB, free: 5.289 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004706/0.387, allocations: 227.8 kB / 1.338 GB, free: 5.066 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.387, allocations: 0 / 1.338 GB, free: 5.066 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000218/0.3872, allocations: 111.9 kB / 1.338 GB, free: 4.957 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003585/0.3875, allocations: 41.48 kB / 1.338 GB, free: 4.918 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003236/0.3908, allocations: 2.546 MB / 1.341 GB, free: 2.25 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004012/0.3912, allocations: 0.7597 MB / 1.341 GB, free: 1.461 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001065/0.3913, allocations: 30.27 kB / 1.342 GB, free: 1.43 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001601/0.3914, allocations: 83.41 kB / 1.342 GB, free: 1.352 MB / 1.029 GB Notification: Performance of SimCode: time 6.91e-07/0.3914, allocations: 0 / 1.342 GB, free: 1.352 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03315/0.4246, allocations: 5.687 MB / 1.347 GB, free: 11.82 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.51, allocations: 8.656 kB / 1.347 GB, free: 11.82 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; mkfifo Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; head -c 1048576 < Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe >> ../files/Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat_res.mat --tempDir=temp_Buildings_12_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat_fmu --startTime=0 --stopTime=1200 --stepSize=0.48 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat.fmu > Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 18.201855673920363]