Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001691/0.001691, allocations: 80.41 kB / 20.23 MB, free: 4.195 MB / 18.57 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.001898/0.001898, allocations: 161.7 kB / 23.55 MB, free: 0.8867 MB / 18.57 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.575/1.575, allocations: 177.1 MB / 203.9 MB, free: 5.215 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.837/2.837, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaCon.yVal|heaCon.yValSwi|heaCon.dT|heaCon.y",fileNamePrefix="Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaCon.yVal|heaCon.yValSwi|heaCon.dT|heaCon.y",fileNamePrefix="Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.7864 GB, free: 11.73 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.726e-05/4.893e-05, allocations: 4.844 kB / 0.7864 GB, free: 11.73 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.004571/0.00462, allocations: 2.001 MB / 0.7883 GB, free: 9.73 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001986/0.006605, allocations: 0.7543 MB / 0.7891 GB, free: 8.973 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002653/0.006871, allocations: 11.88 kB / 0.7891 GB, free: 8.961 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0002419/0.007113, allocations: 36.81 kB / 0.7891 GB, free: 8.926 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.000207/0.00732, allocations: 48.78 kB / 0.7891 GB, free: 8.879 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007411/0.008061, allocations: 183.6 kB / 0.7893 GB, free: 8.699 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0007029/0.008764, allocations: 416.7 kB / 0.7897 GB, free: 8.293 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005062/0.00927, allocations: 205.5 kB / 0.7899 GB, free: 8.094 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004954/0.009765, allocations: 215.5 kB / 0.7901 GB, free: 7.883 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003023/0.01007, allocations: 108.3 kB / 0.7902 GB, free: 7.777 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 9.838e-05/0.01017, allocations: 40 kB / 0.7903 GB, free: 7.738 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001327/0.0103, allocations: 49.39 kB / 0.7903 GB, free: 7.691 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001154/0.01041, allocations: 79.75 kB / 0.7904 GB, free: 7.613 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001733/0.01059, allocations: 99.73 kB / 0.7905 GB, free: 7.516 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0007229/0.01131, allocations: 451.6 kB / 0.7909 GB, free: 7.074 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.01132, allocations: 0 / 0.7909 GB, free: 7.074 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.793e-06/0.01132, allocations: 0 / 0.7909 GB, free: 7.074 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.647e-05/0.01133, allocations: 1.281 kB / 0.7909 GB, free: 7.074 MB / 0.698 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.001219/0.01255, allocations: 0.505 MB / 0.7914 GB, free: 6.539 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.0126, allocations: 9.531 kB / 0.7914 GB, free: 6.531 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005574/0.01315, allocations: 84.7 kB / 0.7915 GB, free: 6.449 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004961/0.01365, allocations: 228 kB / 0.7917 GB, free: 6.203 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.524e-05/0.0137, allocations: 25.03 kB / 0.7917 GB, free: 6.176 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.9e-05/0.01375, allocations: 28.38 kB / 0.7918 GB, free: 6.148 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007096/0.01446, allocations: 309.6 kB / 0.7921 GB, free: 5.84 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.01448, allocations: 4.188 kB / 0.7921 GB, free: 5.836 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.151e-05/0.01452, allocations: 8.375 kB / 0.7921 GB, free: 5.828 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.634e-05/0.01454, allocations: 12.66 kB / 0.7921 GB, free: 5.816 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008781/0.01541, allocations: 240.1 kB / 0.7923 GB, free: 5.582 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001649/0.01706, allocations: 0.7597 MB / 0.7931 GB, free: 4.781 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005639/0.01763, allocations: 225.2 kB / 0.7933 GB, free: 4.555 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002501/0.01788, allocations: 105.2 kB / 0.7934 GB, free: 4.449 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.218e-05/0.01791, allocations: 10.14 kB / 0.7934 GB, free: 4.441 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003373/0.01825, allocations: 155.5 kB / 0.7935 GB, free: 4.277 MB / 0.698 GB Notification: Performance of pre-optimization done (n=30): time 1.693e-06/0.01825, allocations: 0 / 0.7935 GB, free: 4.277 MB / 0.698 GB Notification: Performance of matching and sorting (n=30): time 0.0008294/0.01908, allocations: 331.1 kB / 0.7938 GB, free: 3.949 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.21e-05/0.01915, allocations: 67.86 kB / 0.7939 GB, free: 3.871 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002334/0.01938, allocations: 195.1 kB / 0.7941 GB, free: 3.668 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.065e-05/0.01943, allocations: 42.41 kB / 0.7941 GB, free: 3.621 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001463/0.01958, allocations: 152.8 kB / 0.7943 GB, free: 3.469 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001048/0.01969, allocations: 83.84 kB / 0.7944 GB, free: 3.387 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001434/0.01983, allocations: 83.05 kB / 0.7944 GB, free: 3.301 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002028/0.02003, allocations: 334.8 kB / 0.7948 GB, free: 2.965 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000219/0.02025, allocations: 87.97 kB / 0.7948 GB, free: 2.879 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002667/0.02052, allocations: 149.6 kB / 0.795 GB, free: 2.715 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004481/0.02097, allocations: 217 kB / 0.7952 GB, free: 2.488 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-06/0.02097, allocations: 1.312 kB / 0.7952 GB, free: 2.488 MB / 0.698 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006247/0.02159, allocations: 322.7 kB / 0.7955 GB, free: 2.168 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.441e-05/0.02163, allocations: 4 kB / 0.7955 GB, free: 2.164 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/0.02164, allocations: 3.938 kB / 0.7955 GB, free: 2.16 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.02166, allocations: 4.812 kB / 0.7955 GB, free: 2.156 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000211/0.02187, allocations: 43.91 kB / 0.7956 GB, free: 2.113 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/0.02188, allocations: 4.938 kB / 0.7956 GB, free: 2.109 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002065/0.02208, allocations: 37.2 kB / 0.7956 GB, free: 2.074 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.12e-05/0.02212, allocations: 15.98 kB / 0.7956 GB, free: 2.059 MB / 0.698 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.0002083/0.02232, allocations: 166.5 kB / 0.7958 GB, free: 1.891 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.942e-05/0.02238, allocations: 32.36 kB / 0.7958 GB, free: 1.859 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.35e-05/0.02247, allocations: 36.52 kB / 0.7958 GB, free: 1.824 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.02247, allocations: 4 kB / 0.7958 GB, free: 1.82 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/0.02248, allocations: 4 kB / 0.7958 GB, free: 1.816 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.02249, allocations: 0 / 0.7958 GB, free: 1.816 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001121/0.02361, allocations: 0.614 MB / 0.7964 GB, free: 1.168 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.02361, allocations: 0 / 0.7964 GB, free: 1.168 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001509/0.02376, allocations: 31.36 kB / 0.7965 GB, free: 1.141 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.02377, allocations: 4 kB / 0.7965 GB, free: 1.137 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.063e-05/0.02379, allocations: 4 kB / 0.7965 GB, free: 1.133 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/0.02379, allocations: 3.984 kB / 0.7965 GB, free: 1.129 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.02379, allocations: 0 / 0.7965 GB, free: 1.129 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005987/0.02439, allocations: 364.5 kB / 0.7968 GB, free: 0.7539 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.173e-05/0.02442, allocations: 19.86 kB / 0.7969 GB, free: 0.7344 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.613e-05/0.02446, allocations: 4.625 kB / 0.7969 GB, free: 0.7305 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002138/0.02467, allocations: 28.47 kB / 0.7969 GB, free: 0.7031 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001158/0.02479, allocations: 37.72 kB / 0.7969 GB, free: 0.668 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.953e-05/0.02481, allocations: 7.984 kB / 0.7969 GB, free: 0.6602 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001318/0.02494, allocations: 137.7 kB / 0.7971 GB, free: 0.5273 MB / 0.698 GB Notification: Performance of sort global known variables: time 7e-08/0.02494, allocations: 0 / 0.7971 GB, free: 0.5273 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003311/0.02527, allocations: 63.83 kB / 0.7971 GB, free: 476 kB / 0.698 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.0001611/0.02543, allocations: 120.3 kB / 0.7972 GB, free: 352 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005777/0.02601, allocations: 227.8 kB / 0.7975 GB, free: 124 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.02601, allocations: 2.719 kB / 0.7975 GB, free: 124 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002562/0.02627, allocations: 111.8 kB / 0.7976 GB, free: 12 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004629/0.02673, allocations: 51.77 kB / 0.7976 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009772/0.02771, allocations: 463.4 kB / 0.7981 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001945/0.0279, allocations: 166.1 kB / 0.7982 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001083/0.02801, allocations: 24.75 kB / 0.7982 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.86e-05/0.0281, allocations: 24.5 kB / 0.7983 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of SimCode: time 5.92e-07/0.0281, allocations: 0.875 kB / 0.7983 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of Templates: time 0.007875/0.03598, allocations: 2.897 MB / 0.8011 GB, free: 12.43 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; mkfifo Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; head -c 1048576 < Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe >> ../files/Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.sim & ./Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.144710864056833]