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.001487/0.001487, allocations: 80.2 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001652/0.001652, allocations: 173.5 kB / 22.46 MB, free: 5.355 MB / 14.72 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.534/1.534, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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 2.833/2.833, allocations: 377.8 MB / 0.6221 GB, free: 12.63 MB / 0.5919 GB " [Timeout remaining time 176] 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.594e-06/2.594e-06, allocations: 0 / 0.9814 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.019e-05/4.278e-05, allocations: 5.656 kB / 0.9814 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.003742/0.003785, allocations: 2.017 MB / 0.9834 GB, free: 9.977 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001533/0.005318, allocations: 0.7558 MB / 0.9841 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001267/0.005445, allocations: 7.938 kB / 0.9841 GB, free: 9.207 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.000164/0.005608, allocations: 35.55 kB / 0.9842 GB, free: 9.172 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001236/0.005732, allocations: 39.59 kB / 0.9842 GB, free: 9.133 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005536/0.006286, allocations: 191.5 kB / 0.9844 GB, free: 8.945 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0004915/0.006777, allocations: 411.1 kB / 0.9848 GB, free: 8.543 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003575/0.007135, allocations: 200.4 kB / 0.985 GB, free: 8.348 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003399/0.007475, allocations: 211.6 kB / 0.9852 GB, free: 8.141 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001926/0.007667, allocations: 103.7 kB / 0.9853 GB, free: 8.039 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 6.09e-05/0.007728, allocations: 40 kB / 0.9853 GB, free: 8 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001166/0.007845, allocations: 55.91 kB / 0.9854 GB, free: 7.945 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.000125/0.00797, allocations: 79.75 kB / 0.9854 GB, free: 7.867 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001263/0.008096, allocations: 99.73 kB / 0.9855 GB, free: 7.77 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0005943/0.00869, allocations: 450.5 kB / 0.986 GB, free: 7.328 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.008695, allocations: 4 kB / 0.986 GB, free: 7.324 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.503e-06/0.008697, allocations: 0 / 0.986 GB, free: 7.324 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.955e-06/0.008705, allocations: 0 / 0.986 GB, free: 7.324 MB / 0.9356 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.001041/0.009746, allocations: 0.5037 MB / 0.9865 GB, free: 6.793 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/0.009795, allocations: 12.03 kB / 0.9865 GB, free: 6.781 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004794/0.01027, allocations: 64.7 kB / 0.9865 GB, free: 6.719 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004627/0.01074, allocations: 225.7 kB / 0.9867 GB, free: 6.473 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.586e-05/0.01078, allocations: 29.03 kB / 0.9868 GB, free: 6.445 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.512e-05/0.01084, allocations: 32.36 kB / 0.9868 GB, free: 6.414 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000666/0.0115, allocations: 309.6 kB / 0.9871 GB, free: 6.098 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.01152, allocations: 192 / 0.9871 GB, free: 6.098 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.506e-05/0.01155, allocations: 16.38 kB / 0.9871 GB, free: 6.082 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.413e-05/0.01157, allocations: 11.94 kB / 0.9871 GB, free: 6.07 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005347/0.0121, allocations: 234.4 kB / 0.9873 GB, free: 5.844 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001471/0.01357, allocations: 0.7585 MB / 0.9881 GB, free: 5.039 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005511/0.01412, allocations: 215.6 kB / 0.9883 GB, free: 4.82 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002265/0.01435, allocations: 109.3 kB / 0.9884 GB, free: 4.711 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.078e-05/0.01438, allocations: 4.234 kB / 0.9884 GB, free: 4.707 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003306/0.01471, allocations: 159.5 kB / 0.9886 GB, free: 4.539 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=30): time 2.164e-06/0.01471, allocations: 0 / 0.9886 GB, free: 4.539 MB / 0.9356 GB Notification: Performance of matching and sorting (n=30): time 0.0007372/0.01545, allocations: 323.1 kB / 0.9889 GB, free: 4.219 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.742e-05/0.01551, allocations: 59.34 kB / 0.9889 GB, free: 4.148 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002114/0.01572, allocations: 203.7 kB / 0.9891 GB, free: 3.938 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.773e-05/0.01577, allocations: 37.7 kB / 0.9891 GB, free: 3.895 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001388/0.01591, allocations: 156.8 kB / 0.9893 GB, free: 3.738 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 7.932e-05/0.01599, allocations: 83.36 kB / 0.9894 GB, free: 3.656 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000124/0.01611, allocations: 81.69 kB / 0.9895 GB, free: 3.57 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001654/0.01628, allocations: 334.8 kB / 0.9898 GB, free: 3.234 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002075/0.01648, allocations: 95.95 kB / 0.9899 GB, free: 3.141 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002448/0.01673, allocations: 149 kB / 0.99 GB, free: 2.977 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004075/0.01714, allocations: 222.7 kB / 0.9902 GB, free: 2.742 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.01714, allocations: 0 / 0.9902 GB, free: 2.742 MB / 0.9356 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005514/0.01769, allocations: 301 kB / 0.9905 GB, free: 2.441 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/0.01771, allocations: 8 kB / 0.9905 GB, free: 2.434 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.01772, allocations: 3.938 kB / 0.9905 GB, free: 2.43 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.01774, allocations: 4 kB / 0.9905 GB, free: 2.426 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001966/0.01794, allocations: 39.8 kB / 0.9906 GB, free: 2.387 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.208e-05/0.01795, allocations: 12.14 kB / 0.9906 GB, free: 2.375 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002086/0.01816, allocations: 39.86 kB / 0.9906 GB, free: 2.336 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.756e-05/0.01819, allocations: 16 kB / 0.9906 GB, free: 2.32 MB / 0.9356 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.0002133/0.0184, allocations: 173.7 kB / 0.9908 GB, free: 2.145 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.854e-05/0.01844, allocations: 23.84 kB / 0.9908 GB, free: 2.121 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.419e-05/0.01851, allocations: 30.59 kB / 0.9908 GB, free: 2.094 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.01852, allocations: 4 kB / 0.9908 GB, free: 2.09 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.01852, allocations: 4 kB / 0.9908 GB, free: 2.086 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.358e-06/0.01853, allocations: 3.984 kB / 0.9909 GB, free: 2.082 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001/0.01953, allocations: 0.604 MB / 0.9914 GB, free: 1.441 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.01953, allocations: 0 / 0.9914 GB, free: 1.441 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001443/0.01968, allocations: 31.91 kB / 0.9915 GB, free: 1.41 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/0.01968, allocations: 4 kB / 0.9915 GB, free: 1.406 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.166e-05/0.0197, allocations: 4 kB / 0.9915 GB, free: 1.402 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.01971, allocations: 0 / 0.9915 GB, free: 1.402 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.01971, allocations: 4 kB / 0.9915 GB, free: 1.398 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005157/0.02022, allocations: 348.3 kB / 0.9918 GB, free: 1.043 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.055e-05/0.02025, allocations: 19.8 kB / 0.9918 GB, free: 1.023 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.628e-05/0.02029, allocations: 11.94 kB / 0.9918 GB, free: 1.012 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002034/0.02049, allocations: 27.95 kB / 0.9919 GB, free: 0.9844 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001122/0.02061, allocations: 31.95 kB / 0.9919 GB, free: 0.9531 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-05/0.02063, allocations: 19.98 kB / 0.9919 GB, free: 0.9336 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001067/0.02074, allocations: 120.1 kB / 0.992 GB, free: 0.8164 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.02074, allocations: 4 kB / 0.992 GB, free: 0.8125 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003116/0.02105, allocations: 63.89 kB / 0.9921 GB, free: 0.75 MB / 0.9356 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.0001583/0.02121, allocations: 117.2 kB / 0.9922 GB, free: 0.6289 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005037/0.02171, allocations: 235.5 kB / 0.9924 GB, free: 408 kB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.02171, allocations: 0 / 0.9924 GB, free: 408 kB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002297/0.02194, allocations: 116.6 kB / 0.9925 GB, free: 292 kB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003696/0.02231, allocations: 39.86 kB / 0.9926 GB, free: 252 kB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008791/0.02319, allocations: 446.3 kB / 0.993 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001768/0.02337, allocations: 154.9 kB / 0.9932 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 9.674e-05/0.02346, allocations: 30.28 kB / 0.9932 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.776e-05/0.02355, allocations: 24.5 kB / 0.9932 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of SimCode: time 3.91e-07/0.02355, allocations: 0 / 0.9932 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of Templates: time 0.00729/0.03084, allocations: 2.883 MB / 0.996 GB, free: 12.73 MB / 0.9512 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: 8.634335421025753]