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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.002031/0.002032, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002191/0.002191, allocations: 198.6 kB / 16.26 MB, free: 6.629 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.545/1.545, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.787/2.787, allocations: 437 MB / 0.7101 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001987/0.001988, allocations: 75.86 kB / 0.8688 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6895/0.6915, allocations: 151.6 MB / 1.017 GB, free: 2.887 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.003781/0.6954, allocations: 2.141 MB / 1.019 GB, free: 0.7344 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001382/0.6968, allocations: 0.7092 MB / 1.02 GB, free: 20 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001424/0.6969, allocations: 7.938 kB / 1.02 GB, free: 12 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001728/0.6971, allocations: 19.84 kB / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001074/0.6973, allocations: 35.72 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004825/0.6978, allocations: 135.8 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000463/0.6982, allocations: 399.1 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005295/0.6988, allocations: 243.8 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002428/0.699, allocations: 135.5 kB / 1.021 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002192/0.6993, allocations: 151.3 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.412e-05/0.6993, allocations: 36 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001061/0.6994, allocations: 47.98 kB / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.871e-05/0.6995, allocations: 79.81 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001775/0.6997, allocations: 151.2 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004644/0.7002, allocations: 404.9 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.7002, allocations: 4 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.613e-06/0.7002, allocations: 0 / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.663e-06/0.7002, allocations: 4 kB / 1.021 GB, free: 14.2 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.0009612/0.7012, allocations: 0.565 MB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.7012, allocations: 8.031 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.972e-05/0.7013, allocations: 32.56 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003419/0.7017, allocations: 275.7 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.262e-05/0.7017, allocations: 20.94 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.295e-05/0.7018, allocations: 36.36 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006266/0.7024, allocations: 323.9 kB / 1.023 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.7024, allocations: 3.938 kB / 1.023 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.588e-05/0.7025, allocations: 12 kB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.739e-06/0.7025, allocations: 4 kB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005075/0.703, allocations: 234.1 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001573/0.7046, allocations: 0.9402 MB / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005408/0.7051, allocations: 239.6 kB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002354/0.7054, allocations: 125.2 kB / 1.024 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.094e-05/0.7054, allocations: 4.234 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003946/0.7058, allocations: 151.5 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=30): time 2.084e-06/0.7058, allocations: 3.938 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of matching and sorting (n=30): time 0.0007654/0.7066, allocations: 331.5 kB / 1.025 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.526e-05/0.7067, allocations: 63.41 kB / 1.025 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002119/0.7069, allocations: 203.3 kB / 1.025 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.787e-05/0.707, allocations: 45.69 kB / 1.025 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001345/0.7071, allocations: 156.5 kB / 1.025 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.69e-05/0.7072, allocations: 75.02 kB / 1.025 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001358/0.7073, allocations: 81.67 kB / 1.025 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001632/0.7075, allocations: 330.8 kB / 1.025 GB, free: 9.762 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000258/0.7078, allocations: 95.95 kB / 1.026 GB, free: 9.668 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002524/0.708, allocations: 153 kB / 1.026 GB, free: 9.5 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004034/0.7084, allocations: 220.5 kB / 1.026 GB, free: 9.266 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.7084, allocations: 4 kB / 1.026 GB, free: 9.262 MB / 0.7794 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005807/0.709, allocations: 304.9 kB / 1.026 GB, free: 8.957 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.7091, allocations: 8.156 kB / 1.026 GB, free: 8.949 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.7091, allocations: 0 / 1.026 GB, free: 8.949 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.7091, allocations: 4 kB / 1.026 GB, free: 8.945 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002075/0.7093, allocations: 39.91 kB / 1.026 GB, free: 8.906 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.347e-06/0.7093, allocations: 4 kB / 1.026 GB, free: 8.902 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002124/0.7095, allocations: 47.66 kB / 1.026 GB, free: 8.855 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.791e-05/0.7096, allocations: 11.98 kB / 1.026 GB, free: 8.844 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.0002193/0.7098, allocations: 181.6 kB / 1.026 GB, free: 8.656 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.911e-05/0.7099, allocations: 23.72 kB / 1.027 GB, free: 8.633 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005987/0.7105, allocations: 284.7 kB / 1.027 GB, free: 8.348 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.715e-06/0.7105, allocations: 4 kB / 1.027 GB, free: 8.344 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.7105, allocations: 0 / 1.027 GB, free: 8.344 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.7105, allocations: 0 / 1.027 GB, free: 8.344 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001182/0.7117, allocations: 0.721 MB / 1.027 GB, free: 7.566 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.7117, allocations: 3.984 kB / 1.027 GB, free: 7.562 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001523/0.7119, allocations: 27.92 kB / 1.028 GB, free: 7.535 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.723e-06/0.7119, allocations: 4 kB / 1.028 GB, free: 7.531 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.141e-05/0.7119, allocations: 4 kB / 1.028 GB, free: 7.527 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-06/0.7119, allocations: 4 kB / 1.028 GB, free: 7.523 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.7119, allocations: 3.938 kB / 1.028 GB, free: 7.52 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005395/0.7125, allocations: 363.6 kB / 1.028 GB, free: 7.148 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.093e-05/0.7126, allocations: 96.8 kB / 1.028 GB, free: 7.035 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.882e-05/0.7126, allocations: 11.94 kB / 1.028 GB, free: 7.023 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002045/0.7128, allocations: 23.97 kB / 1.028 GB, free: 7 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/0.7129, allocations: 43.83 kB / 1.028 GB, free: 6.957 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.573e-05/0.713, allocations: 19.98 kB / 1.028 GB, free: 6.938 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001219/0.7131, allocations: 127.2 kB / 1.028 GB, free: 6.812 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.1e-07/0.7131, allocations: 0 / 1.028 GB, free: 6.812 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000349/0.7135, allocations: 71.75 kB / 1.028 GB, free: 6.742 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.0001825/0.7136, allocations: 115 kB / 1.028 GB, free: 6.625 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0006302/0.7143, allocations: 267.9 kB / 1.029 GB, free: 6.363 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.7143, allocations: 0 / 1.029 GB, free: 6.363 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000252/0.7146, allocations: 131.8 kB / 1.029 GB, free: 6.234 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003681/0.7149, allocations: 28.73 kB / 1.029 GB, free: 6.207 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.716, allocations: 0.5534 MB / 1.029 GB, free: 5.633 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004479/0.7164, allocations: 0.7603 MB / 1.03 GB, free: 4.844 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001247/0.7165, allocations: 30.28 kB / 1.03 GB, free: 4.816 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.873e-05/0.7167, allocations: 31.42 kB / 1.03 GB, free: 4.789 MB / 0.7794 GB Notification: Performance of SimCode: time 2.8e-07/0.7167, allocations: 0 / 1.03 GB, free: 4.789 MB / 0.7794 GB Notification: Performance of Templates: time 0.007682/0.7243, allocations: 2.837 MB / 1.033 GB, free: 1.977 MB / 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=400 -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