Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.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.001416/0.001416, allocations: 71.75 kB / 20.97 MB, free: 3.574 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.001706/0.001706, allocations: 173 kB / 24.28 MB, free: 272 kB / 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.003/1.003, allocations: 177.1 MB / 204.6 MB, free: 5.594 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.817/1.817, allocations: 359 MB / 0.6055 GB, free: 10.96 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.Templates.Plants.Controls.Utilities.Validation.CountTrue,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|couTru.y|couTruAllFal.y",fileNamePrefix="Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|couTru.y|couTruAllFal.y",fileNamePrefix="Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.785e-06/2.785e-06, allocations: 0 / 0.7871 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.461e-05/3.74e-05, allocations: 4.219 kB / 0.7871 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.002599/0.002636, allocations: 0.8807 MB / 0.7879 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0003776/0.003014, allocations: 95.69 kB / 0.788 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001165/0.00313, allocations: 3.938 kB / 0.788 GB, free: 11.81 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001504/0.003281, allocations: 24.53 kB / 0.7881 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.000168/0.003449, allocations: 15.81 kB / 0.7881 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001157/0.003564, allocations: 44.7 kB / 0.7881 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003295/0.003894, allocations: 251.4 kB / 0.7883 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003585/0.004252, allocations: 179.4 kB / 0.7885 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000247/0.004499, allocations: 188.2 kB / 0.7887 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002066/0.004706, allocations: 119.7 kB / 0.7888 GB, free: 11 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 7.183e-05/0.004778, allocations: 37.41 kB / 0.7888 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 4.729e-05/0.004825, allocations: 35.94 kB / 0.7889 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 9.731e-05/0.004922, allocations: 87.73 kB / 0.789 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001175/0.00504, allocations: 95.69 kB / 0.7891 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003693/0.005409, allocations: 271.8 kB / 0.7893 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.005413, allocations: 0 / 0.7893 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.342e-06/0.005415, allocations: 0.5625 kB / 0.7893 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.529e-05/0.00543, allocations: 1.25 kB / 0.7893 GB, free: 10.49 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.0007356/0.006166, allocations: 0.6362 MB / 0.7899 GB, free: 9.812 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.006212, allocations: 12.03 kB / 0.79 GB, free: 9.801 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001204/0.006333, allocations: 64.7 kB / 0.79 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004278/0.00676, allocations: 270.2 kB / 0.7903 GB, free: 9.449 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.223e-05/0.006823, allocations: 37.03 kB / 0.7903 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.278e-05/0.006865, allocations: 28.38 kB / 0.7903 GB, free: 9.387 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005288/0.007394, allocations: 283.8 kB / 0.7906 GB, free: 9.094 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.007408, allocations: 192 / 0.7906 GB, free: 9.094 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.429e-05/0.007442, allocations: 16.36 kB / 0.7906 GB, free: 9.078 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.491e-05/0.007457, allocations: 9.062 kB / 0.7906 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003015/0.007758, allocations: 119.4 kB / 0.7907 GB, free: 8.953 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001442/0.0092, allocations: 0.8953 MB / 0.7916 GB, free: 8.016 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001682/0.009368, allocations: 80.39 kB / 0.7917 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.78e-05/0.009416, allocations: 23.38 kB / 0.7917 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.007e-05/0.009446, allocations: 4 kB / 0.7917 GB, free: 7.879 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.093e-05/0.009477, allocations: 37.47 kB / 0.7918 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=6): time 1.753e-06/0.009479, allocations: 0.7188 kB / 0.7918 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6): time 0.0003005/0.00978, allocations: 81.53 kB / 0.7918 GB, free: 7.746 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.897e-05/0.009839, allocations: 88.45 kB / 0.7919 GB, free: 7.645 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004412/0.01028, allocations: 392 kB / 0.7923 GB, free: 7.25 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/0.0103, allocations: 25.7 kB / 0.7923 GB, free: 7.219 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001824/0.01048, allocations: 275.1 kB / 0.7926 GB, free: 6.945 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.886e-05/0.0105, allocations: 7.906 kB / 0.7926 GB, free: 6.938 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001476/0.01065, allocations: 95.33 kB / 0.7927 GB, free: 6.836 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001961/0.01084, allocations: 0.5118 MB / 0.7932 GB, free: 6.312 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.454e-05/0.01092, allocations: 19.98 kB / 0.7932 GB, free: 6.293 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.354e-05/0.011, allocations: 47.36 kB / 0.7932 GB, free: 6.238 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001266/0.01113, allocations: 68.02 kB / 0.7933 GB, free: 6.164 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.01113, allocations: 0 / 0.7933 GB, free: 6.164 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002638/0.01139, allocations: 131.1 kB / 0.7934 GB, free: 6.031 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/0.01142, allocations: 6.031 kB / 0.7934 GB, free: 6.027 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.01142, allocations: 0 / 0.7934 GB, free: 6.027 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/0.01144, allocations: 4 kB / 0.7934 GB, free: 6.023 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001547/0.0116, allocations: 33.27 kB / 0.7935 GB, free: 5.992 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.01161, allocations: 0 / 0.7935 GB, free: 5.992 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.028e-05/0.01168, allocations: 23.83 kB / 0.7935 GB, free: 5.969 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.277e-05/0.0117, allocations: 8 kB / 0.7935 GB, free: 5.961 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 18 (couTru.booToInt[1].y,couTru.booToInt[2].y,couTru.booToInt[3].y,couTru.booToInt[4].y,couTru.booToInt[5].y,couTru.booToInt[6].y,couTru.intEqu.y,couTru.mulMin.y,couTru.y,couTruAllFal.booToInt[1].y,couTruAllFal.booToInt[2].y,couTruAllFal.booToInt[3].y,couTruAllFal.booToInt[4].y,couTruAllFal.booToInt[5].y,couTruAllFal.booToInt[6].y,couTruAllFal.intEqu.y,couTruAllFal.mulMin.y,couTruAllFal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0001604/0.01186, allocations: 180.4 kB / 0.7937 GB, free: 5.773 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.598e-05/0.01193, allocations: 23.86 kB / 0.7937 GB, free: 5.75 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002289/0.01216, allocations: 91.8 kB / 0.7938 GB, free: 5.652 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.229e-06/0.01216, allocations: 0 / 0.7938 GB, free: 5.652 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.01217, allocations: 4 kB / 0.7938 GB, free: 5.648 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.01217, allocations: 1.188 kB / 0.7938 GB, free: 5.648 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005901/0.01276, allocations: 0.7254 MB / 0.7945 GB, free: 4.863 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.01277, allocations: 0.5312 kB / 0.7945 GB, free: 4.863 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.504e-05/0.0128, allocations: 4 kB / 0.7945 GB, free: 4.859 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.81e-06/0.01281, allocations: 4.875 kB / 0.7945 GB, free: 4.855 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.01282, allocations: 3.938 kB / 0.7945 GB, free: 4.852 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.612e-06/0.01282, allocations: 8.688 kB / 0.7945 GB, free: 4.844 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.01283, allocations: 4 kB / 0.7945 GB, free: 4.84 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001503/0.01298, allocations: 120.3 kB / 0.7946 GB, free: 4.688 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.701e-05/0.01301, allocations: 29.27 kB / 0.7947 GB, free: 4.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.041e-05/0.01304, allocations: 7.984 kB / 0.7947 GB, free: 4.652 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.301e-05/0.01309, allocations: 3.938 kB / 0.7947 GB, free: 4.648 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.499e-05/0.01312, allocations: 9.094 kB / 0.7947 GB, free: 4.641 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.55e-06/0.01313, allocations: 4 kB / 0.7947 GB, free: 4.637 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002022/0.01333, allocations: 221.1 kB / 0.7949 GB, free: 4.422 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.2e-07/0.01333, allocations: 0.7812 kB / 0.7949 GB, free: 4.422 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003044/0.01363, allocations: 51.78 kB / 0.795 GB, free: 4.371 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (couTru.y,couTru.intEqu.y,couTruAllFal.y,couTruAllFal.intEqu.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 0.0001546/0.01379, allocations: 104.6 kB / 0.7951 GB, free: 4.262 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002108/0.014, allocations: 63.59 kB / 0.7951 GB, free: 4.195 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.014, allocations: 0.9375 kB / 0.7951 GB, free: 4.195 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.893e-05/0.01403, allocations: 20.84 kB / 0.7951 GB, free: 4.172 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003179/0.01435, allocations: 29.05 kB / 0.7952 GB, free: 4.141 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001016/0.01537, allocations: 458.6 kB / 0.7956 GB, free: 3.645 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.039e-05/0.01546, allocations: 83.97 kB / 0.7957 GB, free: 3.543 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001086/0.01556, allocations: 37.59 kB / 0.7957 GB, free: 3.508 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.096e-05/0.01563, allocations: 18.81 kB / 0.7957 GB, free: 3.492 MB / 0.7448 GB Notification: Performance of SimCode: time 1.854e-06/0.01563, allocations: 3.938 kB / 0.7957 GB, free: 3.488 MB / 0.7448 GB Notification: Performance of Templates: time 0.005188/0.02082, allocations: 1.192 MB / 0.7969 GB, free: 2.34 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe ; mkfifo Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe ; head -c 1048576 < Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe >> ../files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.sim & ./Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Templates_Plants_Controls_Utilities_Validation_CountTrue.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.123722529038787]