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.001763/0.001763, allocations: 110.3 kB / 16.46 MB, free: 6.453 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.001772/0.001772, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.383/1.383, allocations: 230.6 MB / 252.8 MB, free: 8.969 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 2.952/2.952, allocations: 0.49 GB / 0.7916 GB, free: 33.5 MB / 0.6231 GB " [Timeout remaining time 177] 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.002002/0.002002, allocations: 72.89 kB / 1.149 GB, free: 26.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3563/0.3583, allocations: 176.1 MB / 1.321 GB, free: 3.309 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.003466/0.3618, allocations: 2.078 MB / 1.323 GB, free: 1.215 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001437/0.3632, allocations: 0.7909 MB / 1.324 GB, free: 428 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001323/0.3633, allocations: 7.938 kB / 1.324 GB, free: 420 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001604/0.3635, allocations: 35.59 kB / 1.324 GB, free: 384 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001139/0.3636, allocations: 43.53 kB / 1.324 GB, free: 340 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004911/0.3641, allocations: 179.7 kB / 1.324 GB, free: 160 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000477/0.3646, allocations: 403.1 kB / 1.324 GB, free: 15.76 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003456/0.3649, allocations: 208 kB / 1.324 GB, free: 15.56 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000232/0.3651, allocations: 143.5 kB / 1.325 GB, free: 15.42 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002039/0.3653, allocations: 151.3 kB / 1.325 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.951e-05/0.3654, allocations: 36 kB / 1.325 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001051/0.3655, allocations: 51.98 kB / 1.325 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.723e-05/0.3656, allocations: 75.77 kB / 1.325 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001547/0.3658, allocations: 163.2 kB / 1.325 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005119/0.3663, allocations: 434.3 kB / 1.325 GB, free: 14.52 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3663, allocations: 0 / 1.325 GB, free: 14.52 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.463e-06/0.3663, allocations: 0 / 1.325 GB, free: 14.52 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.406e-06/0.3663, allocations: 0 / 1.325 GB, free: 14.52 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.0009646/0.3672, allocations: 0.588 MB / 1.326 GB, free: 13.88 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.3673, allocations: 11.98 kB / 1.326 GB, free: 13.87 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.22e-05/0.3674, allocations: 62.73 kB / 1.326 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004275/0.3678, allocations: 64.7 kB / 1.326 GB, free: 13.74 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004084/0.3682, allocations: 283.8 kB / 1.326 GB, free: 13.42 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.754e-05/0.3682, allocations: 28.94 kB / 1.326 GB, free: 13.39 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.78e-05/0.3683, allocations: 28.38 kB / 1.326 GB, free: 13.37 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000605/0.3689, allocations: 315.8 kB / 1.327 GB, free: 13.05 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.3689, allocations: 4 kB / 1.327 GB, free: 13.04 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.219e-05/0.3689, allocations: 12 kB / 1.327 GB, free: 13.03 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.3689, allocations: 4 kB / 1.327 GB, free: 13.03 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004933/0.3694, allocations: 234.1 kB / 1.327 GB, free: 12.8 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001466/0.3709, allocations: 0.9287 MB / 1.328 GB, free: 11.8 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005106/0.3714, allocations: 228.4 kB / 1.328 GB, free: 11.57 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002146/0.3716, allocations: 109.2 kB / 1.328 GB, free: 11.46 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.521e-05/0.3717, allocations: 240 / 1.328 GB, free: 11.46 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002966/0.372, allocations: 155.5 kB / 1.328 GB, free: 11.3 MB / 1.029 GB Notification: Performance of pre-optimization done (n=30): time 1.433e-06/0.372, allocations: 0 / 1.328 GB, free: 11.3 MB / 1.029 GB Notification: Performance of matching and sorting (n=30): time 0.0007164/0.3727, allocations: 326.6 kB / 1.329 GB, free: 10.98 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.017e-05/0.3727, allocations: 67.41 kB / 1.329 GB, free: 10.9 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002052/0.3729, allocations: 206.7 kB / 1.329 GB, free: 10.68 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.982e-05/0.373, allocations: 37.7 kB / 1.329 GB, free: 10.64 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001207/0.3731, allocations: 160.8 kB / 1.329 GB, free: 10.48 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.478e-05/0.3732, allocations: 79.33 kB / 1.329 GB, free: 10.4 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001252/0.3733, allocations: 81.67 kB / 1.329 GB, free: 10.32 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001722/0.3735, allocations: 330.8 kB / 1.33 GB, free: 9.984 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002141/0.3737, allocations: 95.95 kB / 1.33 GB, free: 9.891 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000247/0.3739, allocations: 153 kB / 1.33 GB, free: 9.723 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003994/0.3743, allocations: 221.7 kB / 1.33 GB, free: 9.488 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.3743, allocations: 3.938 kB / 1.33 GB, free: 9.484 MB / 1.029 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005519/0.3749, allocations: 297.1 kB / 1.33 GB, free: 9.188 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.3749, allocations: 9.875 kB / 1.33 GB, free: 9.18 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.3749, allocations: 4 kB / 1.33 GB, free: 9.176 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.3749, allocations: 4 kB / 1.33 GB, free: 9.172 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002116/0.3751, allocations: 43.91 kB / 1.33 GB, free: 9.129 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.3752, allocations: 4 kB / 1.33 GB, free: 9.125 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002108/0.3754, allocations: 43.81 kB / 1.33 GB, free: 9.082 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.47e-05/0.3754, allocations: 12 kB / 1.33 GB, free: 9.07 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.0001911/0.3756, allocations: 177.7 kB / 1.331 GB, free: 8.891 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.604e-05/0.3756, allocations: 19.86 kB / 1.331 GB, free: 8.871 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.478e-05/0.3757, allocations: 38.64 kB / 1.331 GB, free: 8.832 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.3757, allocations: 0 / 1.331 GB, free: 8.832 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.3757, allocations: 0 / 1.331 GB, free: 8.832 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.3757, allocations: 4 kB / 1.331 GB, free: 8.828 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001063/0.3768, allocations: 0.7093 MB / 1.331 GB, free: 8.062 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.3768, allocations: 4 kB / 1.331 GB, free: 8.059 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001418/0.3769, allocations: 27.92 kB / 1.331 GB, free: 8.031 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/0.3769, allocations: 4 kB / 1.331 GB, free: 8.027 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.551e-05/0.377, allocations: 7.984 kB / 1.331 GB, free: 8.02 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.377, allocations: 4 kB / 1.331 GB, free: 8.016 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.377, allocations: 3.938 kB / 1.331 GB, free: 8.012 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005134/0.3775, allocations: 340.2 kB / 1.332 GB, free: 7.66 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.582e-05/0.3775, allocations: 101 kB / 1.332 GB, free: 7.543 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.371e-05/0.3776, allocations: 4 kB / 1.332 GB, free: 7.539 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002009/0.3778, allocations: 27.97 kB / 1.332 GB, free: 7.512 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/0.3779, allocations: 35.89 kB / 1.332 GB, free: 7.477 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.73e-05/0.3779, allocations: 12 kB / 1.332 GB, free: 7.465 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001189/0.378, allocations: 143 kB / 1.332 GB, free: 7.324 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.378, allocations: 0 / 1.332 GB, free: 7.324 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003156/0.3783, allocations: 67.83 kB / 1.332 GB, free: 7.258 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.0008963/0.3792, allocations: 0.8905 MB / 1.333 GB, free: 6.34 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005149/0.3798, allocations: 231.8 kB / 1.333 GB, free: 6.113 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3798, allocations: 0 / 1.333 GB, free: 6.113 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002374/0.38, allocations: 115.8 kB / 1.333 GB, free: 6 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003892/0.3804, allocations: 49.69 kB / 1.333 GB, free: 5.953 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003511/0.3839, allocations: 2.541 MB / 1.336 GB, free: 3.301 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004233/0.3843, allocations: 0.7597 MB / 1.337 GB, free: 2.516 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001233/0.3844, allocations: 30.27 kB / 1.337 GB, free: 2.484 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001657/0.3846, allocations: 83.41 kB / 1.337 GB, free: 2.406 MB / 1.029 GB Notification: Performance of SimCode: time 1.293e-06/0.3846, allocations: 4 kB / 1.337 GB, free: 2.402 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02921/0.4138, allocations: 5.414 MB / 1.342 GB, free: 13.14 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.965/8.379, allocations: 10.61 kB / 1.342 GB, free: 13.14 MB / 1.045 GB " [Timeout remaining time 292] (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: 14.654810281004757]