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.001343/0.001343, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.00145/0.00145, allocations: 161.4 kB / 23.82 MB, free: 0.7539 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.9215/0.9215, allocations: 177.1 MB / 204.2 MB, free: 5.637 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.752/1.752, allocations: 359 MB / 0.6052 GB, free: 10.99 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.704e-06/1.704e-06, allocations: 0 / 0.7871 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.26e-05/2.431e-05, allocations: 4.984 kB / 0.7871 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.003353/0.003378, allocations: 2.1 MB / 0.7891 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001557/0.004934, allocations: 0.7741 MB / 0.7899 GB, free: 9.652 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001079/0.005042, allocations: 11.22 kB / 0.7899 GB, free: 9.645 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.000129/0.005171, allocations: 35.59 kB / 0.7899 GB, free: 9.609 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.864e-05/0.00526, allocations: 47.53 kB / 0.79 GB, free: 9.562 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004174/0.005677, allocations: 183.6 kB / 0.7901 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003801/0.006057, allocations: 407.1 kB / 0.7905 GB, free: 8.984 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00031/0.006367, allocations: 210 kB / 0.7907 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002589/0.006626, allocations: 213 kB / 0.7909 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001552/0.006781, allocations: 111.7 kB / 0.791 GB, free: 8.465 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.728e-05/0.006829, allocations: 40 kB / 0.7911 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.568e-05/0.006904, allocations: 49.19 kB / 0.7911 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 6.016e-05/0.006965, allocations: 83.73 kB / 0.7912 GB, free: 8.297 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 7.935e-05/0.007044, allocations: 103.7 kB / 0.7913 GB, free: 8.195 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000267/0.007311, allocations: 263 kB / 0.7916 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.903e-06/0.007313, allocations: 1.5 kB / 0.7916 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.102e-06/0.007314, allocations: 4 kB / 0.7916 GB, free: 7.934 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.007319, allocations: 3.984 kB / 0.7916 GB, free: 7.93 MB / 0.7448 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.0006196/0.007938, allocations: 0.5987 MB / 0.7921 GB, free: 7.297 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.007973, allocations: 12.03 kB / 0.7922 GB, free: 7.285 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002742/0.008247, allocations: 86.16 kB / 0.7922 GB, free: 7.203 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002382/0.008485, allocations: 216.2 kB / 0.7924 GB, free: 6.965 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.257e-05/0.008518, allocations: 32.97 kB / 0.7925 GB, free: 6.93 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.134e-05/0.008549, allocations: 28.94 kB / 0.7925 GB, free: 6.902 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003595/0.008909, allocations: 246 kB / 0.7927 GB, free: 6.648 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.008923, allocations: 4.172 kB / 0.7927 GB, free: 6.645 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.189e-05/0.008945, allocations: 12.38 kB / 0.7928 GB, free: 6.633 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.57e-05/0.00896, allocations: 19.86 kB / 0.7928 GB, free: 6.613 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001939/0.009154, allocations: 111.8 kB / 0.7929 GB, free: 6.504 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008517/0.01001, allocations: 0.8295 MB / 0.7937 GB, free: 5.629 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002534/0.01026, allocations: 164.1 kB / 0.7939 GB, free: 5.457 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.005e-05/0.01035, allocations: 64.83 kB / 0.7939 GB, free: 5.391 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.32e-05/0.01037, allocations: 8.797 kB / 0.7939 GB, free: 5.383 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001427/0.01052, allocations: 118.2 kB / 0.794 GB, free: 5.254 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=30): time 1.853e-06/0.01052, allocations: 0 / 0.794 GB, free: 5.254 MB / 0.7448 GB Notification: Performance of matching and sorting (n=30): time 0.0003661/0.01088, allocations: 238.7 kB / 0.7943 GB, free: 5.016 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.892e-05/0.01092, allocations: 60.09 kB / 0.7943 GB, free: 4.945 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001411/0.01106, allocations: 250.6 kB / 0.7946 GB, free: 4.68 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.369e-05/0.01109, allocations: 38.33 kB / 0.7946 GB, free: 4.637 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.87e-05/0.01118, allocations: 207.5 kB / 0.7948 GB, free: 4.43 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.544e-05/0.01122, allocations: 79.88 kB / 0.7949 GB, free: 4.352 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.705e-05/0.01131, allocations: 92.31 kB / 0.795 GB, free: 4.254 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.01143, allocations: 0.504 MB / 0.7954 GB, free: 3.738 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.162e-05/0.01151, allocations: 47.97 kB / 0.7955 GB, free: 3.691 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001118/0.01162, allocations: 114.9 kB / 0.7956 GB, free: 3.555 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001941/0.01182, allocations: 154.6 kB / 0.7958 GB, free: 3.383 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.01182, allocations: 0 / 0.7958 GB, free: 3.383 MB / 0.7448 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0002705/0.01209, allocations: 243.2 kB / 0.796 GB, free: 3.141 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.01211, allocations: 11.94 kB / 0.796 GB, free: 3.129 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.01211, allocations: 3.938 kB / 0.796 GB, free: 3.125 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.01213, allocations: 4 kB / 0.796 GB, free: 3.121 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.01225, allocations: 39.91 kB / 0.796 GB, free: 3.082 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.01226, allocations: 4 kB / 0.796 GB, free: 3.078 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.121e-05/0.01234, allocations: 41.42 kB / 0.7961 GB, free: 3.039 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.384e-05/0.01235, allocations: 8 kB / 0.7961 GB, free: 3.031 MB / 0.7448 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.0003556/0.01271, allocations: 193 kB / 0.7963 GB, free: 2.836 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.873e-05/0.01274, allocations: 32.45 kB / 0.7963 GB, free: 2.805 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.068e-05/0.01278, allocations: 34.59 kB / 0.7963 GB, free: 2.77 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.01278, allocations: 1.625 kB / 0.7963 GB, free: 2.77 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.01278, allocations: 7.938 kB / 0.7963 GB, free: 2.762 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.01279, allocations: 3.984 kB / 0.7964 GB, free: 2.758 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005314/0.01332, allocations: 0.5852 MB / 0.7969 GB, free: 2.133 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.01332, allocations: 4 kB / 0.7969 GB, free: 2.129 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.893e-05/0.01339, allocations: 28.48 kB / 0.797 GB, free: 2.102 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.0134, allocations: 0 / 0.797 GB, free: 2.102 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/0.01341, allocations: 5.094 kB / 0.797 GB, free: 2.098 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.01341, allocations: 4 kB / 0.797 GB, free: 2.094 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.01341, allocations: 0 / 0.797 GB, free: 2.094 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002472/0.01366, allocations: 349.3 kB / 0.7973 GB, free: 1.734 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.777e-05/0.01368, allocations: 23.8 kB / 0.7973 GB, free: 1.711 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.091e-05/0.0137, allocations: 4.906 kB / 0.7973 GB, free: 1.707 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.468e-05/0.01377, allocations: 27.78 kB / 0.7973 GB, free: 1.684 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.06e-05/0.01384, allocations: 35.94 kB / 0.7974 GB, free: 1.648 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.068e-05/0.01385, allocations: 4 kB / 0.7974 GB, free: 1.645 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.802e-05/0.01392, allocations: 165.1 kB / 0.7975 GB, free: 1.484 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01392, allocations: 0 / 0.7975 GB, free: 1.484 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002032/0.01413, allocations: 63.89 kB / 0.7976 GB, free: 1.422 MB / 0.7448 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.733e-05/0.01421, allocations: 123.5 kB / 0.7977 GB, free: 1.293 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002423/0.01445, allocations: 164.6 kB / 0.7979 GB, free: 1.129 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.01446, allocations: 0 / 0.7979 GB, free: 1.129 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001079/0.01456, allocations: 93.06 kB / 0.798 GB, free: 1.035 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002428/0.01481, allocations: 50.8 kB / 0.798 GB, free: 0.9883 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007031/0.01551, allocations: 450.9 kB / 0.7984 GB, free: 0.5234 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.17e-05/0.01556, allocations: 89.42 kB / 0.7985 GB, free: 424 kB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.041e-05/0.01563, allocations: 30.75 kB / 0.7986 GB, free: 396 kB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.868e-05/0.0157, allocations: 24.5 kB / 0.7986 GB, free: 372 kB / 0.7448 GB Notification: Performance of SimCode: time 5.01e-07/0.0157, allocations: 0 / 0.7986 GB, free: 372 kB / 0.7448 GB Notification: Performance of Templates: time 0.004407/0.02011, allocations: 2.896 MB / 0.8014 GB, free: 13.52 MB / 0.7605 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.182182556018233]