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.001644/0.001644, allocations: 113.9 kB / 17.6 MB, free: 4.684 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.001939/0.001939, allocations: 189.9 kB / 20.78 MB, free: 1.512 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.468/1.468, allocations: 225.6 MB / 249.4 MB, free: 3.156 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.601/2.601, allocations: 443.4 MB / 0.7304 GB, free: 13.86 MB / 0.5762 GB " [Timeout remaining time 177] 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.001957/0.001957, allocations: 71.89 kB / 1.059 GB, free: 376 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3213/0.3233, allocations: 160.7 MB / 1.216 GB, free: 15.35 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.003598/0.3269, allocations: 2.064 MB / 1.218 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001421/0.3283, allocations: 0.7208 MB / 1.219 GB, free: 12.53 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001116/0.3284, allocations: 4 kB / 1.219 GB, free: 12.53 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001476/0.3286, allocations: 31.61 kB / 1.219 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001197/0.3287, allocations: 47.53 kB / 1.219 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004751/0.3292, allocations: 151.8 kB / 1.219 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004431/0.3296, allocations: 403.2 kB / 1.219 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003245/0.3299, allocations: 203.7 kB / 1.22 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001862/0.3301, allocations: 139.5 kB / 1.22 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002008/0.3303, allocations: 143.4 kB / 1.22 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 5.605e-05/0.3304, allocations: 40 kB / 1.22 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.865e-05/0.3305, allocations: 44 kB / 1.22 GB, free: 11.35 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.176e-05/0.3306, allocations: 87.73 kB / 1.22 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001627/0.3307, allocations: 155.2 kB / 1.22 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004739/0.3312, allocations: 418.4 kB / 1.221 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.3312, allocations: 4 kB / 1.221 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.072e-06/0.3312, allocations: 0 / 1.221 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.304e-06/0.3312, allocations: 3.938 kB / 1.221 GB, free: 10.69 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.0009043/0.3321, allocations: 0.5765 MB / 1.221 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.3321, allocations: 8.031 kB / 1.221 GB, free: 10.06 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.426e-05/0.3322, allocations: 32.75 kB / 1.221 GB, free: 10.03 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003806/0.3326, allocations: 272.9 kB / 1.221 GB, free: 9.723 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.379e-05/0.3326, allocations: 24.94 kB / 1.222 GB, free: 9.699 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.764e-05/0.3327, allocations: 36.36 kB / 1.222 GB, free: 9.664 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005871/0.3333, allocations: 316 kB / 1.222 GB, free: 9.344 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.3333, allocations: 0 / 1.222 GB, free: 9.344 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.066e-05/0.3333, allocations: 12 kB / 1.222 GB, free: 9.332 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.3333, allocations: 4 kB / 1.222 GB, free: 9.328 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005084/0.3338, allocations: 238.1 kB / 1.222 GB, free: 9.094 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001475/0.3353, allocations: 0.9287 MB / 1.223 GB, free: 8.102 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005277/0.3358, allocations: 231.5 kB / 1.223 GB, free: 7.867 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002185/0.3361, allocations: 105.2 kB / 1.223 GB, free: 7.762 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.521e-05/0.3361, allocations: 12.16 kB / 1.223 GB, free: 7.75 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003091/0.3364, allocations: 160 kB / 1.223 GB, free: 7.582 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=30): time 1.713e-06/0.3364, allocations: 0 / 1.223 GB, free: 7.582 MB / 0.9669 GB Notification: Performance of matching and sorting (n=30): time 0.0007441/0.3371, allocations: 333.3 kB / 1.224 GB, free: 7.25 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.387e-05/0.3372, allocations: 59.41 kB / 1.224 GB, free: 7.18 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002101/0.3374, allocations: 207.4 kB / 1.224 GB, free: 6.969 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.211e-05/0.3375, allocations: 41.69 kB / 1.224 GB, free: 6.922 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001232/0.3376, allocations: 152.8 kB / 1.224 GB, free: 6.77 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 7.274e-05/0.3377, allocations: 79.38 kB / 1.224 GB, free: 6.691 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001434/0.3378, allocations: 81.67 kB / 1.224 GB, free: 6.605 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001667/0.338, allocations: 338.8 kB / 1.225 GB, free: 6.266 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002171/0.3382, allocations: 99.91 kB / 1.225 GB, free: 6.168 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002385/0.3384, allocations: 141.1 kB / 1.225 GB, free: 6.012 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003967/0.3388, allocations: 216.7 kB / 1.225 GB, free: 5.781 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.3388, allocations: 0 / 1.225 GB, free: 5.781 MB / 0.9669 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000555/0.3394, allocations: 312.9 kB / 1.225 GB, free: 5.469 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.3394, allocations: 5.875 kB / 1.225 GB, free: 5.465 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.3394, allocations: 4 kB / 1.225 GB, free: 5.461 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.3394, allocations: 4 kB / 1.225 GB, free: 5.457 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000202/0.3396, allocations: 39.91 kB / 1.225 GB, free: 5.418 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.465e-05/0.3396, allocations: 4 kB / 1.225 GB, free: 5.414 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001999/0.3398, allocations: 47.75 kB / 1.226 GB, free: 5.367 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.771e-05/0.3399, allocations: 15.98 kB / 1.226 GB, free: 5.352 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.0001832/0.34, allocations: 177.7 kB / 1.226 GB, free: 5.168 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.378e-05/0.3401, allocations: 19.86 kB / 1.226 GB, free: 5.148 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005707/0.3407, allocations: 276.1 kB / 1.226 GB, free: 4.875 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.828e-06/0.3407, allocations: 7.984 kB / 1.226 GB, free: 4.867 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.3407, allocations: 0 / 1.226 GB, free: 4.867 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.3407, allocations: 0 / 1.226 GB, free: 4.867 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001073/0.3417, allocations: 0.73 MB / 1.227 GB, free: 4.082 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.3417, allocations: 0 / 1.227 GB, free: 4.082 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001538/0.3419, allocations: 35.91 kB / 1.227 GB, free: 4.047 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.3419, allocations: 4 kB / 1.227 GB, free: 4.043 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.017e-05/0.3419, allocations: 4 kB / 1.227 GB, free: 4.039 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.3419, allocations: 0 / 1.227 GB, free: 4.039 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.3419, allocations: 4 kB / 1.227 GB, free: 4.035 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005304/0.3425, allocations: 360.9 kB / 1.227 GB, free: 3.668 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.236e-05/0.3425, allocations: 104.9 kB / 1.227 GB, free: 3.547 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.027e-05/0.3426, allocations: 8 kB / 1.227 GB, free: 3.539 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002005/0.3428, allocations: 23.97 kB / 1.227 GB, free: 3.516 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001178/0.3429, allocations: 39.89 kB / 1.227 GB, free: 3.477 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.245e-05/0.3429, allocations: 8 kB / 1.227 GB, free: 3.469 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001178/0.343, allocations: 139.1 kB / 1.227 GB, free: 3.332 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.343, allocations: 0 / 1.227 GB, free: 3.332 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003327/0.3434, allocations: 71.84 kB / 1.227 GB, free: 3.262 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.0001861/0.3436, allocations: 125.3 kB / 1.228 GB, free: 3.133 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0005225/0.3441, allocations: 240 kB / 1.228 GB, free: 2.898 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.3441, allocations: 0 / 1.228 GB, free: 2.898 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002334/0.3443, allocations: 115.8 kB / 1.228 GB, free: 2.785 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003674/0.3447, allocations: 42.2 kB / 1.228 GB, free: 2.746 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008457/0.3455, allocations: 478.9 kB / 1.228 GB, free: 2.246 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000373/0.3459, allocations: 0.7604 MB / 1.229 GB, free: 1.457 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001098/0.346, allocations: 30.28 kB / 1.229 GB, free: 1.426 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.406e-05/0.3461, allocations: 27.44 kB / 1.229 GB, free: 1.398 MB / 0.9669 GB Notification: Performance of SimCode: time 8.41e-07/0.3461, allocations: 0 / 1.229 GB, free: 1.398 MB / 0.9669 GB Notification: Performance of Templates: time 0.007196/0.3533, allocations: 3.154 MB / 1.232 GB, free: 14.26 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 8.162713669240475]