Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001656/0.001656, allocations: 104.4 kB / 19.7 MB, free: 2.137 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001893/0.001893, allocations: 217.4 kB / 22.99 MB, free: 4.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.523/1.523, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.779/2.779, allocations: 476 MB / 0.7707 GB, free: 4.738 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_11_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_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002126/0.002126, allocations: 67.97 kB / 1.118 GB, free: 41.13 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4109/0.413, allocations: 170 MB / 1.284 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.003725/0.4167, allocations: 2.007 MB / 1.286 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001552/0.4183, allocations: 0.752 MB / 1.286 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001361/0.4184, allocations: 7.938 kB / 1.286 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001631/0.4186, allocations: 39.55 kB / 1.287 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001171/0.4187, allocations: 43.53 kB / 1.287 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005451/0.4192, allocations: 179.7 kB / 1.287 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004653/0.4197, allocations: 411.1 kB / 1.287 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003341/0.42, allocations: 204.4 kB / 1.287 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002444/0.4203, allocations: 147.5 kB / 1.287 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001962/0.4205, allocations: 131.4 kB / 1.288 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.322e-05/0.4205, allocations: 36 kB / 1.288 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.753e-05/0.4206, allocations: 44 kB / 1.288 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.18e-05/0.4207, allocations: 87.69 kB / 1.288 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001407/0.4208, allocations: 119.4 kB / 1.288 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005106/0.4214, allocations: 438.3 kB / 1.288 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.4214, allocations: 0 / 1.288 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.774e-06/0.4214, allocations: 0 / 1.288 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.231e-06/0.4214, allocations: 0 / 1.288 GB, free: 7.32 MB / 0.9825 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.0008994/0.4223, allocations: 0.5051 MB / 1.289 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.4223, allocations: 8.031 kB / 1.289 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000432/0.4227, allocations: 68.66 kB / 1.289 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004219/0.4232, allocations: 222 kB / 1.289 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.74e-05/0.4232, allocations: 29.03 kB / 1.289 GB, free: 6.438 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.206e-05/0.4232, allocations: 32.38 kB / 1.289 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005677/0.4238, allocations: 309.4 kB / 1.289 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.4238, allocations: 3.938 kB / 1.289 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.167e-05/0.4239, allocations: 16 kB / 1.289 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.4239, allocations: 4 kB / 1.289 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004836/0.4244, allocations: 230.5 kB / 1.29 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001363/0.4257, allocations: 0.7624 MB / 1.29 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004932/0.4262, allocations: 219.6 kB / 1.291 GB, free: 4.816 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002121/0.4264, allocations: 105.3 kB / 1.291 GB, free: 4.711 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.519e-05/0.4264, allocations: 240 / 1.291 GB, free: 4.711 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002977/0.4267, allocations: 168.7 kB / 1.291 GB, free: 4.535 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=30): time 1.523e-06/0.4267, allocations: 0 / 1.291 GB, free: 4.535 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30): time 0.0007164/0.4275, allocations: 325.9 kB / 1.291 GB, free: 4.211 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.642e-05/0.4275, allocations: 59.41 kB / 1.291 GB, free: 4.141 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001894/0.4277, allocations: 195.1 kB / 1.291 GB, free: 3.938 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.092e-05/0.4278, allocations: 37.7 kB / 1.291 GB, free: 3.895 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001269/0.4279, allocations: 160.7 kB / 1.292 GB, free: 3.734 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.017e-05/0.428, allocations: 87.31 kB / 1.292 GB, free: 3.648 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/0.4281, allocations: 77.69 kB / 1.292 GB, free: 3.566 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001641/0.4282, allocations: 338.8 kB / 1.292 GB, free: 3.227 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002039/0.4284, allocations: 91.91 kB / 1.292 GB, free: 3.137 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002377/0.4287, allocations: 153 kB / 1.292 GB, free: 2.969 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003788/0.429, allocations: 222 kB / 1.293 GB, free: 2.734 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.4291, allocations: 0 / 1.293 GB, free: 2.734 MB / 0.9825 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005232/0.4296, allocations: 301 kB / 1.293 GB, free: 2.434 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.4296, allocations: 4 kB / 1.293 GB, free: 2.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.4296, allocations: 7.984 kB / 1.293 GB, free: 2.422 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.332e-05/0.4296, allocations: 0 / 1.293 GB, free: 2.422 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001949/0.4298, allocations: 44.08 kB / 1.293 GB, free: 2.379 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/0.4298, allocations: 4 kB / 1.293 GB, free: 2.375 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001962/0.43, allocations: 47.73 kB / 1.293 GB, free: 2.328 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.632e-05/0.4301, allocations: 12 kB / 1.293 GB, free: 2.316 MB / 0.9825 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.0001801/0.4302, allocations: 165.8 kB / 1.293 GB, free: 2.145 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.705e-05/0.4303, allocations: 27.8 kB / 1.293 GB, free: 2.117 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.074e-05/0.4303, allocations: 34.64 kB / 1.293 GB, free: 2.082 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.4303, allocations: 7.938 kB / 1.293 GB, free: 2.074 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.084e-06/0.4304, allocations: 4 kB / 1.293 GB, free: 2.07 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.4304, allocations: 0 / 1.293 GB, free: 2.07 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009444/0.4313, allocations: 0.5959 MB / 1.294 GB, free: 1.438 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.4313, allocations: 0 / 1.294 GB, free: 1.438 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001338/0.4314, allocations: 27.97 kB / 1.294 GB, free: 1.41 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.215e-06/0.4314, allocations: 0 / 1.294 GB, free: 1.41 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.975e-05/0.4315, allocations: 4 kB / 1.294 GB, free: 1.406 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.357e-06/0.4315, allocations: 8 kB / 1.294 GB, free: 1.398 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.4315, allocations: 4 kB / 1.294 GB, free: 1.395 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005063/0.432, allocations: 349.3 kB / 1.294 GB, free: 1.039 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.32e-05/0.432, allocations: 27.8 kB / 1.294 GB, free: 1.012 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.187e-05/0.432, allocations: 4 kB / 1.294 GB, free: 1.008 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001969/0.4322, allocations: 27.97 kB / 1.294 GB, free: 0.9805 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/0.4323, allocations: 39.94 kB / 1.294 GB, free: 0.9414 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/0.4324, allocations: 4 kB / 1.294 GB, free: 0.9375 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001074/0.4325, allocations: 137.8 kB / 1.294 GB, free: 0.8047 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.4325, allocations: 3.938 kB / 1.294 GB, free: 0.8008 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003006/0.4328, allocations: 63.84 kB / 1.294 GB, free: 0.7383 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 19 (heaCon.onToOff.enableFire,heaCon.offToOn.enableFire,heaCon.on.active,heaCon.off.active,$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 (30): * Single equations (assignments): 26 * 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.0001408/0.4329, allocations: 117.4 kB / 1.295 GB, free: 0.6172 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000488/0.4334, allocations: 239.8 kB / 1.295 GB, free: 392 kB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.4334, allocations: 320 / 1.295 GB, free: 392 kB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002251/0.4336, allocations: 111.9 kB / 1.295 GB, free: 280 kB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003479/0.434, allocations: 35.91 kB / 1.295 GB, free: 244 kB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008741/0.4348, allocations: 492.3 kB / 1.295 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001524/0.435, allocations: 150.9 kB / 1.296 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.782e-05/0.4351, allocations: 27.42 kB / 1.296 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of SimCode: time 3e-07/0.4351, allocations: 0 / 1.296 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of Templates: time 0.005571/0.4407, allocations: 3.299 MB / 1.299 GB, free: 12.24 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; mkfifo Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; head -c 1048576 < Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe >> ../files/Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.sim & ./Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.67550548305735]