Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001025/0.001025, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001306/0.001306, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.6/2.6, allocations: 437.7 MB / 0.7117 GB, free: 7.121 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003205/0.0003206, allocations: 8 kB / 0.8722 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5974/0.5977, allocations: 153.8 MB / 1.022 GB, free: 24 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.002072/0.5999, allocations: 1.715 MB / 1.024 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001124/0.601, allocations: 0.6822 MB / 1.025 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001243/0.6011, allocations: 8 kB / 1.025 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001074/0.6013, allocations: 31.72 kB / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.412e-05/0.6014, allocations: 27.72 kB / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003361/0.6017, allocations: 95.89 kB / 1.025 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003493/0.6021, allocations: 351.2 kB / 1.025 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002796/0.6024, allocations: 186.8 kB / 1.025 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001355/0.6025, allocations: 103.6 kB / 1.026 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001391/0.6026, allocations: 111.4 kB / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.108e-05/0.6027, allocations: 12 kB / 1.026 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 6.809e-05/0.6028, allocations: 27.98 kB / 1.026 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.994e-05/0.6028, allocations: 51.77 kB / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.918e-05/0.6029, allocations: 69.58 kB / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002636/0.6032, allocations: 297.3 kB / 1.026 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.6032, allocations: 0 / 1.026 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.192e-06/0.6032, allocations: 0 / 1.026 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.99e-06/0.6032, allocations: 0 / 1.026 GB, free: 12.26 MB / 0.7794 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.0006896/0.6039, allocations: 0.5181 MB / 1.027 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.228e-05/0.6039, allocations: 8.562 kB / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.326e-05/0.604, allocations: 35.62 kB / 1.027 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002658/0.6043, allocations: 258.6 kB / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.334e-05/0.6043, allocations: 32.55 kB / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.508e-05/0.6044, allocations: 35.95 kB / 1.027 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005496/0.6049, allocations: 315.6 kB / 1.027 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.6049, allocations: 0 / 1.027 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.653e-05/0.605, allocations: 8 kB / 1.027 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.849e-06/0.605, allocations: 15.92 kB / 1.027 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004728/0.6055, allocations: 242.1 kB / 1.027 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001324/0.6068, allocations: 0.9519 MB / 1.028 GB, free: 9.699 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000489/0.6073, allocations: 251.6 kB / 1.029 GB, free: 9.445 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002166/0.6075, allocations: 121.3 kB / 1.029 GB, free: 9.324 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.398e-05/0.6076, allocations: 4.188 kB / 1.029 GB, free: 9.32 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003181/0.6079, allocations: 167.5 kB / 1.029 GB, free: 9.145 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=30): time 1.713e-06/0.6079, allocations: 0 / 1.029 GB, free: 9.145 MB / 0.7794 GB Notification: Performance of matching and sorting (n=30): time 0.0006607/0.6086, allocations: 331.6 kB / 1.029 GB, free: 8.816 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.11e-05/0.6086, allocations: 63.41 kB / 1.029 GB, free: 8.742 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001699/0.6088, allocations: 207 kB / 1.029 GB, free: 8.531 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.272e-05/0.6088, allocations: 37.7 kB / 1.03 GB, free: 8.488 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.65e-05/0.6089, allocations: 156.6 kB / 1.03 GB, free: 8.332 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.446e-05/0.609, allocations: 82.89 kB / 1.03 GB, free: 8.25 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.55e-05/0.609, allocations: 4 kB / 1.03 GB, free: 8.246 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.6091, allocations: 338.8 kB / 1.03 GB, free: 7.906 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001998/0.6094, allocations: 95.95 kB / 1.03 GB, free: 7.812 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002269/0.6096, allocations: 156.9 kB / 1.03 GB, free: 7.641 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002017/0.6098, allocations: 95.98 kB / 1.03 GB, free: 7.547 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.6098, allocations: 0 / 1.03 GB, free: 7.547 MB / 0.7794 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005416/0.6104, allocations: 313.4 kB / 1.031 GB, free: 7.234 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.6104, allocations: 12.03 kB / 1.031 GB, free: 7.223 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.6104, allocations: 0 / 1.031 GB, free: 7.223 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.6104, allocations: 4 kB / 1.031 GB, free: 7.219 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001996/0.6106, allocations: 39.91 kB / 1.031 GB, free: 7.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.956e-06/0.6106, allocations: 7.938 kB / 1.031 GB, free: 7.172 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002043/0.6108, allocations: 59.66 kB / 1.031 GB, free: 7.113 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.354e-05/0.6109, allocations: 15.98 kB / 1.031 GB, free: 7.098 MB / 0.7794 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,$whenCondition2,$whenCondition1,$PRE.heaCon.off.localActive,heaCon.off.localActive,$PRE.heaCon.off.newActive,heaCon.off.newActive,$PRE.heaCon.off.oldActive,heaCon.off.oldActive,heaCon.off.active,$PRE.heaCon.on.localActive,heaCon.on.localActive,$PRE.heaCon.on.newActive,heaCon.on.newActive,$PRE.heaCon.on.oldActive,heaCon.on.oldActive,heaCon.on.active,heaCon.offToOn.condition,heaCon.offToOn.enableFire,heaCon.offToOn.fire,$PRE.heaCon.offToOn.t_start,heaCon.offToOn.t_start,heaCon.onToOff.condition,heaCon.onToOff.enableFire,heaCon.onToOff.fire,$PRE.heaCon.onToOff.t_start,heaCon.onToOff.t_start,heaCon.stateGraphRoot.activeSteps,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001568/0.611, allocations: 173.7 kB / 1.031 GB, free: 6.918 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.058e-05/0.6111, allocations: 19.77 kB / 1.031 GB, free: 6.898 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000552/0.6116, allocations: 288.2 kB / 1.031 GB, free: 6.609 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.6117, allocations: 0 / 1.031 GB, free: 6.609 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.6117, allocations: 4 kB / 1.031 GB, free: 6.605 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.6117, allocations: 3.984 kB / 1.031 GB, free: 6.602 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009967/0.6127, allocations: 0.7404 MB / 1.032 GB, free: 5.805 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.6127, allocations: 0 / 1.032 GB, free: 5.805 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001495/0.6128, allocations: 35.91 kB / 1.032 GB, free: 5.77 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.6129, allocations: 0 / 1.032 GB, free: 5.77 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.942e-05/0.6129, allocations: 8 kB / 1.032 GB, free: 5.762 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.6129, allocations: 0 / 1.032 GB, free: 5.762 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.6129, allocations: 7.984 kB / 1.032 GB, free: 5.754 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004737/0.6134, allocations: 367.7 kB / 1.032 GB, free: 5.379 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.05e-05/0.6134, allocations: 100.7 kB / 1.033 GB, free: 5.262 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.58e-05/0.6135, allocations: 8 kB / 1.033 GB, free: 5.254 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002122/0.6137, allocations: 35.97 kB / 1.033 GB, free: 5.219 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.186e-05/0.6138, allocations: 39.94 kB / 1.033 GB, free: 5.18 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.93e-05/0.6138, allocations: 8 kB / 1.033 GB, free: 5.172 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.597e-05/0.6139, allocations: 131.2 kB / 1.033 GB, free: 5.043 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6139, allocations: 0 / 1.033 GB, free: 5.043 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003304/0.6143, allocations: 71.78 kB / 1.033 GB, free: 4.973 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001633/0.6144, allocations: 121 kB / 1.033 GB, free: 4.844 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005003/0.615, allocations: 256.1 kB / 1.033 GB, free: 4.594 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.615, allocations: 4.062 kB / 1.033 GB, free: 4.59 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002418/0.6152, allocations: 123.9 kB / 1.033 GB, free: 4.469 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003537/0.6156, allocations: 41.81 kB / 1.033 GB, free: 4.43 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008281/0.6164, allocations: 0.5383 MB / 1.034 GB, free: 3.863 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003111/0.6167, allocations: 0.7644 MB / 1.035 GB, free: 3.07 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001203/0.6169, allocations: 30.3 kB / 1.035 GB, free: 3.043 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.179e-05/0.617, allocations: 27.42 kB / 1.035 GB, free: 3.02 MB / 0.7794 GB Notification: Performance of SimCode: time 2.81e-07/0.617, allocations: 0 / 1.035 GB, free: 3.02 MB / 0.7794 GB Notification: Performance of Templates: time 0.005836/0.6228, allocations: 2.564 MB / 1.037 GB, free: 492 kB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.makefile (rm -f Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; mkfifo Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; head -c 1048576 < Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe >> ../files/Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.sim & ./Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches