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.0008752/0.0008752, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.0008538/0.0008538, allocations: 177.9 kB / 23.22 MB, free: 1.344 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 0.9089/0.9089, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.781/1.781, allocations: 377.8 MB / 0.6228 GB, free: 8.668 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: 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_12_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_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.145e-06/2.145e-06, allocations: 0 / 0.9822 GB, free: 2.113 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.451e-05/3.665e-05, allocations: 5.375 kB / 0.9822 GB, free: 2.109 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.002692/0.002729, allocations: 2.009 MB / 0.9841 GB, free: 88 kB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001247/0.003976, allocations: 0.7519 MB / 0.9849 GB, free: 15.33 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001307/0.004107, allocations: 4 kB / 0.9849 GB, free: 15.32 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0002008/0.004308, allocations: 47.47 kB / 0.9849 GB, free: 15.28 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001036/0.004411, allocations: 39.59 kB / 0.985 GB, free: 15.24 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005436/0.004955, allocations: 175.6 kB / 0.9851 GB, free: 15.07 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.000397/0.005352, allocations: 418.9 kB / 0.9855 GB, free: 14.66 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003376/0.00569, allocations: 208.4 kB / 0.9857 GB, free: 14.45 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002945/0.005984, allocations: 203.6 kB / 0.9859 GB, free: 14.25 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001594/0.006144, allocations: 111.7 kB / 0.986 GB, free: 14.14 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 4.327e-05/0.006187, allocations: 40 kB / 0.9861 GB, free: 14.11 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 8.453e-05/0.006271, allocations: 51.92 kB / 0.9861 GB, free: 14.05 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 6.749e-05/0.006339, allocations: 79.73 kB / 0.9862 GB, free: 13.98 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 8.858e-05/0.006427, allocations: 107.7 kB / 0.9863 GB, free: 13.87 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003915/0.006819, allocations: 450.5 kB / 0.9867 GB, free: 13.43 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.006822, allocations: 4 kB / 0.9867 GB, free: 13.43 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.893e-06/0.006824, allocations: 0 / 0.9867 GB, free: 13.43 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.062e-06/0.00683, allocations: 0 / 0.9867 GB, free: 13.43 MB / 0.948 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.0007066/0.007536, allocations: 0.5012 MB / 0.9872 GB, free: 12.89 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.007576, allocations: 8.031 kB / 0.9872 GB, free: 12.89 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002849/0.007861, allocations: 64.7 kB / 0.9873 GB, free: 12.82 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002979/0.008159, allocations: 225.8 kB / 0.9875 GB, free: 12.58 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.956e-05/0.008188, allocations: 32.97 kB / 0.9875 GB, free: 12.55 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.185e-05/0.00822, allocations: 28.38 kB / 0.9876 GB, free: 12.52 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004014/0.008621, allocations: 305.6 kB / 0.9879 GB, free: 12.21 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.008634, allocations: 192 / 0.9879 GB, free: 12.21 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.355e-05/0.008658, allocations: 16.36 kB / 0.9879 GB, free: 12.19 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.008668, allocations: 11.94 kB / 0.9879 GB, free: 12.18 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000306/0.008974, allocations: 226.5 kB / 0.9881 GB, free: 11.96 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009128/0.009887, allocations: 0.7663 MB / 0.9888 GB, free: 11.15 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003313/0.01022, allocations: 219.6 kB / 0.9891 GB, free: 10.93 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000133/0.01035, allocations: 105.3 kB / 0.9892 GB, free: 10.82 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.176e-05/0.01037, allocations: 4.234 kB / 0.9892 GB, free: 10.82 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001997/0.01057, allocations: 159.5 kB / 0.9893 GB, free: 10.65 MB / 0.948 GB Notification: Performance of pre-optimization done (n=30): time 1.684e-06/0.01057, allocations: 0 / 0.9893 GB, free: 10.65 MB / 0.948 GB Notification: Performance of matching and sorting (n=30): time 0.0004556/0.01103, allocations: 327.1 kB / 0.9896 GB, free: 10.32 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.936e-05/0.01107, allocations: 55.41 kB / 0.9897 GB, free: 10.26 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000127/0.0112, allocations: 204.2 kB / 0.9899 GB, free: 10.05 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.3e-05/0.01122, allocations: 37.7 kB / 0.9899 GB, free: 10 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 8.699e-05/0.01131, allocations: 160.7 kB / 0.9901 GB, free: 9.844 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 5.39e-05/0.01136, allocations: 83.31 kB / 0.9901 GB, free: 9.762 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.778e-05/0.01144, allocations: 81.69 kB / 0.9902 GB, free: 9.676 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.28e-05/0.01153, allocations: 334.8 kB / 0.9905 GB, free: 9.34 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001238/0.01165, allocations: 91.95 kB / 0.9906 GB, free: 9.25 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000148/0.0118, allocations: 153.8 kB / 0.9908 GB, free: 9.082 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002308/0.01203, allocations: 214.4 kB / 0.991 GB, free: 8.855 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.01204, allocations: 4 kB / 0.991 GB, free: 8.852 MB / 0.948 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0003265/0.01236, allocations: 304.8 kB / 0.9913 GB, free: 8.547 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.01238, allocations: 4 kB / 0.9913 GB, free: 8.543 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.01239, allocations: 11.92 kB / 0.9913 GB, free: 8.531 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.0124, allocations: 7.938 kB / 0.9913 GB, free: 8.523 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.01251, allocations: 32.08 kB / 0.9913 GB, free: 8.492 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.627e-06/0.01252, allocations: 11.94 kB / 0.9913 GB, free: 8.48 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.179e-05/0.01261, allocations: 39.86 kB / 0.9914 GB, free: 8.441 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.516e-05/0.01263, allocations: 11.98 kB / 0.9914 GB, free: 8.43 MB / 0.948 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.0001211/0.01275, allocations: 173.8 kB / 0.9916 GB, free: 8.254 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.873e-05/0.01277, allocations: 19.86 kB / 0.9916 GB, free: 8.234 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.326e-05/0.01281, allocations: 34.58 kB / 0.9916 GB, free: 8.199 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.01282, allocations: 11.98 kB / 0.9916 GB, free: 8.188 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/0.01282, allocations: 0 / 0.9916 GB, free: 8.188 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.01283, allocations: 0 / 0.9916 GB, free: 8.188 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006366/0.01346, allocations: 0.604 MB / 0.9922 GB, free: 7.547 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.01346, allocations: 0 / 0.9922 GB, free: 7.547 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.359e-05/0.01354, allocations: 35.91 kB / 0.9922 GB, free: 7.512 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.01354, allocations: 0 / 0.9922 GB, free: 7.512 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.397e-05/0.01355, allocations: 8 kB / 0.9922 GB, free: 7.504 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.01355, allocations: 0 / 0.9922 GB, free: 7.504 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.01356, allocations: 4 kB / 0.9923 GB, free: 7.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002878/0.01384, allocations: 344.3 kB / 0.9926 GB, free: 7.148 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.16e-05/0.01387, allocations: 23.8 kB / 0.9926 GB, free: 7.125 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.337e-05/0.01389, allocations: 8 kB / 0.9926 GB, free: 7.117 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.182e-05/0.01398, allocations: 27.97 kB / 0.9926 GB, free: 7.09 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.13e-05/0.01406, allocations: 35.94 kB / 0.9927 GB, free: 7.055 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.01407, allocations: 4 kB / 0.9927 GB, free: 7.051 MB / 0.948 GB Notification: Performance of sorting global known variables: time 6.608e-05/0.01414, allocations: 132.1 kB / 0.9928 GB, free: 6.922 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.01414, allocations: 4 kB / 0.9928 GB, free: 6.918 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002095/0.01435, allocations: 63.83 kB / 0.9929 GB, free: 6.855 MB / 0.948 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.0001035/0.01445, allocations: 117.2 kB / 0.993 GB, free: 6.734 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0003142/0.01477, allocations: 231.5 kB / 0.9932 GB, free: 6.508 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.01477, allocations: 0 / 0.9932 GB, free: 6.508 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001315/0.0149, allocations: 120.6 kB / 0.9933 GB, free: 6.391 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002425/0.01514, allocations: 39.84 kB / 0.9934 GB, free: 6.352 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005961/0.01574, allocations: 482.8 kB / 0.9938 GB, free: 5.848 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.761e-05/0.01584, allocations: 146.9 kB / 0.994 GB, free: 5.68 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.061e-05/0.01591, allocations: 28.48 kB / 0.994 GB, free: 5.652 MB / 0.948 GB Notification: Performance of SimCode: time 6.21e-07/0.01591, allocations: 0 / 0.994 GB, free: 5.652 MB / 0.948 GB Notification: Performance of Templates: time 0.003626/0.01953, allocations: 3.324 MB / 0.9972 GB, free: 2.344 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1) [Timeout 400] 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/jenkins/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: 7.356653505004942]