Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001772/0.001772, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.001972/0.001972, allocations: 173.2 kB / 22.76 MB, free: 1.664 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 1.52/1.52, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.328/3.328, allocations: 429.5 MB / 0.6729 GB, free: 4.008 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 1.203 kB / 0.8774 GB, free: 6.676 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.652e-05/2.807e-05, allocations: 2.312 kB / 0.8774 GB, free: 6.672 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.003773/0.003801, allocations: 2.073 MB / 0.8795 GB, free: 4.613 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.00154/0.005341, allocations: 0.7629 MB / 0.8802 GB, free: 3.848 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001146/0.005456, allocations: 4 kB / 0.8802 GB, free: 3.844 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001714/0.005627, allocations: 40.27 kB / 0.8802 GB, free: 3.805 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001276/0.005755, allocations: 44.92 kB / 0.8803 GB, free: 3.762 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005459/0.006301, allocations: 192.4 kB / 0.8805 GB, free: 3.574 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0005333/0.006834, allocations: 415 kB / 0.8809 GB, free: 3.168 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003448/0.007179, allocations: 201.9 kB / 0.8811 GB, free: 2.973 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003582/0.007537, allocations: 209.2 kB / 0.8813 GB, free: 2.77 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002037/0.007741, allocations: 107.6 kB / 0.8814 GB, free: 2.664 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 6.631e-05/0.007807, allocations: 40 kB / 0.8814 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001044/0.007911, allocations: 47.98 kB / 0.8814 GB, free: 2.578 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001065/0.008018, allocations: 85.17 kB / 0.8815 GB, free: 2.496 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001405/0.008158, allocations: 103.7 kB / 0.8816 GB, free: 2.395 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0005984/0.008757, allocations: 450.5 kB / 0.8821 GB, free: 1.953 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.008761, allocations: 3.125 kB / 0.8821 GB, free: 1.953 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.232e-06/0.008762, allocations: 0 / 0.8821 GB, free: 1.953 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.008769, allocations: 0 / 0.8821 GB, free: 1.953 MB / 0.8386 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.001053/0.009821, allocations: 0.6358 MB / 0.8827 GB, free: 1.277 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.009854, allocations: 8.031 kB / 0.8827 GB, free: 1.27 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004424/0.0103, allocations: 80.72 kB / 0.8828 GB, free: 1.191 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003849/0.01068, allocations: 230.3 kB / 0.883 GB, free: 0.9414 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.002e-05/0.01072, allocations: 25.03 kB / 0.883 GB, free: 0.918 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.718e-05/0.01077, allocations: 28.38 kB / 0.883 GB, free: 0.8906 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006378/0.01141, allocations: 331.2 kB / 0.8833 GB, free: 0.5547 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.793e-05/0.01142, allocations: 5.516 kB / 0.8834 GB, free: 0.5508 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.103e-05/0.01146, allocations: 12.38 kB / 0.8834 GB, free: 0.5391 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.409e-05/0.01147, allocations: 11.94 kB / 0.8834 GB, free: 0.5273 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000497/0.01197, allocations: 214.5 kB / 0.8836 GB, free: 324 kB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001652/0.01362, allocations: 0.9584 MB / 0.8845 GB, free: 15.31 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005296/0.01415, allocations: 232.8 kB / 0.8847 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002432/0.01439, allocations: 109.3 kB / 0.8848 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.407e-05/0.01443, allocations: 4.234 kB / 0.8848 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003336/0.01476, allocations: 173.9 kB / 0.885 GB, free: 14.78 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=30): time 1.773e-06/0.01476, allocations: 0 / 0.885 GB, free: 14.78 MB / 0.8542 GB Notification: Performance of matching and sorting (n=30): time 0.0007875/0.01555, allocations: 323.7 kB / 0.8853 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.778e-05/0.01561, allocations: 55.41 kB / 0.8854 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003239/0.01593, allocations: 298.6 kB / 0.8857 GB, free: 14.08 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.682e-05/0.01598, allocations: 41.69 kB / 0.8857 GB, free: 14.03 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002008/0.01618, allocations: 215.5 kB / 0.8859 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001065/0.01628, allocations: 83.39 kB / 0.886 GB, free: 13.73 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001878/0.01647, allocations: 119.3 kB / 0.8861 GB, free: 13.61 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000307/0.01678, allocations: 0.5235 MB / 0.8866 GB, free: 13.07 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002143/0.01699, allocations: 91.97 kB / 0.8867 GB, free: 12.98 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003634/0.01736, allocations: 174.7 kB / 0.8869 GB, free: 12.79 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000434/0.01779, allocations: 231.9 kB / 0.8871 GB, free: 12.54 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.01779, allocations: 0 / 0.8871 GB, free: 12.54 MB / 0.8542 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006141/0.01841, allocations: 312.6 kB / 0.8874 GB, free: 12.23 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.01842, allocations: 4 kB / 0.8874 GB, free: 12.22 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.01843, allocations: 7.938 kB / 0.8874 GB, free: 12.21 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.01845, allocations: 4 kB / 0.8874 GB, free: 12.21 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002097/0.01866, allocations: 43.91 kB / 0.8874 GB, free: 12.17 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.928e-06/0.01867, allocations: 3.938 kB / 0.8874 GB, free: 12.16 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001723/0.01884, allocations: 35.83 kB / 0.8875 GB, free: 12.13 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.584e-05/0.01887, allocations: 16.16 kB / 0.8875 GB, free: 12.11 MB / 0.8542 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.0002267/0.01909, allocations: 220.4 kB / 0.8877 GB, free: 11.89 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.629e-05/0.01916, allocations: 31.86 kB / 0.8877 GB, free: 11.86 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.237e-05/0.01925, allocations: 38.58 kB / 0.8878 GB, free: 11.82 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.535e-06/0.01926, allocations: 8 kB / 0.8878 GB, free: 11.81 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.01926, allocations: 0 / 0.8878 GB, free: 11.81 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.01927, allocations: 0 / 0.8878 GB, free: 11.81 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001287/0.02055, allocations: 0.7048 MB / 0.8885 GB, free: 11.07 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.02056, allocations: 0 / 0.8885 GB, free: 11.07 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001536/0.02071, allocations: 27.92 kB / 0.8885 GB, free: 11.04 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.02071, allocations: 0 / 0.8885 GB, free: 11.04 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.53e-05/0.02074, allocations: 11.98 kB / 0.8885 GB, free: 11.03 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.02074, allocations: 0 / 0.8885 GB, free: 11.03 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.02074, allocations: 0 / 0.8885 GB, free: 11.03 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006021/0.02134, allocations: 404.7 kB / 0.8889 GB, free: 10.61 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.81e-05/0.02138, allocations: 23.8 kB / 0.8889 GB, free: 10.59 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.62e-05/0.02142, allocations: 8 kB / 0.8889 GB, free: 10.58 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001648/0.02158, allocations: 23.97 kB / 0.8889 GB, free: 10.56 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001149/0.0217, allocations: 35.94 kB / 0.889 GB, free: 10.52 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.196e-05/0.02172, allocations: 12 kB / 0.889 GB, free: 10.51 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.000156/0.02187, allocations: 178.2 kB / 0.8892 GB, free: 10.34 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.02187, allocations: 0 / 0.8892 GB, free: 10.34 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003359/0.02221, allocations: 67.84 kB / 0.8892 GB, free: 10.27 MB / 0.8542 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.0001582/0.02237, allocations: 117.2 kB / 0.8893 GB, free: 10.15 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0005498/0.02292, allocations: 256.2 kB / 0.8896 GB, free: 9.898 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.02292, allocations: 0 / 0.8896 GB, free: 9.898 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.000278/0.0232, allocations: 136 kB / 0.8897 GB, free: 9.762 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003599/0.02356, allocations: 41.78 kB / 0.8898 GB, free: 9.723 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009271/0.02449, allocations: 469.6 kB / 0.8902 GB, free: 9.238 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001804/0.02467, allocations: 159 kB / 0.8904 GB, free: 9.062 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001141/0.02478, allocations: 30.27 kB / 0.8904 GB, free: 9.035 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.459e-05/0.02487, allocations: 28.5 kB / 0.8904 GB, free: 9.008 MB / 0.8542 GB Notification: Performance of SimCode: time 1.012e-06/0.02488, allocations: 0 / 0.8904 GB, free: 9.008 MB / 0.8542 GB Notification: Performance of Templates: time 0.007911/0.03279, allocations: 2.898 MB / 0.8932 GB, free: 6.164 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; mkfifo Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; head -c 1048576 < Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe >> ../files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.sim & ./Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.354021226987243]