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.001932/0.001932, allocations: 79.86 kB / 19.18 MB, free: 2.527 MB / 14.72 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.002355/0.002355, allocations: 163.2 kB / 22.46 MB, free: 5.359 MB / 14.72 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.49/1.49, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] 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 2.915/2.915, allocations: 377.8 MB / 0.6221 GB, free: 12.61 MB / 0.5919 GB " [Timeout remaining time 176] 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.9814 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.423e-05/3.654e-05, allocations: 5.516 kB / 0.9814 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.00236/0.002397, allocations: 0.8514 MB / 0.9822 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0003157/0.002712, allocations: 87.69 kB / 0.9823 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.743e-05/0.00281, allocations: 7.938 kB / 0.9823 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001268/0.002937, allocations: 15.8 kB / 0.9823 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.000158/0.003095, allocations: 23.8 kB / 0.9824 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 8.922e-05/0.003184, allocations: 39.97 kB / 0.9824 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003251/0.003509, allocations: 259.4 kB / 0.9827 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000314/0.003823, allocations: 166.9 kB / 0.9828 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002265/0.004049, allocations: 191.6 kB / 0.983 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001771/0.004227, allocations: 123.7 kB / 0.9831 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 6.504e-05/0.004292, allocations: 36 kB / 0.9832 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 4.915e-05/0.004341, allocations: 35.94 kB / 0.9832 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001077/0.004448, allocations: 87.7 kB / 0.9833 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001144/0.004563, allocations: 91.73 kB / 0.9834 GB, free: 10 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0005303/0.005093, allocations: 474.4 kB / 0.9838 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.005098, allocations: 0 / 0.9838 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of FrontEnd: time 7.01e-07/0.005098, allocations: 0 / 0.9838 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.049e-05/0.005109, allocations: 0 / 0.9838 GB, free: 9.539 MB / 0.9356 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.0007755/0.005884, allocations: 0.5246 MB / 0.9843 GB, free: 8.98 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.419e-05/0.005939, allocations: 12.03 kB / 0.9843 GB, free: 8.969 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.405e-05/0.006013, allocations: 36.7 kB / 0.9844 GB, free: 8.934 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004639/0.006477, allocations: 281.7 kB / 0.9846 GB, free: 8.633 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.662e-05/0.006533, allocations: 29.03 kB / 0.9847 GB, free: 8.605 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.147e-05/0.006585, allocations: 36.38 kB / 0.9847 GB, free: 8.57 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006737/0.007258, allocations: 396.2 kB / 0.9851 GB, free: 8.172 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.007271, allocations: 4.125 kB / 0.9851 GB, free: 8.168 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.281e-05/0.007304, allocations: 12.38 kB / 0.9851 GB, free: 8.156 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.137e-05/0.007316, allocations: 8.375 kB / 0.9851 GB, free: 8.148 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005101/0.007826, allocations: 307.5 kB / 0.9854 GB, free: 7.848 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001335/0.009161, allocations: 0.8417 MB / 0.9862 GB, free: 6.969 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001714/0.009332, allocations: 93.14 kB / 0.9863 GB, free: 6.859 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.283e-05/0.009405, allocations: 45.78 kB / 0.9863 GB, free: 6.809 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.117e-05/0.009426, allocations: 0 / 0.9863 GB, free: 6.809 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.899e-05/0.009455, allocations: 38.56 kB / 0.9864 GB, free: 6.762 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=6): time 1.233e-06/0.009456, allocations: 0 / 0.9864 GB, free: 6.762 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6): time 0.0003592/0.009815, allocations: 157.4 kB / 0.9865 GB, free: 6.602 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.704e-05/0.009872, allocations: 81.09 kB / 0.9866 GB, free: 6.504 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004023/0.01027, allocations: 341.5 kB / 0.9869 GB, free: 6.16 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.181e-05/0.0103, allocations: 25.7 kB / 0.987 GB, free: 6.129 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001743/0.01047, allocations: 220.4 kB / 0.9872 GB, free: 5.91 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.83e-05/0.01049, allocations: 15.89 kB / 0.9872 GB, free: 5.895 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001065/0.0106, allocations: 69.69 kB / 0.9873 GB, free: 5.82 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001819/0.01078, allocations: 338.8 kB / 0.9876 GB, free: 5.48 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001225/0.0109, allocations: 71.89 kB / 0.9876 GB, free: 5.41 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001308/0.01103, allocations: 83.7 kB / 0.9877 GB, free: 5.324 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001933/0.01122, allocations: 117.6 kB / 0.9878 GB, free: 5.203 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.01123, allocations: 3.938 kB / 0.9878 GB, free: 5.199 MB / 0.9356 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003289/0.01155, allocations: 197.4 kB / 0.988 GB, free: 5 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.01157, allocations: 8 kB / 0.988 GB, free: 4.992 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.01158, allocations: 4 kB / 0.988 GB, free: 4.988 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.01159, allocations: 0 / 0.988 GB, free: 4.988 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001505/0.01174, allocations: 31.92 kB / 0.9881 GB, free: 4.957 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.01174, allocations: 0 / 0.9881 GB, free: 4.957 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.355e-05/0.01181, allocations: 19.89 kB / 0.9881 GB, free: 4.938 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.01183, allocations: 4 kB / 0.9881 GB, free: 4.934 MB / 0.9356 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.0002242/0.01205, allocations: 199.7 kB / 0.9883 GB, free: 4.73 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.38e-05/0.01211, allocations: 23.84 kB / 0.9883 GB, free: 4.707 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002215/0.01234, allocations: 108.6 kB / 0.9884 GB, free: 4.59 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.01234, allocations: 0 / 0.9884 GB, free: 4.59 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.01234, allocations: 0 / 0.9884 GB, free: 4.59 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.01234, allocations: 0 / 0.9884 GB, free: 4.59 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005794/0.01292, allocations: 0.5624 MB / 0.989 GB, free: 3.977 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.01293, allocations: 192 / 0.989 GB, free: 3.977 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.51e-05/0.01295, allocations: 8 kB / 0.989 GB, free: 3.969 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.01295, allocations: 8.125 kB / 0.989 GB, free: 3.961 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.174e-06/0.01296, allocations: 4 kB / 0.989 GB, free: 3.957 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.01297, allocations: 3.938 kB / 0.989 GB, free: 3.953 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.01297, allocations: 4 kB / 0.989 GB, free: 3.949 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001609/0.01313, allocations: 111.9 kB / 0.9891 GB, free: 3.812 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.7e-05/0.01317, allocations: 19.89 kB / 0.9891 GB, free: 3.793 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.709e-05/0.01319, allocations: 8 kB / 0.9891 GB, free: 3.785 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.214e-05/0.01324, allocations: 3.938 kB / 0.9891 GB, free: 3.781 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.28e-05/0.01327, allocations: 8.031 kB / 0.9891 GB, free: 3.773 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.51e-06/0.01327, allocations: 7.938 kB / 0.9891 GB, free: 3.766 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002926/0.01357, allocations: 233.2 kB / 0.9894 GB, free: 3.535 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.01357, allocations: 4 kB / 0.9894 GB, free: 3.531 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000273/0.01384, allocations: 59.73 kB / 0.9894 GB, free: 3.473 MB / 0.9356 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.0001364/0.01398, allocations: 95.25 kB / 0.9895 GB, free: 3.367 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002184/0.0142, allocations: 107.8 kB / 0.9896 GB, free: 3.262 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.0142, allocations: 0 / 0.9896 GB, free: 3.262 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 2.678e-05/0.01422, allocations: 16 kB / 0.9896 GB, free: 3.246 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002416/0.01447, allocations: 32.53 kB / 0.9897 GB, free: 3.215 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000734/0.0152, allocations: 493.8 kB / 0.9901 GB, free: 2.699 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001915/0.01539, allocations: 175.2 kB / 0.9903 GB, free: 2.508 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 8.265e-05/0.01547, allocations: 45.61 kB / 0.9903 GB, free: 2.465 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.664e-05/0.01552, allocations: 16.5 kB / 0.9904 GB, free: 2.449 MB / 0.9356 GB Notification: Performance of SimCode: time 3.5e-07/0.01552, allocations: 0 / 0.9904 GB, free: 2.449 MB / 0.9356 GB Notification: Performance of Templates: time 0.004717/0.02024, allocations: 1.204 MB / 0.9915 GB, free: 1.266 MB / 0.9356 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: 8.18410212546587]