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.0008535/0.0008535, allocations: 91.53 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 179.8 kB / 16.92 MB, free: 6.652 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.486/1.486, allocations: 223.3 MB / 241 MB, free: 5.305 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.822/2.822, allocations: 437.8 MB / 0.7128 GB, free: 6.875 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004254/0.0004255, allocations: 11.98 kB / 0.8735 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7767/0.7771, allocations: 153.8 MB / 1.024 GB, free: 44 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.002379/0.7795, allocations: 1.769 MB / 1.025 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001278/0.7809, allocations: 0.7014 MB / 1.026 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001841/0.7811, allocations: 11.94 kB / 1.026 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001292/0.7812, allocations: 15.8 kB / 1.026 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001539/0.7814, allocations: 35.72 kB / 1.026 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004473/0.7818, allocations: 147.8 kB / 1.026 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005532/0.7824, allocations: 363.1 kB / 1.027 GB, free: 13 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003816/0.7828, allocations: 204.3 kB / 1.027 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001802/0.783, allocations: 95.56 kB / 1.027 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002201/0.7832, allocations: 123.3 kB / 1.027 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.449e-05/0.7833, allocations: 12 kB / 1.027 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.874e-05/0.7833, allocations: 20 kB / 1.027 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.236e-05/0.7834, allocations: 47.81 kB / 1.027 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000143/0.7836, allocations: 145 kB / 1.027 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003032/0.7839, allocations: 301.3 kB / 1.028 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.7839, allocations: 0 / 1.028 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.372e-06/0.7839, allocations: 0 / 1.028 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.7839, allocations: 4 kB / 1.028 GB, free: 12.05 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.0007341/0.7846, allocations: 0.5183 MB / 1.028 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.7847, allocations: 8.031 kB / 1.028 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.762e-05/0.7848, allocations: 32.56 kB / 1.028 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002914/0.7851, allocations: 271.8 kB / 1.028 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.21e-05/0.7851, allocations: 24.94 kB / 1.028 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.886e-05/0.7852, allocations: 32.38 kB / 1.028 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005691/0.7857, allocations: 319.5 kB / 1.029 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.7857, allocations: 0 / 1.029 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.312e-05/0.7858, allocations: 15.98 kB / 1.029 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.7858, allocations: 4 kB / 1.029 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005019/0.7863, allocations: 246.1 kB / 1.029 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001447/0.7878, allocations: 0.9596 MB / 1.03 GB, free: 9.492 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005206/0.7883, allocations: 257.6 kB / 1.03 GB, free: 9.234 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002224/0.7885, allocations: 121.3 kB / 1.03 GB, free: 9.113 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.652e-05/0.7886, allocations: 4.234 kB / 1.03 GB, free: 9.109 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003341/0.7889, allocations: 163.5 kB / 1.03 GB, free: 8.938 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=30): time 1.934e-06/0.7889, allocations: 3.938 kB / 1.03 GB, free: 8.934 MB / 0.7794 GB Notification: Performance of matching and sorting (n=30): time 0.0007415/0.7897, allocations: 343.5 kB / 1.031 GB, free: 8.594 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.745e-05/0.7897, allocations: 59.41 kB / 1.031 GB, free: 8.523 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001803/0.7899, allocations: 200.3 kB / 1.031 GB, free: 8.32 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.712e-05/0.79, allocations: 41.7 kB / 1.031 GB, free: 8.273 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.7901, allocations: 152.7 kB / 1.031 GB, free: 8.121 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.472e-05/0.7902, allocations: 82.89 kB / 1.031 GB, free: 8.039 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.808e-05/0.7902, allocations: 49.69 kB / 1.031 GB, free: 7.984 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.7904, allocations: 338.8 kB / 1.032 GB, free: 7.645 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002132/0.7906, allocations: 99.95 kB / 1.032 GB, free: 7.547 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002475/0.7908, allocations: 153 kB / 1.032 GB, free: 7.379 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004164/0.7913, allocations: 228.4 kB / 1.032 GB, free: 7.137 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.7913, allocations: 3.938 kB / 1.032 GB, free: 7.133 MB / 0.7794 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005614/0.7919, allocations: 313 kB / 1.032 GB, free: 6.82 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.806e-05/0.7919, allocations: 4 kB / 1.032 GB, free: 6.816 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.7919, allocations: 4 kB / 1.032 GB, free: 6.812 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.7919, allocations: 4 kB / 1.032 GB, free: 6.809 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002046/0.7921, allocations: 48.06 kB / 1.032 GB, free: 6.762 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.385e-06/0.7922, allocations: 0 / 1.032 GB, free: 6.762 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002311/0.7924, allocations: 55.66 kB / 1.033 GB, free: 6.707 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.861e-05/0.7924, allocations: 19.98 kB / 1.033 GB, free: 6.688 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,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.0002069/0.7927, allocations: 178.2 kB / 1.033 GB, free: 6.504 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.325e-05/0.7927, allocations: 15.81 kB / 1.033 GB, free: 6.488 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005904/0.7933, allocations: 284.2 kB / 1.033 GB, free: 6.203 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/0.7933, allocations: 7.984 kB / 1.033 GB, free: 6.195 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.7933, allocations: 4 kB / 1.033 GB, free: 6.191 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.461e-06/0.7933, allocations: 0 / 1.033 GB, free: 6.191 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001132/0.7945, allocations: 0.7365 MB / 1.034 GB, free: 5.398 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.7945, allocations: 4 kB / 1.034 GB, free: 5.395 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001498/0.7946, allocations: 39.91 kB / 1.034 GB, free: 5.355 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.7947, allocations: 0 / 1.034 GB, free: 5.355 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.192e-05/0.7947, allocations: 8 kB / 1.034 GB, free: 5.348 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.7947, allocations: 4 kB / 1.034 GB, free: 5.344 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.7947, allocations: 3.938 kB / 1.034 GB, free: 5.34 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005392/0.7952, allocations: 359.8 kB / 1.034 GB, free: 4.973 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.407e-05/0.7953, allocations: 100.8 kB / 1.034 GB, free: 4.855 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.658e-05/0.7954, allocations: 7.938 kB / 1.034 GB, free: 4.848 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002137/0.7956, allocations: 39.97 kB / 1.034 GB, free: 4.809 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/0.7957, allocations: 43.83 kB / 1.034 GB, free: 4.766 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.301e-05/0.7957, allocations: 11.98 kB / 1.034 GB, free: 4.754 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001197/0.7958, allocations: 135.4 kB / 1.034 GB, free: 4.621 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.01e-07/0.7959, allocations: 0 / 1.034 GB, free: 4.621 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003382/0.7962, allocations: 67.77 kB / 1.035 GB, free: 4.555 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 (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.000182/0.7964, allocations: 117.1 kB / 1.035 GB, free: 4.43 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005232/0.7969, allocations: 263.8 kB / 1.035 GB, free: 4.172 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.7969, allocations: 0 / 1.035 GB, free: 4.172 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002457/0.7972, allocations: 132.1 kB / 1.035 GB, free: 4.043 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003636/0.7976, allocations: 38.31 kB / 1.035 GB, free: 4.008 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009215/0.7985, allocations: 0.5909 MB / 1.036 GB, free: 3.383 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003663/0.7989, allocations: 0.7605 MB / 1.036 GB, free: 2.594 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.864e-05/0.799, allocations: 27.42 kB / 1.036 GB, free: 2.566 MB / 0.7794 GB Notification: Performance of SimCode: time 3.01e-07/0.799, allocations: 0 / 1.036 GB, free: 2.566 MB / 0.7794 GB Notification: Performance of Templates: time 0.006187/0.8052, allocations: 3.337 MB / 1.04 GB, free: 15.24 MB / 0.795 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/jenkins1/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