Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.007826/0.007826, allocations: 101.9 kB / 15.73 MB, free: 6.469 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.001809/0.00181, allocations: 193.7 kB / 16.67 MB, free: 6.379 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.379/1.379, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.406/2.406, allocations: 390.2 MB / 0.6648 GB, free: 220 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 61.97 kB / 0.9508 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2756/0.2769, allocations: 140.4 MB / 1.088 GB, free: 1.512 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.003346/0.2803, allocations: 2.052 MB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001336/0.2816, allocations: 0.6974 MB / 1.091 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001724/0.2818, allocations: 4 kB / 1.091 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001508/0.282, allocations: 39.55 kB / 1.091 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001187/0.2822, allocations: 39.59 kB / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004617/0.2826, allocations: 163.7 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004756/0.2831, allocations: 391.2 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000371/0.2835, allocations: 239.8 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002158/0.2837, allocations: 143.5 kB / 1.092 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002052/0.2839, allocations: 143.4 kB / 1.092 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.047e-05/0.284, allocations: 40 kB / 1.092 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.114e-05/0.2841, allocations: 43.98 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.024e-05/0.2842, allocations: 83.7 kB / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001507/0.2844, allocations: 147.3 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004213/0.2848, allocations: 422.5 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.2848, allocations: 4 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.463e-06/0.2848, allocations: 4 kB / 1.092 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.518e-06/0.2848, allocations: 0 / 1.092 GB, free: 12.87 MB / 0.8575 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.0009455/0.2858, allocations: 0.5651 MB / 1.093 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.2858, allocations: 8.031 kB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.831e-05/0.2859, allocations: 36.55 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003871/0.2863, allocations: 280.7 kB / 1.093 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.156e-05/0.2863, allocations: 28.94 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.765e-05/0.2864, allocations: 32.38 kB / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006081/0.287, allocations: 312 kB / 1.094 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.287, allocations: 0 / 1.094 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.196e-05/0.2871, allocations: 15.94 kB / 1.094 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.2871, allocations: 4 kB / 1.094 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005022/0.2876, allocations: 234.1 kB / 1.094 GB, free: 11.28 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001412/0.289, allocations: 0.9324 MB / 1.095 GB, free: 10.28 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005023/0.2895, allocations: 246 kB / 1.095 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002156/0.2898, allocations: 129.1 kB / 1.095 GB, free: 9.906 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.819e-05/0.2898, allocations: 4.234 kB / 1.095 GB, free: 9.902 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002959/0.2901, allocations: 168 kB / 1.095 GB, free: 9.727 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=30): time 1.753e-06/0.2901, allocations: 0 / 1.095 GB, free: 9.727 MB / 0.8575 GB Notification: Performance of matching and sorting (n=30): time 0.0007094/0.2908, allocations: 325.2 kB / 1.096 GB, free: 9.402 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.92e-05/0.2909, allocations: 63.39 kB / 1.096 GB, free: 9.328 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001829/0.2911, allocations: 206.2 kB / 1.096 GB, free: 9.117 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.493e-05/0.2911, allocations: 37.7 kB / 1.096 GB, free: 9.074 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.844e-05/0.2912, allocations: 148.6 kB / 1.096 GB, free: 8.926 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.473e-05/0.2913, allocations: 86.92 kB / 1.096 GB, free: 8.84 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001096/0.2914, allocations: 77.69 kB / 1.096 GB, free: 8.758 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.2916, allocations: 334.8 kB / 1.097 GB, free: 8.422 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002072/0.2918, allocations: 91.95 kB / 1.097 GB, free: 8.332 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002363/0.292, allocations: 156.8 kB / 1.097 GB, free: 8.16 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003729/0.2924, allocations: 212.8 kB / 1.097 GB, free: 7.934 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.2924, allocations: 0 / 1.097 GB, free: 7.934 MB / 0.8575 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005387/0.293, allocations: 312.6 kB / 1.097 GB, free: 7.621 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.293, allocations: 4 kB / 1.097 GB, free: 7.617 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.293, allocations: 7.938 kB / 1.097 GB, free: 7.609 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.293, allocations: 0 / 1.097 GB, free: 7.609 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002074/0.2932, allocations: 43.91 kB / 1.097 GB, free: 7.566 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.2932, allocations: 4 kB / 1.097 GB, free: 7.562 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002061/0.2934, allocations: 43.88 kB / 1.097 GB, free: 7.52 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.611e-05/0.2935, allocations: 16 kB / 1.097 GB, free: 7.504 MB / 0.8575 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.0001676/0.2937, allocations: 177.6 kB / 1.098 GB, free: 7.32 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.394e-05/0.2937, allocations: 19.72 kB / 1.098 GB, free: 7.301 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005491/0.2943, allocations: 276.7 kB / 1.098 GB, free: 7.023 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.2943, allocations: 8 kB / 1.098 GB, free: 7.016 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.2943, allocations: 0 / 1.098 GB, free: 7.016 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.2943, allocations: 0 / 1.098 GB, free: 7.016 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00101/0.2953, allocations: 0.7332 MB / 1.099 GB, free: 6.227 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.2953, allocations: 0 / 1.099 GB, free: 6.227 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001491/0.2955, allocations: 31.92 kB / 1.099 GB, free: 6.195 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.2955, allocations: 4 kB / 1.099 GB, free: 6.191 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.052e-05/0.2955, allocations: 11.98 kB / 1.099 GB, free: 6.18 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.2955, allocations: 0 / 1.099 GB, free: 6.18 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.2955, allocations: 4 kB / 1.099 GB, free: 6.176 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004799/0.296, allocations: 348.9 kB / 1.099 GB, free: 5.82 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6e-05/0.2961, allocations: 100.8 kB / 1.099 GB, free: 5.703 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.482e-05/0.2961, allocations: 8 kB / 1.099 GB, free: 5.695 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002051/0.2963, allocations: 31.95 kB / 1.099 GB, free: 5.664 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.2965, allocations: 39.89 kB / 1.099 GB, free: 5.625 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.041e-05/0.2965, allocations: 7.938 kB / 1.099 GB, free: 5.617 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001144/0.2966, allocations: 141.5 kB / 1.099 GB, free: 5.48 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.403e-06/0.2966, allocations: 0 / 1.099 GB, free: 5.48 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003335/0.2969, allocations: 71.78 kB / 1.099 GB, free: 5.41 MB / 0.8575 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.active,heaCon.off.active,$cse1,$cse2,$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 (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.0001547/0.2971, allocations: 117.8 kB / 1.099 GB, free: 5.285 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005226/0.2976, allocations: 259.8 kB / 1.1 GB, free: 5.031 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2977, allocations: 0 / 1.1 GB, free: 5.031 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002325/0.2979, allocations: 127.8 kB / 1.1 GB, free: 4.906 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003503/0.2982, allocations: 36.23 kB / 1.1 GB, free: 4.871 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008115/0.2991, allocations: 472.2 kB / 1.1 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003287/0.2994, allocations: 0.7603 MB / 1.101 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001109/0.2995, allocations: 26.23 kB / 1.101 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.603e-05/0.2996, allocations: 31.42 kB / 1.101 GB, free: 3.539 MB / 0.8575 GB Notification: Performance of SimCode: time 2.4e-07/0.2996, allocations: 0 / 1.101 GB, free: 3.539 MB / 0.8575 GB Notification: Performance of Templates: time 0.006918/0.3066, allocations: 3.186 MB / 1.104 GB, free: 388 kB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.makefile (rm -f Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; mkfifo Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; head -c 1048576 < Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe >> ../files/Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.sim & ./Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches