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.00179/0.00179, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.002145/0.002145, allocations: 222.1 kB / 22.25 MB, free: 5.254 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.414/1.414, allocations: 230.6 MB / 256 MB, free: 7.781 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.141/3.141, allocations: 0.49 GB / 0.7951 GB, free: 35.54 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.003001/0.003001, allocations: 74.72 kB / 1.154 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3557/0.3587, allocations: 176.1 MB / 1.326 GB, free: 1.492 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.003414/0.3621, allocations: 2.011 MB / 1.328 GB, free: 15.47 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001357/0.3634, allocations: 0.7637 MB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000114/0.3636, allocations: 4 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001463/0.3637, allocations: 39.55 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001142/0.3638, allocations: 43.59 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004845/0.3643, allocations: 183.7 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004402/0.3647, allocations: 407 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003323/0.3651, allocations: 204.6 kB / 1.329 GB, free: 13.83 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002277/0.3653, allocations: 143.5 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002157/0.3655, allocations: 155.3 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.36e-05/0.3656, allocations: 40 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001025/0.3657, allocations: 47.98 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.153e-05/0.3658, allocations: 83.75 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001317/0.3659, allocations: 123.5 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004568/0.3664, allocations: 434.3 kB / 1.33 GB, free: 12.82 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3664, allocations: 3.938 kB / 1.33 GB, free: 12.82 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.072e-06/0.3664, allocations: 0 / 1.33 GB, free: 12.82 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.237e-06/0.3664, allocations: 4 kB / 1.33 GB, free: 12.82 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.000839/0.3672, allocations: 0.5106 MB / 1.331 GB, free: 12.28 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.3672, allocations: 8.031 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.293e-05/0.3673, allocations: 66.72 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004134/0.3677, allocations: 64.7 kB / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003686/0.3681, allocations: 222 kB / 1.331 GB, free: 11.89 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.527e-05/0.3681, allocations: 29.02 kB / 1.331 GB, free: 11.87 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.061e-05/0.3682, allocations: 28.38 kB / 1.331 GB, free: 11.84 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005706/0.3688, allocations: 317.2 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.3688, allocations: 0 / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.011e-05/0.3688, allocations: 12 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.119e-05/0.3688, allocations: 8 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004696/0.3693, allocations: 234.4 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001354/0.3706, allocations: 0.8048 MB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004949/0.3711, allocations: 233.4 kB / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000207/0.3713, allocations: 109.2 kB / 1.333 GB, free: 10.07 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.907e-05/0.3714, allocations: 240 / 1.333 GB, free: 10.07 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003/0.3717, allocations: 155.5 kB / 1.333 GB, free: 9.902 MB / 1.029 GB Notification: Performance of pre-optimization done (n=30): time 1.633e-06/0.3717, allocations: 0 / 1.333 GB, free: 9.902 MB / 1.029 GB Notification: Performance of matching and sorting (n=30): time 0.0006871/0.3723, allocations: 330 kB / 1.333 GB, free: 9.574 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.261e-05/0.3724, allocations: 59.39 kB / 1.333 GB, free: 9.504 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001959/0.3726, allocations: 207.1 kB / 1.334 GB, free: 9.289 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.167e-05/0.3726, allocations: 45.64 kB / 1.334 GB, free: 9.238 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001232/0.3728, allocations: 160.8 kB / 1.334 GB, free: 9.074 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.413e-05/0.3728, allocations: 83.36 kB / 1.334 GB, free: 8.992 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001107/0.3729, allocations: 73.69 kB / 1.334 GB, free: 8.914 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.3731, allocations: 338.8 kB / 1.334 GB, free: 8.574 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001995/0.3733, allocations: 91.95 kB / 1.334 GB, free: 8.484 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002488/0.3735, allocations: 153.7 kB / 1.335 GB, free: 8.316 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003801/0.3739, allocations: 225.7 kB / 1.335 GB, free: 8.078 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.3739, allocations: 7.938 kB / 1.335 GB, free: 8.07 MB / 1.029 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005397/0.3745, allocations: 301.1 kB / 1.335 GB, free: 7.77 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.3745, allocations: 4 kB / 1.335 GB, free: 7.766 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.3745, allocations: 4 kB / 1.335 GB, free: 7.762 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.3745, allocations: 0 / 1.335 GB, free: 7.762 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002049/0.3747, allocations: 43.86 kB / 1.335 GB, free: 7.719 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.3747, allocations: 4 kB / 1.335 GB, free: 7.715 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002089/0.3749, allocations: 47.73 kB / 1.335 GB, free: 7.668 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.566e-05/0.375, allocations: 16.16 kB / 1.335 GB, free: 7.652 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.000174/0.3751, allocations: 175.5 kB / 1.335 GB, free: 7.473 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.648e-05/0.3752, allocations: 31.78 kB / 1.335 GB, free: 7.441 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.789e-05/0.3752, allocations: 26.66 kB / 1.335 GB, free: 7.418 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.3752, allocations: 4 kB / 1.335 GB, free: 7.414 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.3753, allocations: 0 / 1.335 GB, free: 7.414 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.3753, allocations: 3.984 kB / 1.335 GB, free: 7.41 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001009/0.3763, allocations: 0.6499 MB / 1.336 GB, free: 6.711 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.3763, allocations: 0 / 1.336 GB, free: 6.711 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001528/0.3764, allocations: 27.92 kB / 1.336 GB, free: 6.684 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.3764, allocations: 4 kB / 1.336 GB, free: 6.68 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.085e-05/0.3764, allocations: 7.984 kB / 1.336 GB, free: 6.672 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.3764, allocations: 0 / 1.336 GB, free: 6.672 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.3765, allocations: 3.938 kB / 1.336 GB, free: 6.668 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004841/0.3769, allocations: 345.5 kB / 1.336 GB, free: 6.312 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.283e-05/0.377, allocations: 23.8 kB / 1.336 GB, free: 6.289 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.357e-05/0.377, allocations: 8 kB / 1.336 GB, free: 6.281 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001992/0.3772, allocations: 23.97 kB / 1.336 GB, free: 6.258 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/0.3773, allocations: 43.88 kB / 1.337 GB, free: 6.215 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.841e-05/0.3773, allocations: 8 kB / 1.337 GB, free: 6.207 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000115/0.3774, allocations: 147 kB / 1.337 GB, free: 6.062 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3774, allocations: 0 / 1.337 GB, free: 6.062 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002991/0.3777, allocations: 59.89 kB / 1.337 GB, free: 6.004 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.0008189/0.3786, allocations: 0.8978 MB / 1.338 GB, free: 5.078 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004678/0.379, allocations: 231.8 kB / 1.338 GB, free: 4.852 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.379, allocations: 0 / 1.338 GB, free: 4.852 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002178/0.3792, allocations: 111.9 kB / 1.338 GB, free: 4.742 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003728/0.3796, allocations: 48.16 kB / 1.338 GB, free: 4.695 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003121/0.3827, allocations: 2.542 MB / 1.34 GB, free: 2.035 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000144/0.3829, allocations: 150.9 kB / 1.341 GB, free: 1.867 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001026/0.383, allocations: 30.27 kB / 1.341 GB, free: 1.84 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001539/0.3831, allocations: 87.41 kB / 1.341 GB, free: 1.758 MB / 1.029 GB Notification: Performance of SimCode: time 2.9e-07/0.3831, allocations: 0 / 1.341 GB, free: 1.758 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03277/0.4159, allocations: 6.191 MB / 1.347 GB, free: 11.74 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.8/11.21, allocations: 3.047 kB / 1.347 GB, free: 11.74 MB / 1.045 GB " [Timeout remaining time 289] (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: 17.731086415005848]