Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0007835/0.0007835, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.000769/0.000769, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.851/0.851, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.672/1.672, allocations: 377.9 MB / 0.6229 GB, free: 8.645 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.304e-06/2.304e-06, allocations: 0 / 0.9822 GB, free: 0.957 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.841e-05/2.072e-05, allocations: 2.281 kB / 0.9822 GB, free: 0.9531 MB / 0.8855 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.001296/0.001317, allocations: 0.8348 MB / 0.983 GB, free: 124 kB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.0002379/0.001554, allocations: 95.62 kB / 0.9831 GB, free: 28 kB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.81e-05/0.001633, allocations: 7.938 kB / 0.9831 GB, free: 20 kB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0001213/0.001754, allocations: 23.91 kB / 0.9831 GB, free: 15.99 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0001262/0.00188, allocations: 19.69 kB / 0.9831 GB, free: 15.98 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 6.054e-05/0.001941, allocations: 39.95 kB / 0.9832 GB, free: 15.94 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0002074/0.002148, allocations: 255.4 kB / 0.9834 GB, free: 15.69 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000235/0.002383, allocations: 166.9 kB / 0.9836 GB, free: 15.52 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001253/0.002508, allocations: 191.6 kB / 0.9838 GB, free: 15.33 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000117/0.002625, allocations: 123.7 kB / 0.9839 GB, free: 15.21 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 4.278e-05/0.002668, allocations: 32 kB / 0.9839 GB, free: 15.18 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 2.81e-05/0.002696, allocations: 36 kB / 0.984 GB, free: 15.14 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 5.829e-05/0.002755, allocations: 87.69 kB / 0.984 GB, free: 15.06 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 6.862e-05/0.002823, allocations: 99.67 kB / 0.9841 GB, free: 14.96 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002922/0.003115, allocations: 470.4 kB / 0.9846 GB, free: 14.5 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.003118, allocations: 0 / 0.9846 GB, free: 14.5 MB / 0.9011 GB Notification: Performance of FrontEnd: time 9.02e-07/0.003119, allocations: 0 / 0.9846 GB, free: 14.5 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.688e-06/0.003123, allocations: 0 / 0.9846 GB, free: 14.5 MB / 0.9011 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.0004617/0.003585, allocations: 0.5285 MB / 0.9851 GB, free: 13.94 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.003618, allocations: 8.031 kB / 0.9851 GB, free: 13.93 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.272e-05/0.00367, allocations: 44.66 kB / 0.9851 GB, free: 13.89 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000282/0.003952, allocations: 274.4 kB / 0.9854 GB, free: 13.59 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.197e-05/0.003994, allocations: 41.03 kB / 0.9855 GB, free: 13.55 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.646e-05/0.004021, allocations: 28.38 kB / 0.9855 GB, free: 13.53 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003965/0.004417, allocations: 404.2 kB / 0.9859 GB, free: 13.12 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.004429, allocations: 192 / 0.9859 GB, free: 13.12 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.877e-05/0.004448, allocations: 12.38 kB / 0.9859 GB, free: 13.11 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.004455, allocations: 12.38 kB / 0.9859 GB, free: 13.1 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003028/0.004757, allocations: 307.5 kB / 0.9862 GB, free: 12.8 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007994/0.005557, allocations: 0.8261 MB / 0.987 GB, free: 11.93 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001085/0.005665, allocations: 97.14 kB / 0.9871 GB, free: 11.82 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.266e-05/0.005708, allocations: 45.8 kB / 0.9871 GB, free: 11.77 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.822e-05/0.005726, allocations: 0 / 0.9871 GB, free: 11.77 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.95e-05/0.005746, allocations: 38.56 kB / 0.9872 GB, free: 11.72 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=6): time 9.82e-07/0.005747, allocations: 0 / 0.9872 GB, free: 11.72 MB / 0.9011 GB Notification: Performance of matching and sorting (n=6): time 0.0002308/0.005977, allocations: 161.8 kB / 0.9873 GB, free: 11.56 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.765e-05/0.006015, allocations: 81.05 kB / 0.9874 GB, free: 11.46 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004839/0.006499, allocations: 341.6 kB / 0.9877 GB, free: 11.12 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 9.939e-06/0.006509, allocations: 25.7 kB / 0.9877 GB, free: 11.09 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 9.343e-05/0.006602, allocations: 220.3 kB / 0.988 GB, free: 10.87 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 9.919e-06/0.006612, allocations: 11.94 kB / 0.988 GB, free: 10.86 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.376e-05/0.006676, allocations: 81.64 kB / 0.988 GB, free: 10.77 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 9.572e-05/0.006772, allocations: 334.8 kB / 0.9884 GB, free: 10.44 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.131e-05/0.006843, allocations: 63.95 kB / 0.9884 GB, free: 10.38 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.318e-05/0.006926, allocations: 95.75 kB / 0.9885 GB, free: 10.28 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001067/0.007033, allocations: 113.6 kB / 0.9886 GB, free: 10.16 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.007037, allocations: 3.984 kB / 0.9886 GB, free: 10.16 MB / 0.9011 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001766/0.007213, allocations: 197.4 kB / 0.9888 GB, free: 9.957 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.007225, allocations: 4 kB / 0.9888 GB, free: 9.953 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.007229, allocations: 0 / 0.9888 GB, free: 9.953 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.007244, allocations: 4 kB / 0.9888 GB, free: 9.949 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.408e-05/0.007338, allocations: 31.92 kB / 0.9889 GB, free: 9.918 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.007345, allocations: 4 kB / 0.9889 GB, free: 9.914 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.246e-05/0.007377, allocations: 15.89 kB / 0.9889 GB, free: 9.898 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.618e-05/0.007393, allocations: 8 kB / 0.9889 GB, free: 9.891 MB / 0.9011 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.0001253/0.007519, allocations: 199.7 kB / 0.9891 GB, free: 9.688 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.931e-05/0.007548, allocations: 23.86 kB / 0.9891 GB, free: 9.664 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001274/0.007675, allocations: 100.7 kB / 0.9892 GB, free: 9.555 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.007678, allocations: 8.031 kB / 0.9892 GB, free: 9.547 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.007682, allocations: 0 / 0.9892 GB, free: 9.547 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.007685, allocations: 0 / 0.9892 GB, free: 9.547 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002931/0.007978, allocations: 0.5624 MB / 0.9897 GB, free: 8.934 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.007979, allocations: 4 kB / 0.9897 GB, free: 8.93 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.146e-05/0.00799, allocations: 4 kB / 0.9898 GB, free: 8.926 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-06/0.007992, allocations: 0 / 0.9898 GB, free: 8.926 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.631e-06/0.007998, allocations: 192 / 0.9898 GB, free: 8.926 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.008001, allocations: 7.938 kB / 0.9898 GB, free: 8.918 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.008002, allocations: 8.062 kB / 0.9898 GB, free: 8.91 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.854e-05/0.008081, allocations: 115.5 kB / 0.9899 GB, free: 8.77 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 1.852e-05/0.0081, allocations: 23.83 kB / 0.9899 GB, free: 8.746 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.353e-05/0.008113, allocations: 4 kB / 0.9899 GB, free: 8.742 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.55e-05/0.008139, allocations: 11.88 kB / 0.9899 GB, free: 8.73 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.756e-05/0.008156, allocations: 8 kB / 0.9899 GB, free: 8.723 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-06/0.008158, allocations: 4 kB / 0.9899 GB, free: 8.719 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0001522/0.00831, allocations: 237.2 kB / 0.9902 GB, free: 8.488 MB / 0.9011 GB Notification: Performance of sort global known variables: time 6e-08/0.00831, allocations: 0 / 0.9902 GB, free: 8.488 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0001551/0.008465, allocations: 55.73 kB / 0.9902 GB, free: 8.434 MB / 0.9011 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.992e-05/0.008535, allocations: 107.2 kB / 0.9903 GB, free: 8.32 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0001405/0.008676, allocations: 99.88 kB / 0.9904 GB, free: 8.223 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.008677, allocations: 0 / 0.9904 GB, free: 8.223 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 1.571e-05/0.008693, allocations: 15.94 kB / 0.9904 GB, free: 8.207 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001568/0.00885, allocations: 20.48 kB / 0.9904 GB, free: 8.188 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004716/0.009321, allocations: 0.515 MB / 0.9909 GB, free: 7.625 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000101/0.009422, allocations: 179.4 kB / 0.9911 GB, free: 7.434 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.882e-05/0.009461, allocations: 20.5 kB / 0.9911 GB, free: 7.414 MB / 0.9011 GB Notification: Performance of SimCode: time 3.91e-07/0.009462, allocations: 4 kB / 0.9911 GB, free: 7.41 MB / 0.9011 GB Notification: Performance of Templates: time 0.003287/0.01275, allocations: 3.186 MB / 0.9942 GB, free: 4.227 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.sim & ./Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Plants_Controls_Utilities_Validation_CountTrue.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.540776175446808]