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.001004/0.001004, allocations: 83.59 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.0009671/0.0009671, 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.9711/0.9711, allocations: 177.1 MB / 204.2 MB, free: 5.641 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.833/1.833, allocations: 359 MB / 0.6052 GB, free: 11 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.365e-06/2.365e-06, allocations: 3.938 kB / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.705e-05/2.942e-05, allocations: 7 kB / 0.7871 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.002341/0.00237, allocations: 0.8778 MB / 0.7879 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0003514/0.002722, allocations: 88.72 kB / 0.788 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001055/0.002827, allocations: 7.938 kB / 0.788 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001485/0.002976, allocations: 23.78 kB / 0.7881 GB, free: 11.51 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001551/0.003131, allocations: 16.98 kB / 0.7881 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 9.678e-05/0.003228, allocations: 43.95 kB / 0.7881 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003083/0.003536, allocations: 251.4 kB / 0.7884 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003178/0.003854, allocations: 175.4 kB / 0.7885 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002247/0.004078, allocations: 192.5 kB / 0.7887 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001879/0.004266, allocations: 123.6 kB / 0.7888 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 6.814e-05/0.004334, allocations: 32 kB / 0.7889 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 4.685e-05/0.004381, allocations: 32.66 kB / 0.7889 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 9.304e-05/0.004474, allocations: 96.67 kB / 0.789 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001168/0.004591, allocations: 83.77 kB / 0.7891 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003642/0.004955, allocations: 278.9 kB / 0.7893 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.004959, allocations: 1.625 kB / 0.7893 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.513e-06/0.004961, allocations: 0 / 0.7893 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.676e-06/0.004969, allocations: 0 / 0.7893 GB, free: 10.21 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.0007574/0.005727, allocations: 0.6363 MB / 0.7899 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.005772, allocations: 9.25 kB / 0.79 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001201/0.005892, allocations: 68.69 kB / 0.79 GB, free: 9.461 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004581/0.00635, allocations: 269.3 kB / 0.7903 GB, free: 9.172 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.603e-05/0.006406, allocations: 29.03 kB / 0.7903 GB, free: 9.145 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.252e-05/0.006459, allocations: 37.97 kB / 0.7903 GB, free: 9.109 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005257/0.006984, allocations: 278.6 kB / 0.7906 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/0.007001, allocations: 192 / 0.7906 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.057e-05/0.007032, allocations: 16.38 kB / 0.7906 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.671e-05/0.007048, allocations: 15.91 kB / 0.7906 GB, free: 8.793 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002934/0.007342, allocations: 119.4 kB / 0.7908 GB, free: 8.676 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001353/0.008695, allocations: 0.8982 MB / 0.7916 GB, free: 7.734 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001631/0.008858, allocations: 78.14 kB / 0.7917 GB, free: 7.633 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.963e-05/0.008907, allocations: 23.38 kB / 0.7917 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.369e-05/0.008941, allocations: 4.078 kB / 0.7917 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.824e-05/0.008979, allocations: 41.39 kB / 0.7918 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=6): time 2.385e-06/0.008982, allocations: 0.7188 kB / 0.7918 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6): time 0.0003217/0.009303, allocations: 77.53 kB / 0.7918 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.442e-05/0.009358, allocations: 82.75 kB / 0.7919 GB, free: 7.367 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004297/0.009788, allocations: 392 kB / 0.7923 GB, free: 6.973 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/0.009803, allocations: 29.64 kB / 0.7923 GB, free: 6.938 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001825/0.009985, allocations: 267.2 kB / 0.7926 GB, free: 6.672 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.913e-05/0.01, allocations: 16.81 kB / 0.7926 GB, free: 6.656 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001499/0.01015, allocations: 91.33 kB / 0.7927 GB, free: 6.559 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001872/0.01034, allocations: 0.5128 MB / 0.7932 GB, free: 6.035 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.999e-05/0.01041, allocations: 19.98 kB / 0.7932 GB, free: 6.016 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.252e-05/0.0105, allocations: 51.97 kB / 0.7933 GB, free: 5.957 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001387/0.01064, allocations: 68.59 kB / 0.7933 GB, free: 5.883 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.01065, allocations: 0 / 0.7933 GB, free: 5.883 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002622/0.01091, allocations: 125.5 kB / 0.7934 GB, free: 5.754 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.707e-05/0.01093, allocations: 9.562 kB / 0.7934 GB, free: 5.746 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/0.01094, allocations: 4.656 kB / 0.7935 GB, free: 5.742 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.671e-05/0.01097, allocations: 0 / 0.7935 GB, free: 5.742 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001735/0.01114, allocations: 37.14 kB / 0.7935 GB, free: 5.707 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.01115, allocations: 0 / 0.7935 GB, free: 5.707 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.704e-05/0.01122, allocations: 19.83 kB / 0.7935 GB, free: 5.688 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.421e-05/0.01128, allocations: 4.844 kB / 0.7935 GB, free: 5.684 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.0001571/0.01144, allocations: 184.2 kB / 0.7937 GB, free: 5.492 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.238e-05/0.01149, allocations: 19.86 kB / 0.7937 GB, free: 5.473 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001788/0.01167, allocations: 94.95 kB / 0.7938 GB, free: 5.371 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.01167, allocations: 0.6875 kB / 0.7938 GB, free: 5.371 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.01168, allocations: 0 / 0.7938 GB, free: 5.371 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.01168, allocations: 4.547 kB / 0.7938 GB, free: 5.367 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004449/0.01213, allocations: 0.7221 MB / 0.7945 GB, free: 4.586 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.01213, allocations: 0 / 0.7945 GB, free: 4.586 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.775e-05/0.01216, allocations: 4.531 kB / 0.7945 GB, free: 4.582 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.01216, allocations: 1.25 kB / 0.7945 GB, free: 4.582 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.42e-06/0.01217, allocations: 0 / 0.7945 GB, free: 4.582 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.01217, allocations: 7.938 kB / 0.7945 GB, free: 4.574 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.01217, allocations: 5.031 kB / 0.7945 GB, free: 4.57 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.173e-05/0.01226, allocations: 127.7 kB / 0.7946 GB, free: 4.41 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.238e-05/0.01229, allocations: 23.89 kB / 0.7947 GB, free: 4.387 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.464e-05/0.0123, allocations: 4.922 kB / 0.7947 GB, free: 4.383 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.129e-05/0.01233, allocations: 7.938 kB / 0.7947 GB, free: 4.375 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.969e-05/0.01235, allocations: 12.78 kB / 0.7947 GB, free: 4.363 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-06/0.01235, allocations: 0 / 0.7947 GB, free: 4.363 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.000124/0.01248, allocations: 222.1 kB / 0.7949 GB, free: 4.148 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01248, allocations: 0 / 0.7949 GB, free: 4.148 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001766/0.01265, allocations: 55.72 kB / 0.795 GB, free: 4.094 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 9.635e-05/0.01275, allocations: 104.4 kB / 0.7951 GB, free: 3.984 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001239/0.01287, allocations: 64.44 kB / 0.7951 GB, free: 3.918 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.01288, allocations: 0 / 0.7951 GB, free: 3.918 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.567e-05/0.01289, allocations: 21.84 kB / 0.7951 GB, free: 3.895 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001787/0.01307, allocations: 24.48 kB / 0.7952 GB, free: 3.867 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004739/0.01354, allocations: 463.6 kB / 0.7956 GB, free: 3.367 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.728e-05/0.01359, allocations: 86.84 kB / 0.7957 GB, free: 3.266 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.388e-05/0.01365, allocations: 41.53 kB / 0.7957 GB, free: 3.227 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.657e-05/0.01368, allocations: 16.5 kB / 0.7957 GB, free: 3.211 MB / 0.7448 GB Notification: Performance of SimCode: time 5.71e-07/0.01368, allocations: 0 / 0.7957 GB, free: 3.211 MB / 0.7448 GB Notification: Performance of Templates: time 0.003263/0.01695, allocations: 1.198 MB / 0.7969 GB, free: 2.055 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.200654895976186]