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.001418/0.001418, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.001792/0.001792, allocations: 185.3 kB / 24.09 MB, free: 416 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 0.9602/0.9602, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.782/1.782, allocations: 359 MB / 0.6055 GB, free: 10.87 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.284e-06/2.284e-06, allocations: 0 / 0.7875 GB, free: 11.09 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.178e-05/2.407e-05, allocations: 5.547 kB / 0.7875 GB, free: 11.09 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.004877/0.004901, allocations: 0.8645 MB / 0.7884 GB, free: 10.24 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0002858/0.005187, allocations: 88.25 kB / 0.7885 GB, free: 10.16 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.142e-05/0.005278, allocations: 5.156 kB / 0.7885 GB, free: 10.15 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.000131/0.005409, allocations: 31.67 kB / 0.7885 GB, free: 10.12 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001356/0.005545, allocations: 11.86 kB / 0.7885 GB, free: 10.11 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 9.276e-05/0.005637, allocations: 40.53 kB / 0.7886 GB, free: 10.07 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.000259/0.005896, allocations: 259.4 kB / 0.7888 GB, free: 9.816 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002824/0.006179, allocations: 179.8 kB / 0.789 GB, free: 9.637 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002934/0.006472, allocations: 211.6 kB / 0.7892 GB, free: 9.43 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001301/0.006602, allocations: 116.8 kB / 0.7893 GB, free: 9.316 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.547e-05/0.006648, allocations: 28 kB / 0.7893 GB, free: 9.289 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 3.809e-05/0.006686, allocations: 28 kB / 0.7893 GB, free: 9.262 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 6.823e-05/0.006754, allocations: 75.77 kB / 0.7894 GB, free: 9.188 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 8.149e-05/0.006836, allocations: 88.34 kB / 0.7895 GB, free: 9.102 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002586/0.007094, allocations: 255.6 kB / 0.7897 GB, free: 8.852 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.007097, allocations: 0 / 0.7897 GB, free: 8.852 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.122e-06/0.007098, allocations: 4.719 kB / 0.7897 GB, free: 8.848 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.007104, allocations: 0 / 0.7897 GB, free: 8.848 MB / 0.698 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.00382/0.01092, allocations: 0.6295 MB / 0.7904 GB, free: 8.18 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.01096, allocations: 8.031 kB / 0.7904 GB, free: 8.172 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.681e-05/0.01105, allocations: 68.7 kB / 0.7904 GB, free: 8.105 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000289/0.01134, allocations: 253.5 kB / 0.7907 GB, free: 7.832 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.337e-05/0.01138, allocations: 37.02 kB / 0.7907 GB, free: 7.797 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.384e-05/0.01142, allocations: 32.38 kB / 0.7907 GB, free: 7.766 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003368/0.01175, allocations: 261.9 kB / 0.791 GB, free: 7.496 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.01177, allocations: 4.172 kB / 0.791 GB, free: 7.492 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.184e-05/0.01179, allocations: 16.38 kB / 0.791 GB, free: 7.477 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.263e-05/0.0118, allocations: 8.375 kB / 0.791 GB, free: 7.469 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001369/0.01194, allocations: 91.42 kB / 0.7911 GB, free: 7.379 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009215/0.01286, allocations: 0.8091 MB / 0.7919 GB, free: 6.535 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001075/0.01297, allocations: 74.05 kB / 0.792 GB, free: 6.438 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.823e-05/0.01299, allocations: 24.48 kB / 0.792 GB, free: 6.406 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.939e-05/0.01301, allocations: 4.594 kB / 0.792 GB, free: 6.402 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/0.01304, allocations: 38.77 kB / 0.792 GB, free: 6.355 MB / 0.698 GB Notification: Performance of pre-optimization done (n=6): time 1.934e-06/0.01304, allocations: 0 / 0.792 GB, free: 6.355 MB / 0.698 GB Notification: Performance of matching and sorting (n=6): time 0.003201/0.01624, allocations: 85.47 kB / 0.7921 GB, free: 6.266 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.153e-05/0.01629, allocations: 77.11 kB / 0.7922 GB, free: 6.172 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003164/0.0166, allocations: 393.1 kB / 0.7926 GB, free: 5.77 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.327e-05/0.01661, allocations: 29.7 kB / 0.7926 GB, free: 5.734 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000136/0.01675, allocations: 271.1 kB / 0.7928 GB, free: 5.465 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.478e-05/0.01677, allocations: 15.91 kB / 0.7929 GB, free: 5.449 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/0.01687, allocations: 96.77 kB / 0.793 GB, free: 5.348 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.01702, allocations: 0.5195 MB / 0.7935 GB, free: 4.816 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.477e-05/0.01706, allocations: 8 kB / 0.7935 GB, free: 4.809 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.492e-05/0.01711, allocations: 52.78 kB / 0.7935 GB, free: 4.75 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.144e-05/0.0172, allocations: 63.22 kB / 0.7936 GB, free: 4.68 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.0172, allocations: 0 / 0.7936 GB, free: 4.68 MB / 0.698 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001534/0.01735, allocations: 113.5 kB / 0.7937 GB, free: 4.562 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.01737, allocations: 10.34 kB / 0.7937 GB, free: 4.555 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.01737, allocations: 1.5 kB / 0.7937 GB, free: 4.555 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.01738, allocations: 0 / 0.7937 GB, free: 4.555 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.01749, allocations: 31.92 kB / 0.7937 GB, free: 4.523 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.389e-06/0.0175, allocations: 4 kB / 0.7937 GB, free: 4.52 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.569e-05/0.01754, allocations: 24.39 kB / 0.7938 GB, free: 4.496 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.442e-05/0.01756, allocations: 10.02 kB / 0.7938 GB, free: 4.488 MB / 0.698 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 (couTruAllFal.booToInt[6].y,couTruAllFal.booToInt[5].y,couTruAllFal.booToInt[4].y,couTruAllFal.booToInt[3].y,couTruAllFal.booToInt[2].y,couTruAllFal.booToInt[1].y,couTruAllFal.intEqu.y,couTruAllFal.mulMin.y,couTruAllFal.y,couTru.booToInt[6].y,couTru.booToInt[5].y,couTru.booToInt[4].y,couTru.booToInt[3].y,couTru.booToInt[2].y,couTru.booToInt[1].y,couTru.intEqu.y,couTru.mulMin.y,couTru.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.0001112/0.01767, allocations: 174.9 kB / 0.7939 GB, free: 4.309 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.923e-05/0.01772, allocations: 28.33 kB / 0.794 GB, free: 4.281 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001449/0.01786, allocations: 95.08 kB / 0.7941 GB, free: 4.176 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.01786, allocations: 1.469 kB / 0.7941 GB, free: 4.176 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.01787, allocations: 4 kB / 0.7941 GB, free: 4.172 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.205e-06/0.01787, allocations: 0 / 0.7941 GB, free: 4.172 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003959/0.01826, allocations: 0.6401 MB / 0.7947 GB, free: 3.48 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.01827, allocations: 8.938 kB / 0.7947 GB, free: 3.473 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.893e-05/0.01829, allocations: 4 kB / 0.7947 GB, free: 3.469 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.01829, allocations: 0 / 0.7947 GB, free: 3.469 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.829e-06/0.01829, allocations: 0.75 kB / 0.7947 GB, free: 3.469 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/0.0183, allocations: 7.984 kB / 0.7947 GB, free: 3.461 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.0183, allocations: 4.562 kB / 0.7947 GB, free: 3.457 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.493e-05/0.0184, allocations: 131.8 kB / 0.7948 GB, free: 3.293 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.135e-05/0.01842, allocations: 16.94 kB / 0.7948 GB, free: 3.277 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.657e-05/0.01844, allocations: 8 kB / 0.7949 GB, free: 3.27 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.046e-05/0.01847, allocations: 4 kB / 0.7949 GB, free: 3.266 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.658e-05/0.01848, allocations: 8.828 kB / 0.7949 GB, free: 3.258 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.01849, allocations: 4 kB / 0.7949 GB, free: 3.254 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001191/0.01861, allocations: 209.9 kB / 0.7951 GB, free: 3.051 MB / 0.698 GB Notification: Performance of sort global known variables: time 6e-08/0.01861, allocations: 0 / 0.7951 GB, free: 3.051 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002271/0.01883, allocations: 55.73 kB / 0.7951 GB, free: 2.996 MB / 0.698 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.959e-05/0.01893, allocations: 105.3 kB / 0.7952 GB, free: 2.883 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003118/0.02205, allocations: 59.59 kB / 0.7953 GB, free: 2.82 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.02205, allocations: 0 / 0.7953 GB, free: 2.82 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.374e-05/0.02208, allocations: 30.22 kB / 0.7953 GB, free: 2.789 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000211/0.02229, allocations: 24.44 kB / 0.7953 GB, free: 2.766 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005492/0.02284, allocations: 457.8 kB / 0.7958 GB, free: 2.273 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.645e-05/0.02289, allocations: 83.97 kB / 0.7959 GB, free: 2.172 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.751e-05/0.02294, allocations: 23.28 kB / 0.7959 GB, free: 2.152 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.923e-05/0.02302, allocations: 86.2 kB / 0.796 GB, free: 2.066 MB / 0.698 GB Notification: Performance of SimCode: time 7.51e-07/0.02302, allocations: 0 / 0.796 GB, free: 2.066 MB / 0.698 GB Notification: Performance of Templates: time 0.007373/0.03039, allocations: 1.27 MB / 0.7972 GB, free: 0.8359 MB / 0.698 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.783684018068016]