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.001271/0.001271, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001283/0.001283, allocations: 165 kB / 23.82 MB, free: 0.75 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.9191/0.9191, allocations: 177.1 MB / 204.2 MB, free: 5.605 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.715/1.715, allocations: 359 MB / 0.6052 GB, free: 11.04 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 5.43e-06/5.43e-06, allocations: 5.094 kB / 0.7871 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.313e-05/2.856e-05, allocations: 8.781 kB / 0.7871 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.002115/0.002143, allocations: 0.8696 MB / 0.7879 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0003708/0.002514, allocations: 92.69 kB / 0.788 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001021/0.002616, allocations: 3.938 kB / 0.788 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001485/0.002765, allocations: 24.45 kB / 0.7881 GB, free: 11.56 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.000158/0.002923, allocations: 19.8 kB / 0.7881 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001013/0.003024, allocations: 36.53 kB / 0.7881 GB, free: 11.51 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000297/0.003321, allocations: 263.4 kB / 0.7884 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003179/0.003639, allocations: 171.6 kB / 0.7885 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002835/0.003923, allocations: 215.6 kB / 0.7887 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001393/0.004062, allocations: 109.3 kB / 0.7888 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 5.784e-05/0.00412, allocations: 28 kB / 0.7889 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 4.719e-05/0.004167, allocations: 28 kB / 0.7889 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 8.035e-05/0.004247, allocations: 79.7 kB / 0.789 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 9.649e-05/0.004344, allocations: 91.19 kB / 0.7891 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003423/0.004686, allocations: 247 kB / 0.7893 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.004689, allocations: 0 / 0.7893 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.21e-07/0.00469, allocations: 0 / 0.7893 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.823e-06/0.004697, allocations: 0 / 0.7893 GB, free: 10.3 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.0006995/0.005396, allocations: 0.6324 MB / 0.7899 GB, free: 9.629 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.005439, allocations: 8.031 kB / 0.7899 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.882e-05/0.005538, allocations: 64.7 kB / 0.79 GB, free: 9.559 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003291/0.005867, allocations: 264.7 kB / 0.7902 GB, free: 9.273 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.262e-05/0.005919, allocations: 36.97 kB / 0.7903 GB, free: 9.238 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.654e-05/0.005956, allocations: 28.97 kB / 0.7903 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004263/0.006382, allocations: 284.2 kB / 0.7906 GB, free: 8.918 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.006396, allocations: 4.172 kB / 0.7906 GB, free: 8.914 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.725e-05/0.006423, allocations: 12.38 kB / 0.7906 GB, free: 8.902 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.582e-05/0.006439, allocations: 8.375 kB / 0.7906 GB, free: 8.895 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002261/0.006665, allocations: 119.4 kB / 0.7907 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001108/0.007773, allocations: 0.9028 MB / 0.7916 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001286/0.007901, allocations: 76.2 kB / 0.7917 GB, free: 7.734 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.64e-05/0.007938, allocations: 23.38 kB / 0.7917 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.304e-05/0.007961, allocations: 8.078 kB / 0.7917 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/0.007985, allocations: 37.92 kB / 0.7917 GB, free: 7.648 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=6): time 1.633e-06/0.007986, allocations: 0 / 0.7917 GB, free: 7.648 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6): time 0.000244/0.00823, allocations: 82.88 kB / 0.7918 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.177e-05/0.008272, allocations: 85.09 kB / 0.7919 GB, free: 7.461 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006511/0.008923, allocations: 388 kB / 0.7922 GB, free: 7.07 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.35e-05/0.008937, allocations: 27.23 kB / 0.7923 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001408/0.009078, allocations: 267.2 kB / 0.7925 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.475e-05/0.009092, allocations: 15.89 kB / 0.7925 GB, free: 6.758 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001115/0.009204, allocations: 91.33 kB / 0.7926 GB, free: 6.66 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.009352, allocations: 0.5123 MB / 0.7931 GB, free: 6.137 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.549e-05/0.009408, allocations: 23.98 kB / 0.7932 GB, free: 6.113 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.91e-05/0.009477, allocations: 48.73 kB / 0.7932 GB, free: 6.059 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001051/0.009582, allocations: 71.23 kB / 0.7933 GB, free: 5.98 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.009585, allocations: 0 / 0.7933 GB, free: 5.98 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002165/0.009801, allocations: 138 kB / 0.7934 GB, free: 5.84 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.009819, allocations: 4 kB / 0.7934 GB, free: 5.836 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.009824, allocations: 1.969 kB / 0.7934 GB, free: 5.836 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.009841, allocations: 4 kB / 0.7934 GB, free: 5.832 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001216/0.009962, allocations: 27.98 kB / 0.7934 GB, free: 5.805 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.009967, allocations: 0 / 0.7934 GB, free: 5.805 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.167e-05/0.01002, allocations: 19.83 kB / 0.7935 GB, free: 5.785 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.753e-05/0.01004, allocations: 8.531 kB / 0.7935 GB, free: 5.777 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.0001255/0.01016, allocations: 184.8 kB / 0.7936 GB, free: 5.586 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.608e-05/0.01022, allocations: 27.86 kB / 0.7937 GB, free: 5.559 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001572/0.01038, allocations: 90.95 kB / 0.7938 GB, free: 5.461 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.01038, allocations: 1.125 kB / 0.7938 GB, free: 5.461 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.01038, allocations: 4 kB / 0.7938 GB, free: 5.457 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.01039, allocations: 3.984 kB / 0.7938 GB, free: 5.453 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004197/0.01081, allocations: 0.7148 MB / 0.7945 GB, free: 4.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.01081, allocations: 0 / 0.7945 GB, free: 4.68 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.589e-05/0.01082, allocations: 7.938 kB / 0.7945 GB, free: 4.672 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.01083, allocations: 4.906 kB / 0.7945 GB, free: 4.668 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-06/0.01083, allocations: 0 / 0.7945 GB, free: 4.668 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.379e-06/0.01084, allocations: 4.781 kB / 0.7945 GB, free: 4.664 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.01084, allocations: 4 kB / 0.7945 GB, free: 4.66 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.742e-05/0.01092, allocations: 125.5 kB / 0.7946 GB, free: 4.504 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.169e-05/0.01094, allocations: 27.84 kB / 0.7946 GB, free: 4.477 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.432e-05/0.01095, allocations: 4 kB / 0.7946 GB, free: 4.473 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.895e-05/0.01097, allocations: 3.938 kB / 0.7946 GB, free: 4.469 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.854e-05/0.01099, allocations: 4 kB / 0.7946 GB, free: 4.465 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.806e-06/0.01099, allocations: 6.719 kB / 0.7946 GB, free: 4.461 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001099/0.0111, allocations: 221.1 kB / 0.7949 GB, free: 4.246 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.0111, allocations: 0 / 0.7949 GB, free: 4.246 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001553/0.01126, allocations: 55.78 kB / 0.7949 GB, free: 4.191 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 6.841e-05/0.01133, allocations: 103.2 kB / 0.795 GB, free: 4.082 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001233/0.01145, allocations: 66.84 kB / 0.7951 GB, free: 4.016 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.01145, allocations: 0 / 0.7951 GB, free: 4.016 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.671e-05/0.01147, allocations: 19.62 kB / 0.7951 GB, free: 3.992 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001725/0.01164, allocations: 32.98 kB / 0.7951 GB, free: 3.957 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004334/0.01207, allocations: 467.1 kB / 0.7956 GB, free: 3.453 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.425e-05/0.01212, allocations: 83.97 kB / 0.7956 GB, free: 3.352 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.008e-05/0.01217, allocations: 37.59 kB / 0.7957 GB, free: 3.316 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.265e-05/0.0122, allocations: 17.28 kB / 0.7957 GB, free: 3.301 MB / 0.7448 GB Notification: Performance of SimCode: time 7.81e-07/0.0122, allocations: 0 / 0.7957 GB, free: 3.301 MB / 0.7448 GB Notification: Performance of Templates: time 0.003826/0.01603, allocations: 1.235 MB / 0.7969 GB, free: 2.098 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: 4.842452289070934]