Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001708/0.001708, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002193/0.002193, allocations: 189.7 kB / 16.25 MB, free: 6.633 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.527/1.527, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3/3, allocations: 472.7 MB / 0.7449 GB, free: 4.852 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001262, allocations: 66.38 kB / 0.9116 GB, free: 33.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3888/0.3901, allocations: 159.9 MB / 1.068 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.003613/0.3938, allocations: 2.124 MB / 1.07 GB, free: 8.613 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001237/0.395, allocations: 0.7169 MB / 1.071 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001214/0.3952, allocations: 4 kB / 1.071 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001522/0.3953, allocations: 31.73 kB / 1.071 GB, free: 7.855 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001001/0.3954, allocations: 31.77 kB / 1.071 GB, free: 7.824 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004017/0.3959, allocations: 135.8 kB / 1.071 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003943/0.3963, allocations: 391.2 kB / 1.071 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003515/0.3966, allocations: 249.2 kB / 1.071 GB, free: 7.062 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001642/0.3968, allocations: 139.5 kB / 1.071 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001632/0.397, allocations: 139.4 kB / 1.072 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.707e-05/0.397, allocations: 40 kB / 1.072 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.53e-05/0.3971, allocations: 47.98 kB / 1.072 GB, free: 6.703 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.059e-05/0.3972, allocations: 83.7 kB / 1.072 GB, free: 6.621 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001328/0.3973, allocations: 147.3 kB / 1.072 GB, free: 6.477 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003868/0.3977, allocations: 415 kB / 1.072 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.3977, allocations: 8 kB / 1.072 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3977, allocations: 0 / 1.072 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.087e-05/0.3978, allocations: 0 / 1.072 GB, free: 6.062 MB / 0.8262 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.0007957/0.3986, allocations: 0.5631 MB / 1.073 GB, free: 5.457 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.3986, allocations: 8.031 kB / 1.073 GB, free: 5.449 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.975e-05/0.3987, allocations: 32.56 kB / 1.073 GB, free: 5.418 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002935/0.399, allocations: 275.7 kB / 1.073 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.752e-05/0.399, allocations: 28.94 kB / 1.073 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.508e-05/0.3991, allocations: 28.38 kB / 1.073 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005418/0.3996, allocations: 320 kB / 1.074 GB, free: 4.73 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.3996, allocations: 0 / 1.074 GB, free: 4.73 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.08e-05/0.3997, allocations: 12 kB / 1.074 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.3997, allocations: 4 kB / 1.074 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004689/0.4002, allocations: 238.1 kB / 1.074 GB, free: 4.484 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001466/0.4016, allocations: 0.9402 MB / 1.075 GB, free: 3.484 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004947/0.4021, allocations: 247.6 kB / 1.075 GB, free: 3.234 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002194/0.4024, allocations: 129.1 kB / 1.075 GB, free: 3.105 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.879e-05/0.4024, allocations: 4.234 kB / 1.075 GB, free: 3.102 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003711/0.4028, allocations: 157 kB / 1.075 GB, free: 2.938 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=30): time 2.364e-06/0.4028, allocations: 0 / 1.075 GB, free: 2.938 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30): time 0.0007154/0.4035, allocations: 333.8 kB / 1.076 GB, free: 2.605 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.029e-05/0.4036, allocations: 55.41 kB / 1.076 GB, free: 2.539 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002048/0.4038, allocations: 198.2 kB / 1.076 GB, free: 2.336 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.51e-05/0.4038, allocations: 45.69 kB / 1.076 GB, free: 2.285 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001476/0.404, allocations: 152.6 kB / 1.076 GB, free: 2.129 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.95e-05/0.4041, allocations: 78.94 kB / 1.076 GB, free: 2.051 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001302/0.4042, allocations: 89.52 kB / 1.076 GB, free: 1.957 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.4044, allocations: 334.8 kB / 1.076 GB, free: 1.621 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001984/0.4046, allocations: 95.91 kB / 1.077 GB, free: 1.527 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002314/0.4048, allocations: 149 kB / 1.077 GB, free: 1.363 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003639/0.4052, allocations: 222.4 kB / 1.077 GB, free: 1.129 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.4052, allocations: 0 / 1.077 GB, free: 1.129 MB / 0.8262 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005323/0.4057, allocations: 309 kB / 1.077 GB, free: 0.8203 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.4058, allocations: 4 kB / 1.077 GB, free: 0.8164 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.4058, allocations: 0 / 1.077 GB, free: 0.8164 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.4058, allocations: 4 kB / 1.077 GB, free: 0.8125 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001962/0.406, allocations: 39.91 kB / 1.077 GB, free: 0.7734 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.406, allocations: 4 kB / 1.077 GB, free: 0.7695 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001945/0.4062, allocations: 43.72 kB / 1.077 GB, free: 0.7266 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.719e-05/0.4063, allocations: 15.98 kB / 1.077 GB, free: 0.7109 MB / 0.8262 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.condition,heaCon.offToOn.t_start,$PRE.heaCon.offToOn.t_start,heaCon.offToOn.fire,heaCon.offToOn.enableFire,heaCon.offToOn.condition,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.0001845/0.4064, allocations: 177.7 kB / 1.077 GB, free: 0.5312 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.415e-05/0.4065, allocations: 19.81 kB / 1.077 GB, free: 0.5117 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005358/0.407, allocations: 276.7 kB / 1.078 GB, free: 240 kB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.407, allocations: 4 kB / 1.078 GB, free: 236 kB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.196e-06/0.4071, allocations: 3.984 kB / 1.078 GB, free: 232 kB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.451e-06/0.4071, allocations: 4 kB / 1.078 GB, free: 228 kB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001139/0.4082, allocations: 0.729 MB / 1.078 GB, free: 15.44 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.4082, allocations: 0 / 1.078 GB, free: 15.44 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001458/0.4084, allocations: 31.91 kB / 1.078 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.846e-06/0.4084, allocations: 8 kB / 1.078 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.411e-05/0.4084, allocations: 7.938 kB / 1.078 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.931e-06/0.4084, allocations: 8 kB / 1.078 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.4084, allocations: 0 / 1.078 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005599/0.409, allocations: 355.2 kB / 1.079 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001027/0.4091, allocations: 96.77 kB / 1.079 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.134e-05/0.4092, allocations: 8 kB / 1.079 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001976/0.4094, allocations: 27.97 kB / 1.079 GB, free: 14.87 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000138/0.4095, allocations: 39.89 kB / 1.079 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.592e-05/0.4096, allocations: 15.98 kB / 1.079 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001481/0.4097, allocations: 133.5 kB / 1.079 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4097, allocations: 0 / 1.079 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000355/0.4101, allocations: 63.84 kB / 1.079 GB, free: 14.62 MB / 0.8419 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.localActive,heaCon.off.localActive,$cse1,$cse2,$whenCondition2,$whenCondition1,heaCon.off.newActive,heaCon.off.oldActive,heaCon.off.active,heaCon.on.newActive,heaCon.on.oldActive,heaCon.on.active,heaCon.offToOn.condition,heaCon.offToOn.fire,heaCon.offToOn.t_start,heaCon.onToOff.condition,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.0002851/0.4104, allocations: 121 kB / 1.079 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0006246/0.411, allocations: 272.2 kB / 1.08 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.411, allocations: 0 / 1.08 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002352/0.4113, allocations: 127.9 kB / 1.08 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000378/0.4116, allocations: 35.86 kB / 1.08 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001015/0.4127, allocations: 0.5613 MB / 1.08 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004564/0.4131, allocations: 0.7603 MB / 1.081 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001212/0.4133, allocations: 30.28 kB / 1.081 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.476e-05/0.4134, allocations: 27.42 kB / 1.081 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of SimCode: time 2.6e-07/0.4134, allocations: 4 kB / 1.081 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of Templates: time 0.007034/0.4204, allocations: 2.826 MB / 1.084 GB, free: 9.832 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.makefile (rm -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; mkfifo Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; head -c 1048576 < Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe >> ../files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.sim & ./Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches