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.001585/0.001585, allocations: 106.7 kB / 16.41 MB, free: 6.453 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.001753/0.001753, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.739/1.739, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.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.219/2.219, allocations: 390.2 MB / 0.6655 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 55.91 kB / 0.9515 GB, free: 7.672 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.048/1.049, allocations: 140.4 MB / 1.089 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.003194/1.052, allocations: 2.036 MB / 1.091 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001214/1.054, allocations: 0.703 MB / 1.091 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001517/1.054, allocations: 8.562 kB / 1.091 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000152/1.054, allocations: 30.84 kB / 1.091 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001112/1.054, allocations: 41.59 kB / 1.091 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004523/1.055, allocations: 158.7 kB / 1.092 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004359/1.055, allocations: 395.5 kB / 1.092 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003926/1.055, allocations: 248 kB / 1.092 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000198/1.056, allocations: 130 kB / 1.092 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002033/1.056, allocations: 154.5 kB / 1.092 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.493e-05/1.056, allocations: 38.03 kB / 1.092 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001232/1.056, allocations: 51.19 kB / 1.092 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.476e-05/1.056, allocations: 85.62 kB / 1.093 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001409/1.056, allocations: 147.2 kB / 1.093 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005314/1.057, allocations: 418.5 kB / 1.093 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.164e-06/1.057, allocations: 1.328 kB / 1.093 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.126e-06/1.057, allocations: 0 / 1.093 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.321e-05/1.057, allocations: 0.7188 kB / 1.093 GB, free: 2.652 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.0009658/1.058, allocations: 0.571 MB / 1.094 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/1.058, allocations: 13.97 kB / 1.094 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.531e-05/1.058, allocations: 33.8 kB / 1.094 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000355/1.058, allocations: 273.9 kB / 1.094 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.864e-05/1.058, allocations: 26.16 kB / 1.094 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.743e-05/1.058, allocations: 29.45 kB / 1.094 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006318/1.059, allocations: 322.6 kB / 1.094 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/1.059, allocations: 0.5625 kB / 1.094 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.333e-05/1.059, allocations: 15.22 kB / 1.094 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.318e-05/1.059, allocations: 6.656 kB / 1.094 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005459/1.06, allocations: 234.8 kB / 1.095 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001525/1.061, allocations: 0.9238 MB / 1.095 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005884/1.062, allocations: 242.2 kB / 1.096 GB, free: 0.8828 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002909/1.062, allocations: 125 kB / 1.096 GB, free: 0.8281 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.694e-05/1.062, allocations: 2.641 kB / 1.096 GB, free: 0.8281 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003545/1.063, allocations: 170.8 kB / 1.096 GB, free: 0.7305 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=30): time 1.663e-06/1.063, allocations: 0 / 1.096 GB, free: 0.7305 MB / 0.8575 GB Notification: Performance of matching and sorting (n=30): time 0.000785/1.063, allocations: 320.8 kB / 1.096 GB, free: 0.6055 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.633e-05/1.063, allocations: 56.14 kB / 1.096 GB, free: 0.543 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002035/1.064, allocations: 204.8 kB / 1.097 GB, free: 412 kB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.677e-05/1.064, allocations: 39.56 kB / 1.097 GB, free: 372 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.634e-05/1.064, allocations: 161.4 kB / 1.097 GB, free: 228 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.127e-05/1.064, allocations: 76.64 kB / 1.097 GB, free: 168 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001308/1.064, allocations: 79.58 kB / 1.097 GB, free: 124 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001514/1.064, allocations: 336.1 kB / 1.097 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002262/1.064, allocations: 94.06 kB / 1.097 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002608/1.065, allocations: 157.6 kB / 1.097 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004352/1.065, allocations: 217.3 kB / 1.098 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/1.065, allocations: 0.75 kB / 1.098 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005901/1.066, allocations: 307.8 kB / 1.098 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/1.066, allocations: 6.922 kB / 1.098 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/1.066, allocations: 1.125 kB / 1.098 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/1.066, allocations: 11.28 kB / 1.098 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002319/1.066, allocations: 46.12 kB / 1.098 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.299e-05/1.066, allocations: 3.297 kB / 1.098 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002238/1.066, allocations: 49.64 kB / 1.098 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.481e-05/1.066, allocations: 15.52 kB / 1.098 GB, free: 15.36 MB / 0.8731 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.0001973/1.066, allocations: 174.9 kB / 1.098 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.849e-05/1.067, allocations: 22.41 kB / 1.098 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005997/1.067, allocations: 277.5 kB / 1.099 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/1.067, allocations: 4.734 kB / 1.099 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/1.067, allocations: 0 / 1.099 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/1.067, allocations: 2.422 kB / 1.099 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001169/1.068, allocations: 0.7254 MB / 1.099 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/1.068, allocations: 0.6562 kB / 1.099 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001536/1.068, allocations: 34.2 kB / 1.099 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/1.069, allocations: 0.9062 kB / 1.099 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.204e-05/1.069, allocations: 7.312 kB / 1.099 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/1.069, allocations: 1.703 kB / 1.099 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/1.069, allocations: 1.156 kB / 1.099 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005595/1.069, allocations: 357.3 kB / 1.1 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 6.578e-05/1.069, allocations: 101.7 kB / 1.1 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.809e-05/1.069, allocations: 6.484 kB / 1.1 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002058/1.069, allocations: 25.53 kB / 1.1 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001335/1.07, allocations: 38.92 kB / 1.1 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.816e-05/1.07, allocations: 11.47 kB / 1.1 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001329/1.07, allocations: 134.8 kB / 1.1 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.41e-07/1.07, allocations: 7.938 kB / 1.1 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003505/1.07, allocations: 63.67 kB / 1.1 GB, free: 14.11 MB / 0.8731 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.000199/1.07, allocations: 128.4 kB / 1.1 GB, free: 14 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.000591/1.071, allocations: 255.8 kB / 1.1 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/1.071, allocations: 1.438 kB / 1.1 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002641/1.071, allocations: 126.5 kB / 1.1 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003699/1.072, allocations: 34.27 kB / 1.101 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009539/1.073, allocations: 492.9 kB / 1.101 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003585/1.073, allocations: 0.7613 MB / 1.102 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001039/1.073, allocations: 28.16 kB / 1.102 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of SimCode: time 2.11e-07/1.073, allocations: 0 / 1.102 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of Templates: time 0.007319/1.08, allocations: 3.415 MB / 1.105 GB, free: 12.45 MB / 0.8731 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/jenkins1/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