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.002458/0.002458, allocations: 87.69 kB / 20.24 MB, free: 4.176 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.002885/0.002885, allocations: 157.3 kB / 23.55 MB, free: 0.8672 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.55/1.55, allocations: 177.1 MB / 203.9 MB, free: 5.598 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.834/2.834, allocations: 359 MB / 0.6048 GB, free: 10.92 MB / 0.573 GB " [Timeout remaining time 177] 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.683e-06/1.683e-06, allocations: 0 / 0.7864 GB, free: 11.7 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.814e-05/2.983e-05, allocations: 3.844 kB / 0.7864 GB, free: 11.69 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.003924/0.003954, allocations: 2.063 MB / 0.7884 GB, free: 9.637 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001626/0.00558, allocations: 0.7672 MB / 0.7891 GB, free: 8.867 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001336/0.005714, allocations: 7.938 kB / 0.7891 GB, free: 8.859 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.000171/0.005885, allocations: 35.59 kB / 0.7892 GB, free: 8.824 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001353/0.00602, allocations: 53.44 kB / 0.7892 GB, free: 8.773 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005533/0.006574, allocations: 183.6 kB / 0.7894 GB, free: 8.594 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0007523/0.007326, allocations: 411.1 kB / 0.7898 GB, free: 8.191 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004247/0.007751, allocations: 214.7 kB / 0.79 GB, free: 7.984 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003838/0.008134, allocations: 209.4 kB / 0.7902 GB, free: 7.781 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002163/0.008351, allocations: 107.7 kB / 0.7903 GB, free: 7.676 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 6.605e-05/0.008417, allocations: 40 kB / 0.7903 GB, free: 7.637 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001098/0.008527, allocations: 47.94 kB / 0.7904 GB, free: 7.59 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001071/0.008634, allocations: 84.83 kB / 0.7905 GB, free: 7.508 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.000136/0.00877, allocations: 99.73 kB / 0.7905 GB, free: 7.41 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0006156/0.009385, allocations: 446.5 kB / 0.791 GB, free: 6.973 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.009391, allocations: 8.562 kB / 0.791 GB, free: 6.965 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.283e-06/0.009392, allocations: 0 / 0.791 GB, free: 6.965 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.009399, allocations: 1.094 kB / 0.791 GB, free: 6.965 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.001113/0.01051, allocations: 0.6306 MB / 0.7916 GB, free: 6.301 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.01055, allocations: 8.031 kB / 0.7916 GB, free: 6.293 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004831/0.01103, allocations: 84.7 kB / 0.7917 GB, free: 6.211 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003917/0.01143, allocations: 220.1 kB / 0.7919 GB, free: 5.969 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.349e-05/0.01147, allocations: 25.03 kB / 0.7919 GB, free: 5.941 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.32e-05/0.01152, allocations: 33.03 kB / 0.792 GB, free: 5.91 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000659/0.01218, allocations: 331.8 kB / 0.7923 GB, free: 5.574 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.01219, allocations: 192 / 0.7923 GB, free: 5.574 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.217e-05/0.01223, allocations: 14.03 kB / 0.7923 GB, free: 5.562 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.01224, allocations: 7.938 kB / 0.7923 GB, free: 5.555 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005247/0.01276, allocations: 218.5 kB / 0.7925 GB, free: 5.34 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001693/0.01446, allocations: 0.956 MB / 0.7934 GB, free: 4.34 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005456/0.015, allocations: 233.2 kB / 0.7937 GB, free: 4.102 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000232/0.01523, allocations: 112.8 kB / 0.7938 GB, free: 3.988 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.213e-05/0.01527, allocations: 5.609 kB / 0.7938 GB, free: 3.984 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003347/0.0156, allocations: 169.1 kB / 0.7939 GB, free: 3.805 MB / 0.698 GB Notification: Performance of pre-optimization done (n=30): time 1.864e-06/0.0156, allocations: 0 / 0.7939 GB, free: 3.805 MB / 0.698 GB Notification: Performance of matching and sorting (n=30): time 0.0007666/0.01637, allocations: 327.2 kB / 0.7942 GB, free: 3.48 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.046e-05/0.01643, allocations: 60.23 kB / 0.7943 GB, free: 3.41 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003288/0.01676, allocations: 294.6 kB / 0.7946 GB, free: 3.102 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.607e-05/0.0168, allocations: 46.92 kB / 0.7946 GB, free: 3.051 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000176/0.01698, allocations: 211.5 kB / 0.7948 GB, free: 2.84 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001075/0.01709, allocations: 91.31 kB / 0.7949 GB, free: 2.75 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001895/0.01728, allocations: 119.3 kB / 0.795 GB, free: 2.625 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002999/0.01758, allocations: 0.5165 MB / 0.7955 GB, free: 2.098 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002194/0.0178, allocations: 91.95 kB / 0.7956 GB, free: 2.008 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002859/0.01808, allocations: 171.1 kB / 0.7958 GB, free: 1.816 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000429/0.01851, allocations: 228.5 kB / 0.796 GB, free: 1.57 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.724e-06/0.01852, allocations: 4 kB / 0.796 GB, free: 1.566 MB / 0.698 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006264/0.01915, allocations: 313.9 kB / 0.7963 GB, free: 1.258 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.01916, allocations: 4 kB / 0.7963 GB, free: 1.254 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.659e-05/0.01918, allocations: 11.92 kB / 0.7963 GB, free: 1.242 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.0192, allocations: 4 kB / 0.7963 GB, free: 1.238 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002062/0.0194, allocations: 39.86 kB / 0.7964 GB, free: 1.199 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/0.01941, allocations: 7.938 kB / 0.7964 GB, free: 1.191 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001911/0.0196, allocations: 42.3 kB / 0.7964 GB, free: 1.152 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.384e-05/0.01963, allocations: 8 kB / 0.7964 GB, free: 1.145 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.0002321/0.01986, allocations: 212.5 kB / 0.7966 GB, free: 0.9297 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.913e-05/0.01992, allocations: 36.94 kB / 0.7967 GB, free: 0.8945 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.799e-05/0.02001, allocations: 30.59 kB / 0.7967 GB, free: 0.8633 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/0.02001, allocations: 4 kB / 0.7967 GB, free: 0.8594 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.02002, allocations: 0.6562 kB / 0.7967 GB, free: 0.8594 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.02003, allocations: 3.984 kB / 0.7967 GB, free: 0.8555 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001404/0.02143, allocations: 0.7056 MB / 0.7974 GB, free: 116 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.608e-06/0.02143, allocations: 3.984 kB / 0.7974 GB, free: 112 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001599/0.02159, allocations: 31.92 kB / 0.7974 GB, free: 80 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.0216, allocations: 0 / 0.7974 GB, free: 80 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.55e-05/0.02162, allocations: 8 kB / 0.7974 GB, free: 72 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.02163, allocations: 0 / 0.7974 GB, free: 72 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.02163, allocations: 0 / 0.7974 GB, free: 72 kB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006269/0.02225, allocations: 419 kB / 0.7978 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.546e-05/0.02229, allocations: 23.8 kB / 0.7978 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.53e-05/0.02232, allocations: 7.984 kB / 0.7979 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001763/0.0225, allocations: 19.98 kB / 0.7979 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001178/0.02262, allocations: 40.97 kB / 0.7979 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.011e-05/0.02264, allocations: 8 kB / 0.7979 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001621/0.0228, allocations: 177.7 kB / 0.7981 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.0228, allocations: 1.062 kB / 0.7981 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003502/0.02315, allocations: 63.83 kB / 0.7981 GB, free: 15.31 MB / 0.7136 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.0001651/0.02332, allocations: 118.3 kB / 0.7983 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0005802/0.0239, allocations: 255.3 kB / 0.7985 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.0239, allocations: 0 / 0.7985 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002701/0.02417, allocations: 135.5 kB / 0.7986 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003788/0.02455, allocations: 40.41 kB / 0.7987 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009805/0.02553, allocations: 479.6 kB / 0.7991 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001833/0.02571, allocations: 151.3 kB / 0.7993 GB, free: 14.1 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001134/0.02582, allocations: 26.28 kB / 0.7993 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.513e-05/0.02592, allocations: 24.5 kB / 0.7993 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of SimCode: time 7.52e-07/0.02592, allocations: 0 / 0.7993 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of Templates: time 0.007753/0.03367, allocations: 2.913 MB / 0.8022 GB, free: 11.2 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1) [Timeout 240] 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: 7.918608896899968]