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.0008931/0.0008931, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.000804/0.000804, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.8664/0.8664, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.673/1.673, allocations: 359 MB / 0.6044 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 0.9517 GB, free: 3.008 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.726e-05/1.869e-05, allocations: 2.281 kB / 0.9517 GB, free: 3.004 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.002225/0.002244, allocations: 2.021 MB / 0.9537 GB, free: 0.9648 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001013/0.003256, allocations: 0.7519 MB / 0.9544 GB, free: 212 kB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001137/0.00337, allocations: 7.938 kB / 0.9544 GB, free: 204 kB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0001429/0.003513, allocations: 39.55 kB / 0.9545 GB, free: 164 kB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 8.473e-05/0.003598, allocations: 47.53 kB / 0.9545 GB, free: 116 kB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.000446/0.004044, allocations: 179.7 kB / 0.9547 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0003253/0.004369, allocations: 414.9 kB / 0.9551 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002767/0.004646, allocations: 204.5 kB / 0.9553 GB, free: 15.33 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002271/0.004873, allocations: 203.6 kB / 0.9555 GB, free: 15.13 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000139/0.005012, allocations: 111.6 kB / 0.9556 GB, free: 15.02 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 3.798e-05/0.00505, allocations: 47.94 kB / 0.9556 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 7.252e-05/0.005122, allocations: 44 kB / 0.9557 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 5.864e-05/0.005181, allocations: 79.73 kB / 0.9557 GB, free: 14.85 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 8.114e-05/0.005262, allocations: 103.7 kB / 0.9558 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0003553/0.005617, allocations: 446.5 kB / 0.9563 GB, free: 14.31 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.005619, allocations: 0 / 0.9563 GB, free: 14.31 MB / 0.9167 GB Notification: Performance of FrontEnd: time 7.51e-07/0.00562, allocations: 0 / 0.9563 GB, free: 14.31 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.005625, allocations: 0 / 0.9563 GB, free: 14.31 MB / 0.9167 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.0006138/0.006239, allocations: 0.5167 MB / 0.9568 GB, free: 13.77 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.006273, allocations: 8.031 kB / 0.9568 GB, free: 13.76 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002597/0.006533, allocations: 64.7 kB / 0.9568 GB, free: 13.7 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002525/0.006785, allocations: 213.3 kB / 0.957 GB, free: 13.46 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.397e-05/0.006809, allocations: 25.03 kB / 0.9571 GB, free: 13.44 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.976e-05/0.006839, allocations: 36.31 kB / 0.9571 GB, free: 13.4 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003722/0.007211, allocations: 309.6 kB / 0.9574 GB, free: 13.09 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.007221, allocations: 192 / 0.9574 GB, free: 13.09 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.166e-05/0.007243, allocations: 20.36 kB / 0.9574 GB, free: 13.07 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.378e-06/0.007252, allocations: 11.94 kB / 0.9574 GB, free: 13.05 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002993/0.007551, allocations: 230.5 kB / 0.9576 GB, free: 12.83 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000868/0.008419, allocations: 0.7546 MB / 0.9584 GB, free: 12.04 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003212/0.00874, allocations: 225.7 kB / 0.9586 GB, free: 11.81 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001195/0.00886, allocations: 101.3 kB / 0.9587 GB, free: 11.71 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.059e-05/0.00888, allocations: 4.234 kB / 0.9587 GB, free: 11.7 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001838/0.009064, allocations: 159.5 kB / 0.9588 GB, free: 11.54 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=30): time 1.422e-06/0.009066, allocations: 0 / 0.9588 GB, free: 11.54 MB / 0.9167 GB Notification: Performance of matching and sorting (n=30): time 0.0004574/0.009523, allocations: 323.4 kB / 0.9592 GB, free: 11.21 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.446e-05/0.009558, allocations: 63.41 kB / 0.9592 GB, free: 11.14 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/0.009674, allocations: 195 kB / 0.9594 GB, free: 10.94 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.492e-05/0.009699, allocations: 45.69 kB / 0.9594 GB, free: 10.89 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 7.798e-05/0.009777, allocations: 156.8 kB / 0.9596 GB, free: 10.73 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 4.424e-05/0.009821, allocations: 79.38 kB / 0.9597 GB, free: 10.65 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.761e-05/0.009899, allocations: 81.67 kB / 0.9597 GB, free: 10.57 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.089e-05/0.00998, allocations: 330.8 kB / 0.9601 GB, free: 10.23 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001209/0.0101, allocations: 95.89 kB / 0.9602 GB, free: 10.14 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001402/0.01024, allocations: 149 kB / 0.9603 GB, free: 9.977 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002464/0.01049, allocations: 222.4 kB / 0.9605 GB, free: 9.742 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.01049, allocations: 4 kB / 0.9605 GB, free: 9.738 MB / 0.9167 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0003134/0.0108, allocations: 297.2 kB / 0.9608 GB, free: 9.441 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.01082, allocations: 4 kB / 0.9608 GB, free: 9.438 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.01082, allocations: 7.938 kB / 0.9608 GB, free: 9.43 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.01084, allocations: 4 kB / 0.9608 GB, free: 9.426 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/0.01094, allocations: 43.84 kB / 0.9609 GB, free: 9.383 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.01095, allocations: 7.938 kB / 0.9609 GB, free: 9.375 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.326e-05/0.01104, allocations: 39.81 kB / 0.9609 GB, free: 9.336 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.467e-05/0.01106, allocations: 12 kB / 0.9609 GB, free: 9.324 MB / 0.9167 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.0001201/0.01118, allocations: 189.8 kB / 0.9611 GB, free: 9.129 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.859e-05/0.0112, allocations: 19.86 kB / 0.9611 GB, free: 9.109 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.759e-05/0.01124, allocations: 30.59 kB / 0.9611 GB, free: 9.082 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.01124, allocations: 4 kB / 0.9611 GB, free: 9.078 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.01124, allocations: 0 / 0.9611 GB, free: 9.078 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.812e-06/0.01125, allocations: 3.984 kB / 0.9611 GB, free: 9.074 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005773/0.01183, allocations: 0.6079 MB / 0.9617 GB, free: 8.426 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.01183, allocations: 4 kB / 0.9617 GB, free: 8.422 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.556e-05/0.0119, allocations: 31.92 kB / 0.9618 GB, free: 8.391 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.0119, allocations: 0 / 0.9618 GB, free: 8.391 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.01191, allocations: 4 kB / 0.9618 GB, free: 8.387 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.01191, allocations: 0 / 0.9618 GB, free: 8.387 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.01191, allocations: 0 / 0.9618 GB, free: 8.387 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002745/0.01219, allocations: 344.3 kB / 0.9621 GB, free: 8.035 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.738e-05/0.01221, allocations: 19.84 kB / 0.9621 GB, free: 8.016 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.945e-05/0.01223, allocations: 11.98 kB / 0.9621 GB, free: 8.004 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.801e-05/0.01232, allocations: 27.97 kB / 0.9622 GB, free: 7.977 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.557e-05/0.0124, allocations: 39.94 kB / 0.9622 GB, free: 7.938 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.007e-05/0.01241, allocations: 4 kB / 0.9622 GB, free: 7.934 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 6.392e-05/0.01247, allocations: 133.7 kB / 0.9623 GB, free: 7.805 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.01247, allocations: 0 / 0.9623 GB, free: 7.805 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001912/0.01266, allocations: 63.84 kB / 0.9624 GB, free: 7.742 MB / 0.9167 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 8.838e-05/0.01275, allocations: 125.9 kB / 0.9625 GB, free: 7.613 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0003002/0.01305, allocations: 239.8 kB / 0.9627 GB, free: 7.379 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.01305, allocations: 0 / 0.9627 GB, free: 7.379 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001289/0.01318, allocations: 116.3 kB / 0.9629 GB, free: 7.266 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002336/0.01342, allocations: 43.55 kB / 0.9629 GB, free: 7.223 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005455/0.01396, allocations: 481.2 kB / 0.9634 GB, free: 6.715 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.487e-05/0.01406, allocations: 150.9 kB / 0.9635 GB, free: 6.547 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.642e-05/0.01412, allocations: 28.5 kB / 0.9635 GB, free: 6.52 MB / 0.9167 GB Notification: Performance of SimCode: time 3.91e-07/0.01412, allocations: 0 / 0.9635 GB, free: 6.52 MB / 0.9167 GB Notification: Performance of Templates: time 0.003575/0.0177, allocations: 3.301 MB / 0.9668 GB, free: 3.227 MB / 0.9167 GB " [Timeout remaining time 300] 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/jenkins/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: 6.433360009454191]