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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001751/0.001751, allocations: 118.7 kB / 17.13 MB, free: 5.758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002002/0.002002, allocations: 193.2 kB / 20.08 MB, free: 2.848 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.526/1.526, allocations: 225.6 MB / 248.5 MB, free: 3.609 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.653/2.653, allocations: 443.5 MB / 0.7293 GB, free: 14.54 MB / 0.5763 GB " [Timeout remaining time 176] 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=2500,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=2500,variableFilter="time|heaCon.yVal|heaCon.yValSwi|heaCon.dT|heaCon.y",fileNamePrefix="Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 63.91 kB / 1.057 GB, free: 2 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.381/0.3829, allocations: 160.7 MB / 1.214 GB, free: 0.9766 MB / 0.9513 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.003891/0.3868, allocations: 2.051 MB / 1.216 GB, free: 14.9 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001519/0.3883, allocations: 0.7131 MB / 1.217 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002116/0.3885, allocations: 7.938 kB / 1.217 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001927/0.3887, allocations: 39.55 kB / 1.217 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001662/0.3889, allocations: 43.58 kB / 1.217 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005763/0.3895, allocations: 155.8 kB / 1.217 GB, free: 13.94 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0005557/0.39, allocations: 399.2 kB / 1.217 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004142/0.3904, allocations: 207.7 kB / 1.218 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000232/0.3907, allocations: 131.6 kB / 1.218 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002476/0.3909, allocations: 151.3 kB / 1.218 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.488e-05/0.391, allocations: 40 kB / 1.218 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001123/0.3911, allocations: 47.98 kB / 1.218 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.262e-05/0.3912, allocations: 83.75 kB / 1.218 GB, free: 12.9 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001711/0.3914, allocations: 151.3 kB / 1.218 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000529/0.3919, allocations: 426.3 kB / 1.219 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.3919, allocations: 0 / 1.219 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.654e-06/0.3919, allocations: 0 / 1.219 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.137e-05/0.3919, allocations: 0 / 1.219 GB, free: 12.34 MB / 0.9669 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.001073/0.393, allocations: 0.5765 MB / 1.219 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.393, allocations: 16.03 kB / 1.219 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.705e-05/0.3931, allocations: 36.73 kB / 1.219 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004254/0.3936, allocations: 265 kB / 1.219 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.73e-05/0.3936, allocations: 28.88 kB / 1.219 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.822e-05/0.3936, allocations: 32.38 kB / 1.219 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006271/0.3943, allocations: 316 kB / 1.22 GB, free: 10.99 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/0.3943, allocations: 3.984 kB / 1.22 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.293e-05/0.3943, allocations: 15.98 kB / 1.22 GB, free: 10.97 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.3943, allocations: 12 kB / 1.22 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005189/0.3948, allocations: 234.1 kB / 1.22 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001593/0.3964, allocations: 0.9365 MB / 1.221 GB, free: 9.727 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005521/0.397, allocations: 215.6 kB / 1.221 GB, free: 9.508 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002254/0.3972, allocations: 109.2 kB / 1.221 GB, free: 9.398 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.389e-05/0.3972, allocations: 12.17 kB / 1.221 GB, free: 9.387 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003196/0.3976, allocations: 160 kB / 1.221 GB, free: 9.219 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=30): time 1.573e-06/0.3976, allocations: 0 / 1.221 GB, free: 9.219 MB / 0.9669 GB Notification: Performance of matching and sorting (n=30): time 0.0007595/0.3983, allocations: 329.4 kB / 1.222 GB, free: 8.891 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.834e-05/0.3984, allocations: 55.41 kB / 1.222 GB, free: 8.824 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002191/0.3986, allocations: 207.1 kB / 1.222 GB, free: 8.613 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.502e-05/0.3987, allocations: 41.7 kB / 1.222 GB, free: 8.566 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001236/0.3988, allocations: 156.8 kB / 1.222 GB, free: 8.41 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 8.765e-05/0.3989, allocations: 87.3 kB / 1.222 GB, free: 8.324 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001376/0.399, allocations: 77.69 kB / 1.222 GB, free: 8.242 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001606/0.3992, allocations: 334.8 kB / 1.223 GB, free: 7.906 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002211/0.3994, allocations: 91.91 kB / 1.223 GB, free: 7.816 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002669/0.3996, allocations: 157 kB / 1.223 GB, free: 7.645 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004173/0.4001, allocations: 208.8 kB / 1.223 GB, free: 7.422 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.4001, allocations: 0 / 1.223 GB, free: 7.422 MB / 0.9669 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005996/0.4007, allocations: 316.7 kB / 1.223 GB, free: 7.105 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.4007, allocations: 5.875 kB / 1.223 GB, free: 7.102 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.4007, allocations: 3.938 kB / 1.223 GB, free: 7.098 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.4007, allocations: 8.156 kB / 1.223 GB, free: 7.09 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002165/0.4009, allocations: 43.91 kB / 1.223 GB, free: 7.047 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.858e-06/0.4009, allocations: 7.938 kB / 1.223 GB, free: 7.039 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000226/0.4012, allocations: 43.75 kB / 1.223 GB, free: 6.996 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.478e-05/0.4012, allocations: 12 kB / 1.223 GB, free: 6.984 MB / 0.9669 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.0001883/0.4014, allocations: 173.7 kB / 1.224 GB, free: 6.805 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.616e-05/0.4014, allocations: 27.86 kB / 1.224 GB, free: 6.777 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005891/0.402, allocations: 272.2 kB / 1.224 GB, free: 6.508 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.402, allocations: 4 kB / 1.224 GB, free: 6.504 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/0.402, allocations: 0 / 1.224 GB, free: 6.504 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.134e-06/0.402, allocations: 3.984 kB / 1.224 GB, free: 6.5 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001115/0.4032, allocations: 0.7338 MB / 1.225 GB, free: 5.711 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.4032, allocations: 0 / 1.225 GB, free: 5.711 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001571/0.4033, allocations: 35.92 kB / 1.225 GB, free: 5.676 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.4033, allocations: 0 / 1.225 GB, free: 5.676 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.168e-05/0.4033, allocations: 7.984 kB / 1.225 GB, free: 5.668 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.4033, allocations: 0 / 1.225 GB, free: 5.668 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4033, allocations: 0 / 1.225 GB, free: 5.668 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005532/0.4039, allocations: 364.8 kB / 1.225 GB, free: 5.297 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.493e-05/0.404, allocations: 96.95 kB / 1.225 GB, free: 5.184 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.629e-05/0.404, allocations: 8 kB / 1.225 GB, free: 5.176 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002227/0.4042, allocations: 27.95 kB / 1.225 GB, free: 5.148 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/0.4043, allocations: 39.89 kB / 1.225 GB, free: 5.109 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.13e-05/0.4044, allocations: 8 kB / 1.225 GB, free: 5.102 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.000125/0.4045, allocations: 139.1 kB / 1.225 GB, free: 4.965 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.4045, allocations: 0 / 1.225 GB, free: 4.965 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003618/0.4048, allocations: 67.84 kB / 1.225 GB, free: 4.898 MB / 0.9669 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.0001935/0.405, allocations: 125.4 kB / 1.226 GB, free: 4.766 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0005485/0.4056, allocations: 235.8 kB / 1.226 GB, free: 4.535 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.4056, allocations: 0 / 1.226 GB, free: 4.535 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002528/0.4058, allocations: 112.2 kB / 1.226 GB, free: 4.426 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003626/0.4062, allocations: 35.92 kB / 1.226 GB, free: 4.391 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009541/0.4072, allocations: 0.4928 MB / 1.226 GB, free: 3.859 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000426/0.4076, allocations: 0.7602 MB / 1.227 GB, free: 3.07 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001123/0.4077, allocations: 31.42 kB / 1.227 GB, free: 3.039 MB / 0.9669 GB Notification: Performance of SimCode: time 4.41e-07/0.4077, allocations: 4 kB / 1.227 GB, free: 3.035 MB / 0.9669 GB Notification: Performance of Templates: time 0.00677/0.4145, allocations: 3.413 MB / 1.231 GB, free: 15.63 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.makefile [Timeout 300] (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) [Timeout 400] 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_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.297067299019545]