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: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaCon.yVal|heaCon.yValSwi|heaCon.dT|heaCon.y",fileNamePrefix="Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaCon.yVal|heaCon.yValSwi|heaCon.dT|heaCon.y",fileNamePrefix="Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001815/0.001815, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002132/0.002132, allocations: 193.8 kB / 16.14 MB, free: 6.676 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.456/1.456, allocations: 222.9 MB / 239.8 MB, free: 4.637 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.744/2.744, allocations: 437 MB / 0.7099 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002949/0.002949, allocations: 67.89 kB / 0.8686 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7104/0.7133, allocations: 151.6 MB / 1.017 GB, free: 2.754 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.003696/0.7171, allocations: 2.127 MB / 1.019 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001336/0.7184, allocations: 0.7169 MB / 1.019 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001152/0.7186, allocations: 4 kB / 1.019 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001492/0.7187, allocations: 23.8 kB / 1.019 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001014/0.7189, allocations: 31.72 kB / 1.019 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004179/0.7193, allocations: 135.9 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004233/0.7197, allocations: 367.1 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003462/0.7201, allocations: 220.5 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001683/0.7202, allocations: 115.5 kB / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001835/0.7204, allocations: 135.4 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.463e-05/0.7205, allocations: 20 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.536e-05/0.7206, allocations: 28 kB / 1.02 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.46e-05/0.7207, allocations: 75.67 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001366/0.7208, allocations: 127.3 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003974/0.7212, allocations: 376.7 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.7212, allocations: 0 / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of FrontEnd: time 8.22e-07/0.7212, allocations: 0 / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.7213, allocations: 0 / 1.021 GB, free: 14.26 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.0009697/0.7222, allocations: 0.5613 MB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.7223, allocations: 16.03 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.758e-05/0.7224, allocations: 32.56 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000367/0.7227, allocations: 275.7 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.089e-05/0.7228, allocations: 28.92 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.291e-05/0.7229, allocations: 28.38 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000632/0.7235, allocations: 312 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.7235, allocations: 4 kB / 1.022 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.056e-05/0.7236, allocations: 8 kB / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.052e-05/0.7236, allocations: 12 kB / 1.022 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005387/0.7241, allocations: 238.1 kB / 1.022 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001641/0.7258, allocations: 0.944 MB / 1.023 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005585/0.7264, allocations: 249.2 kB / 1.024 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002379/0.7266, allocations: 121.2 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.852e-05/0.7266, allocations: 240 / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004172/0.7271, allocations: 159.5 kB / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=30): time 1.854e-06/0.7271, allocations: 0 / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of matching and sorting (n=30): time 0.0007614/0.7278, allocations: 331.5 kB / 1.024 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.919e-05/0.7279, allocations: 55.41 kB / 1.024 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002073/0.7281, allocations: 200.3 kB / 1.024 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.187e-05/0.7282, allocations: 41.69 kB / 1.024 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001329/0.7283, allocations: 164.5 kB / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.864e-05/0.7284, allocations: 71.02 kB / 1.025 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001218/0.7285, allocations: 81.67 kB / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001704/0.7287, allocations: 334.8 kB / 1.025 GB, free: 9.828 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002112/0.7289, allocations: 91.95 kB / 1.025 GB, free: 9.738 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002578/0.7292, allocations: 153 kB / 1.025 GB, free: 9.57 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000399/0.7296, allocations: 216.5 kB / 1.026 GB, free: 9.34 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.7296, allocations: 0 / 1.026 GB, free: 9.34 MB / 0.7794 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005772/0.7302, allocations: 304.9 kB / 1.026 GB, free: 9.035 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.584e-05/0.7302, allocations: 10.5 kB / 1.026 GB, free: 9.027 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.7302, allocations: 3.938 kB / 1.026 GB, free: 9.023 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/0.7303, allocations: 4 kB / 1.026 GB, free: 9.02 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002209/0.7305, allocations: 39.91 kB / 1.026 GB, free: 8.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.385e-06/0.7305, allocations: 0 / 1.026 GB, free: 8.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002149/0.7307, allocations: 55.81 kB / 1.026 GB, free: 8.926 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.966e-05/0.7308, allocations: 15.98 kB / 1.026 GB, free: 8.91 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.condition,heaCon.offToOn.t_start,$PRE.heaCon.offToOn.t_start,heaCon.offToOn.fire,heaCon.offToOn.enableFire,heaCon.offToOn.condition,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.0002079/0.731, allocations: 169.7 kB / 1.026 GB, free: 8.734 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.832e-05/0.731, allocations: 23.72 kB / 1.026 GB, free: 8.711 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006179/0.7317, allocations: 288.6 kB / 1.026 GB, free: 8.422 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/0.7317, allocations: 8 kB / 1.026 GB, free: 8.414 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.7317, allocations: 0 / 1.026 GB, free: 8.414 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.7317, allocations: 0 / 1.026 GB, free: 8.414 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001126/0.7328, allocations: 0.721 MB / 1.027 GB, free: 7.637 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.7328, allocations: 0 / 1.027 GB, free: 7.637 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001481/0.733, allocations: 31.92 kB / 1.027 GB, free: 7.605 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.085e-06/0.733, allocations: 4 kB / 1.027 GB, free: 7.602 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.549e-05/0.733, allocations: 8 kB / 1.027 GB, free: 7.594 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.7331, allocations: 3.938 kB / 1.027 GB, free: 7.59 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.7331, allocations: 0 / 1.027 GB, free: 7.59 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00053/0.7336, allocations: 359.6 kB / 1.028 GB, free: 7.223 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.861e-05/0.7337, allocations: 104.7 kB / 1.028 GB, free: 7.102 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.801e-05/0.7337, allocations: 8 kB / 1.028 GB, free: 7.094 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000203/0.7339, allocations: 27.97 kB / 1.028 GB, free: 7.066 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001171/0.7341, allocations: 47.81 kB / 1.028 GB, free: 7.02 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.939e-05/0.7341, allocations: 4 kB / 1.028 GB, free: 7.016 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001263/0.7342, allocations: 139.4 kB / 1.028 GB, free: 6.879 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7342, allocations: 0 / 1.028 GB, free: 6.879 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003319/0.7346, allocations: 63.84 kB / 1.028 GB, free: 6.816 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.localActive,heaCon.off.localActive,$cse1,$cse2,$whenCondition2,$whenCondition1,heaCon.off.newActive,heaCon.off.oldActive,heaCon.off.active,heaCon.on.newActive,heaCon.on.oldActive,heaCon.on.active,heaCon.offToOn.condition,heaCon.offToOn.fire,heaCon.offToOn.t_start,heaCon.onToOff.condition,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.0001771/0.7347, allocations: 121.1 kB / 1.028 GB, free: 6.691 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005311/0.7353, allocations: 247.8 kB / 1.028 GB, free: 6.449 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.7353, allocations: 4 kB / 1.028 GB, free: 6.445 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002505/0.7356, allocations: 127.8 kB / 1.028 GB, free: 6.32 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003767/0.7359, allocations: 40.28 kB / 1.028 GB, free: 6.281 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009373/0.7369, allocations: 0.5436 MB / 1.029 GB, free: 5.711 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004148/0.7373, allocations: 0.7644 MB / 1.03 GB, free: 4.918 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001191/0.7374, allocations: 26.3 kB / 1.03 GB, free: 4.895 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.411e-05/0.7375, allocations: 27.42 kB / 1.03 GB, free: 4.871 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.7375, allocations: 0 / 1.03 GB, free: 4.871 MB / 0.7794 GB Notification: Performance of Templates: time 0.006832/0.7444, allocations: 2.702 MB / 1.032 GB, free: 2.191 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.makefile (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 & ./Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > 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/jenkins/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