Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,fileNamePrefix="Buildings_10_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,fileNamePrefix="Buildings_10_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001015/0.001016, allocations: 108 kB / 15.6 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009748/0.0009749, allocations: 196.6 kB / 16.53 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.187/1.187, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.287/2.287, allocations: 437.1 MB / 0.7104 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 59.91 kB / 0.8694 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4657/0.4669, allocations: 151.6 MB / 1.017 GB, free: 2.492 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.002913/0.4698, allocations: 2.043 MB / 1.019 GB, free: 444 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00107/0.4709, allocations: 0.6974 MB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001354/0.4711, allocations: 7.938 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001358/0.4712, allocations: 39.59 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001032/0.4713, allocations: 39.59 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004049/0.4718, allocations: 155.8 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004422/0.4722, allocations: 403 kB / 1.021 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003364/0.4726, allocations: 239.8 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001631/0.4727, allocations: 135.6 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001711/0.4729, allocations: 151.3 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.241e-05/0.473, allocations: 36 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.822e-05/0.4731, allocations: 52 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.588e-05/0.4732, allocations: 79.8 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001192/0.4733, allocations: 151.3 kB / 1.022 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003369/0.4736, allocations: 401 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.4736, allocations: 4 kB / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.152e-06/0.4737, allocations: 3.938 kB / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.264e-06/0.4737, allocations: 0 / 1.022 GB, free: 13.87 MB / 0.7794 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.0007908/0.4745, allocations: 0.5651 MB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.4745, allocations: 8.031 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.444e-05/0.4746, allocations: 66.72 kB / 1.023 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.198e-05/0.4746, allocations: 32.56 kB / 1.023 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002719/0.4749, allocations: 276.2 kB / 1.023 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.935e-05/0.475, allocations: 24.94 kB / 1.023 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.465e-05/0.475, allocations: 36.36 kB / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005151/0.4755, allocations: 315.7 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.4755, allocations: 3.984 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.737e-05/0.4756, allocations: 12 kB / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.072e-05/0.4756, allocations: 12 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004624/0.4761, allocations: 230.1 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001281/0.4773, allocations: 0.9285 MB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004751/0.4778, allocations: 250.2 kB / 1.025 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001988/0.478, allocations: 117.3 kB / 1.025 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.325e-05/0.4781, allocations: 8.219 kB / 1.025 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002853/0.4784, allocations: 168.7 kB / 1.025 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=30): time 1.713e-06/0.4784, allocations: 3.938 kB / 1.025 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of matching and sorting (n=30): time 0.0006282/0.479, allocations: 325.3 kB / 1.025 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.845e-05/0.4791, allocations: 59.41 kB / 1.025 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001555/0.4792, allocations: 207.3 kB / 1.025 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.351e-05/0.4793, allocations: 41.69 kB / 1.025 GB, free: 10 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.612e-05/0.4794, allocations: 156.6 kB / 1.026 GB, free: 9.848 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.21e-05/0.4794, allocations: 79 kB / 1.026 GB, free: 9.77 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000107/0.4795, allocations: 81.67 kB / 1.026 GB, free: 9.684 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.572e-05/0.4796, allocations: 330.8 kB / 1.026 GB, free: 9.352 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002004/0.4798, allocations: 95.95 kB / 1.026 GB, free: 9.258 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000233/0.4801, allocations: 160.9 kB / 1.026 GB, free: 9.082 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003562/0.4804, allocations: 208.5 kB / 1.027 GB, free: 8.859 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.4805, allocations: 7.938 kB / 1.027 GB, free: 8.852 MB / 0.7794 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005213/0.481, allocations: 301 kB / 1.027 GB, free: 8.551 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.481, allocations: 4 kB / 1.027 GB, free: 8.547 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.481, allocations: 4 kB / 1.027 GB, free: 8.543 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.481, allocations: 0 / 1.027 GB, free: 8.543 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001943/0.4812, allocations: 43.91 kB / 1.027 GB, free: 8.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.4813, allocations: 4 kB / 1.027 GB, free: 8.496 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002026/0.4815, allocations: 51.81 kB / 1.027 GB, free: 8.445 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.942e-05/0.4815, allocations: 15.98 kB / 1.027 GB, free: 8.43 MB / 0.7794 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.0001605/0.4817, allocations: 173.7 kB / 1.027 GB, free: 8.25 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.65e-05/0.4817, allocations: 19.72 kB / 1.027 GB, free: 8.23 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005317/0.4823, allocations: 288.1 kB / 1.027 GB, free: 7.941 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.4823, allocations: 4 kB / 1.027 GB, free: 7.938 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.4823, allocations: 0 / 1.027 GB, free: 7.938 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/0.4823, allocations: 0 / 1.027 GB, free: 7.938 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009865/0.4833, allocations: 0.7253 MB / 1.028 GB, free: 7.156 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.4833, allocations: 0 / 1.028 GB, free: 7.156 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001457/0.4834, allocations: 35.91 kB / 1.028 GB, free: 7.121 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.4835, allocations: 4 kB / 1.028 GB, free: 7.117 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.953e-05/0.4835, allocations: 4 kB / 1.028 GB, free: 7.113 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.4835, allocations: 4 kB / 1.028 GB, free: 7.109 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.135e-06/0.4835, allocations: 3.938 kB / 1.028 GB, free: 7.105 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005118/0.484, allocations: 355.2 kB / 1.028 GB, free: 6.742 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.829e-05/0.4841, allocations: 96.77 kB / 1.029 GB, free: 6.629 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.714e-05/0.4841, allocations: 19.88 kB / 1.029 GB, free: 6.609 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002022/0.4843, allocations: 23.97 kB / 1.029 GB, free: 6.586 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.05e-05/0.4844, allocations: 39.89 kB / 1.029 GB, free: 6.547 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.016e-05/0.4845, allocations: 12 kB / 1.029 GB, free: 6.535 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.407e-05/0.4846, allocations: 131.2 kB / 1.029 GB, free: 6.406 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4846, allocations: 0 / 1.029 GB, free: 6.406 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003035/0.4849, allocations: 67.84 kB / 1.029 GB, free: 6.34 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 21 (heaCon.onToOff.enableFire,heaCon.offToOn.enableFire,heaCon.on.active,heaCon.off.active,$cse1,$cse2,$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 (32): * Single equations (assignments): 28 * 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.0007094/0.4856, allocations: 0.9101 MB / 1.03 GB, free: 5.406 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005247/0.4861, allocations: 267.9 kB / 1.03 GB, free: 5.145 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4861, allocations: 0 / 1.03 GB, free: 5.145 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002332/0.4864, allocations: 127.9 kB / 1.03 GB, free: 5.02 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003335/0.4867, allocations: 36.48 kB / 1.03 GB, free: 4.984 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002819/0.4895, allocations: 2.55 MB / 1.033 GB, free: 2.328 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002616/0.4898, allocations: 0.7603 MB / 1.033 GB, free: 1.543 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.000107/0.4899, allocations: 30.28 kB / 1.033 GB, free: 1.516 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001347/0.4901, allocations: 87.41 kB / 1.034 GB, free: 1.43 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.4901, allocations: 0 / 1.034 GB, free: 1.43 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.561/2.051, allocations: 5.524 MB / 1.039 GB, free: 12.04 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.151/11.2, allocations: 9.875 kB / 1.039 GB, free: 12.03 MB / 0.795 GB (rm -f Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; mkfifo Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; head -c 1048576 < Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe >> ../files/Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat_res.mat --tempDir=temp_Buildings_10_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat.fmu > Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches