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.001538/0.001538, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.00146/0.00146, allocations: 220 kB / 23.03 MB, free: 4.922 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.478/1.478, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.249/3.249, allocations: 0.5003 GB / 0.8062 GB, free: 28.29 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,fileNamePrefix="Buildings_latest_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat",fmuType="cs",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.001958/0.001958, allocations: 69.86 kB / 1.17 GB, free: 19.56 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3837/0.3856, allocations: 179 MB / 1.345 GB, free: 15.94 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.003278/0.3889, allocations: 1.993 MB / 1.347 GB, free: 13.93 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001352/0.3903, allocations: 0.7598 MB / 1.348 GB, free: 13.16 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.957e-05/0.3904, allocations: 7.938 kB / 1.348 GB, free: 13.16 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001291/0.3905, allocations: 35.61 kB / 1.348 GB, free: 13.12 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001062/0.3906, allocations: 39.59 kB / 1.348 GB, free: 13.08 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004407/0.391, allocations: 183.7 kB / 1.348 GB, free: 12.9 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.000558/0.3916, allocations: 407.1 kB / 1.349 GB, free: 12.5 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003124/0.3919, allocations: 212.4 kB / 1.349 GB, free: 12.29 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002158/0.3921, allocations: 143.5 kB / 1.349 GB, free: 12.15 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001955/0.3923, allocations: 151.3 kB / 1.349 GB, free: 12 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 5.175e-05/0.3924, allocations: 36 kB / 1.349 GB, free: 11.97 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 9.061e-05/0.3925, allocations: 52 kB / 1.349 GB, free: 11.92 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 9.157e-05/0.3926, allocations: 83.75 kB / 1.349 GB, free: 11.84 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001296/0.3927, allocations: 123.4 kB / 1.349 GB, free: 11.71 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004577/0.3931, allocations: 434.3 kB / 1.35 GB, free: 11.29 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.3931, allocations: 4 kB / 1.35 GB, free: 11.29 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.253e-06/0.3931, allocations: 3.938 kB / 1.35 GB, free: 11.28 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.3932, allocations: 0 / 1.35 GB, free: 11.28 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0008197/0.394, allocations: 0.5051 MB / 1.35 GB, free: 10.75 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.394, allocations: 8.031 kB / 1.35 GB, free: 10.74 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.54e-05/0.394, allocations: 8.844 kB / 1.35 GB, free: 10.73 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.284e-05/0.3941, allocations: 62.72 kB / 1.35 GB, free: 10.66 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004187/0.3945, allocations: 72.7 kB / 1.35 GB, free: 10.59 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003389/0.3949, allocations: 221.9 kB / 1.351 GB, free: 10.35 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.768e-05/0.3949, allocations: 33.02 kB / 1.351 GB, free: 10.32 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.61e-05/0.3949, allocations: 28.38 kB / 1.351 GB, free: 10.29 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006496/0.3956, allocations: 313 kB / 1.351 GB, free: 9.973 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.3956, allocations: 0 / 1.351 GB, free: 9.973 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.059e-05/0.3956, allocations: 12 kB / 1.351 GB, free: 9.961 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.3956, allocations: 12 kB / 1.351 GB, free: 9.949 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005839/0.3962, allocations: 230.4 kB / 1.351 GB, free: 9.723 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001381/0.3976, allocations: 0.8048 MB / 1.352 GB, free: 8.863 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004986/0.3981, allocations: 233.8 kB / 1.352 GB, free: 8.629 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002045/0.3983, allocations: 105.3 kB / 1.352 GB, free: 8.523 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.945e-05/0.3983, allocations: 4.234 kB / 1.352 GB, free: 8.52 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002962/0.3986, allocations: 155.5 kB / 1.353 GB, free: 8.355 MB / 1.045 GB Notification: Performance of pre-optimization done (n=30): time 1.713e-06/0.3986, allocations: 0 / 1.353 GB, free: 8.355 MB / 1.045 GB Notification: Performance of matching and sorting (n=30): time 0.0006851/0.3993, allocations: 326.1 kB / 1.353 GB, free: 8.031 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.133e-05/0.3994, allocations: 59.39 kB / 1.353 GB, free: 7.961 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003019/0.3997, allocations: 210.5 kB / 1.353 GB, free: 7.742 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.107e-05/0.3997, allocations: 41.7 kB / 1.353 GB, free: 7.695 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/0.3998, allocations: 156.8 kB / 1.353 GB, free: 7.535 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001614/0.4, allocations: 83.36 kB / 1.353 GB, free: 7.453 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000117/0.4001, allocations: 77.69 kB / 1.353 GB, free: 7.371 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002018/0.4003, allocations: 334.8 kB / 1.354 GB, free: 7.035 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002032/0.4005, allocations: 95.95 kB / 1.354 GB, free: 6.941 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000248/0.4008, allocations: 149.7 kB / 1.354 GB, free: 6.777 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004007/0.4012, allocations: 229.9 kB / 1.354 GB, free: 6.535 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.4012, allocations: 0 / 1.354 GB, free: 6.535 MB / 1.045 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006031/0.4018, allocations: 304.8 kB / 1.354 GB, free: 6.23 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.4018, allocations: 4.156 kB / 1.354 GB, free: 6.227 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.4018, allocations: 4 kB / 1.354 GB, free: 6.223 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.4018, allocations: 4 kB / 1.354 GB, free: 6.219 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001984/0.402, allocations: 39.92 kB / 1.355 GB, free: 6.18 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.856e-06/0.402, allocations: 4 kB / 1.355 GB, free: 6.176 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001991/0.4022, allocations: 47.73 kB / 1.355 GB, free: 6.129 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.823e-05/0.4022, allocations: 15.98 kB / 1.355 GB, free: 6.113 MB / 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: 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.0001815/0.4024, allocations: 177.7 kB / 1.355 GB, free: 5.93 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.674e-05/0.4025, allocations: 27.83 kB / 1.355 GB, free: 5.902 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.11e-05/0.4025, allocations: 26.66 kB / 1.355 GB, free: 5.879 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.4025, allocations: 4 kB / 1.355 GB, free: 5.875 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.4025, allocations: 0 / 1.355 GB, free: 5.875 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.4025, allocations: 3.984 kB / 1.355 GB, free: 5.871 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001015/0.4036, allocations: 0.6541 MB / 1.355 GB, free: 5.168 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.4036, allocations: 0 / 1.355 GB, free: 5.168 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001437/0.4037, allocations: 31.92 kB / 1.355 GB, free: 5.137 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.4037, allocations: 0 / 1.355 GB, free: 5.137 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.769e-05/0.4037, allocations: 15.98 kB / 1.356 GB, free: 5.121 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.087e-06/0.4037, allocations: 3.984 kB / 1.356 GB, free: 5.117 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.4037, allocations: 3.938 kB / 1.356 GB, free: 5.113 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004893/0.4042, allocations: 348.1 kB / 1.356 GB, free: 4.758 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 3.114e-05/0.4043, allocations: 19.8 kB / 1.356 GB, free: 4.738 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.624e-05/0.4043, allocations: 8 kB / 1.356 GB, free: 4.73 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001992/0.4045, allocations: 27.97 kB / 1.356 GB, free: 4.703 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.91e-05/0.4046, allocations: 43.88 kB / 1.356 GB, free: 4.66 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.271e-05/0.4046, allocations: 15.98 kB / 1.356 GB, free: 4.645 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001147/0.4047, allocations: 139.3 kB / 1.356 GB, free: 4.508 MB / 1.045 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4047, allocations: 0 / 1.356 GB, free: 4.508 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003181/0.4051, allocations: 63.84 kB / 1.356 GB, free: 4.445 MB / 1.045 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.0008174/0.4059, allocations: 0.8863 MB / 1.357 GB, free: 3.531 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004805/0.4063, allocations: 239.8 kB / 1.357 GB, free: 3.297 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.4064, allocations: 0 / 1.357 GB, free: 3.297 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.000223/0.4066, allocations: 107.8 kB / 1.357 GB, free: 3.191 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003499/0.4069, allocations: 39.91 kB / 1.357 GB, free: 3.152 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003274/0.4102, allocations: 2.547 MB / 1.36 GB, free: 0.5 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000145/0.4103, allocations: 150.9 kB / 1.36 GB, free: 340 kB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001013/0.4104, allocations: 26.28 kB / 1.36 GB, free: 316 kB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001658/0.4106, allocations: 87.41 kB / 1.36 GB, free: 228 kB / 1.045 GB Notification: Performance of SimCode: time 2.8e-07/0.4106, allocations: 0 / 1.36 GB, free: 228 kB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02895/0.4396, allocations: 5.791 MB / 1.366 GB, free: 10.62 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/12.15, allocations: 11.06 kB / 1.366 GB, free: 10.61 MB / 1.061 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] [Calling os._exit(0), Time elapsed: 18.94403006695211] Failed to read output from testmodel.py, exit status != 0: 12.316669307998382 12.340712345 11.943266629 Calling exit ...