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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|couTru.y|couTruAllFal.y",fileNamePrefix="Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00193/0.00193, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002366/0.002366, allocations: 193.7 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 222.9 MB / 239.9 MB, free: 4.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.78/2.78, allocations: 469.8 MB / 0.742 GB, free: 7.602 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 73.09 kB / 0.9081 GB, free: 34.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3318/0.3337, allocations: 159.1 MB / 1.063 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.00232/0.3361, allocations: 0.9093 MB / 1.064 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0002562/0.3363, allocations: 91.56 kB / 1.064 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.46e-05/0.3364, allocations: 4 kB / 1.064 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001216/0.3366, allocations: 15.86 kB / 1.064 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001256/0.3367, allocations: 23.86 kB / 1.064 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 7.639e-05/0.3368, allocations: 31.98 kB / 1.065 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003076/0.3371, allocations: 251.5 kB / 1.065 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004234/0.3375, allocations: 294.3 kB / 1.065 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001259/0.3377, allocations: 127.5 kB / 1.065 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001754/0.3378, allocations: 151.2 kB / 1.065 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.034e-05/0.3379, allocations: 32 kB / 1.065 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 4.103e-05/0.3379, allocations: 32 kB / 1.065 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.687e-05/0.338, allocations: 83.72 kB / 1.065 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001432/0.3382, allocations: 155.1 kB / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004285/0.3386, allocations: 438.6 kB / 1.066 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.311e-06/0.3386, allocations: 4 kB / 1.066 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.114e-06/0.3386, allocations: 0 / 1.066 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.614e-06/0.3387, allocations: 0 / 1.066 GB, free: 12.02 MB / 0.8262 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.0007452/0.3394, allocations: 0.5928 MB / 1.067 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.3395, allocations: 12.03 kB / 1.067 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.045e-05/0.3395, allocations: 40.47 kB / 1.067 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004073/0.3399, allocations: 336 kB / 1.067 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.345e-05/0.34, allocations: 29.03 kB / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.718e-05/0.3401, allocations: 36.38 kB / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006348/0.3407, allocations: 396.2 kB / 1.067 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.3407, allocations: 4.125 kB / 1.067 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.007e-05/0.3408, allocations: 19.94 kB / 1.067 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.212e-05/0.3408, allocations: 8 kB / 1.067 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004851/0.3413, allocations: 307.5 kB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001471/0.3427, allocations: 1.049 MB / 1.069 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001579/0.3429, allocations: 97.16 kB / 1.069 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.894e-05/0.343, allocations: 45.8 kB / 1.069 GB, free: 8.891 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.373e-05/0.343, allocations: 7.984 kB / 1.069 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.043e-05/0.3431, allocations: 34.56 kB / 1.069 GB, free: 8.84 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.3431, allocations: 0 / 1.069 GB, free: 8.84 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.000331/0.3434, allocations: 161.5 kB / 1.069 GB, free: 8.676 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.235e-05/0.3435, allocations: 81.05 kB / 1.069 GB, free: 8.578 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005743/0.3441, allocations: 0.5091 MB / 1.07 GB, free: 8.062 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.118e-05/0.3441, allocations: 33.7 kB / 1.07 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001654/0.3443, allocations: 203.5 kB / 1.07 GB, free: 7.82 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.807e-05/0.3443, allocations: 15.81 kB / 1.07 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.868e-05/0.3444, allocations: 49.7 kB / 1.07 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001715/0.3446, allocations: 346.8 kB / 1.07 GB, free: 7.402 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001137/0.3447, allocations: 67.95 kB / 1.07 GB, free: 7.336 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001343/0.3448, allocations: 89.59 kB / 1.07 GB, free: 7.242 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001773/0.345, allocations: 117.6 kB / 1.071 GB, free: 7.121 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.345, allocations: 4 kB / 1.071 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003149/0.3453, allocations: 213 kB / 1.071 GB, free: 6.902 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.3454, allocations: 4 kB / 1.071 GB, free: 6.898 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.3454, allocations: 0 / 1.071 GB, free: 6.898 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.3454, allocations: 4.031 kB / 1.071 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001482/0.3455, allocations: 35.86 kB / 1.071 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.3455, allocations: 0 / 1.071 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.847e-05/0.3456, allocations: 39.53 kB / 1.071 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.833e-05/0.3457, allocations: 8 kB / 1.071 GB, free: 6.812 MB / 0.8262 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.0002213/0.3459, allocations: 203.5 kB / 1.071 GB, free: 6.602 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.63e-05/0.346, allocations: 31.81 kB / 1.071 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002147/0.3462, allocations: 114 kB / 1.071 GB, free: 6.445 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.3462, allocations: 7.875 kB / 1.071 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.3462, allocations: 3.938 kB / 1.071 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.3462, allocations: 4.062 kB / 1.071 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006107/0.3468, allocations: 0.6603 MB / 1.072 GB, free: 5.699 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3469, allocations: 0 / 1.072 GB, free: 5.699 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.181e-05/0.3469, allocations: 4 kB / 1.072 GB, free: 5.695 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.3469, allocations: 4 kB / 1.072 GB, free: 5.691 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-06/0.3469, allocations: 128 / 1.072 GB, free: 5.691 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3469, allocations: 4 kB / 1.072 GB, free: 5.688 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/0.3469, allocations: 4 kB / 1.072 GB, free: 5.684 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001565/0.3471, allocations: 127.2 kB / 1.072 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001135/0.3472, allocations: 120.6 kB / 1.072 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.171e-05/0.3472, allocations: 7.938 kB / 1.072 GB, free: 5.387 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.348e-05/0.3473, allocations: 7.984 kB / 1.072 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.148e-05/0.3473, allocations: 8 kB / 1.072 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-06/0.3473, allocations: 0 / 1.072 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0004285/0.3478, allocations: 391 kB / 1.072 GB, free: 4.992 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3478, allocations: 0 / 1.072 GB, free: 4.992 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002437/0.348, allocations: 35.91 kB / 1.073 GB, free: 4.957 MB / 0.8262 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.0001344/0.3482, allocations: 111.2 kB / 1.073 GB, free: 4.836 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002148/0.3484, allocations: 103.9 kB / 1.073 GB, free: 4.734 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3484, allocations: 0 / 1.073 GB, free: 4.734 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.917e-05/0.3484, allocations: 19.94 kB / 1.073 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000263/0.3487, allocations: 35.52 kB / 1.073 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000801/0.3495, allocations: 0.5769 MB / 1.073 GB, free: 4.074 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004334/0.35, allocations: 0.787 MB / 1.074 GB, free: 3.262 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001074/0.3501, allocations: 62.92 kB / 1.074 GB, free: 3.199 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.428e-05/0.3501, allocations: 23.44 kB / 1.074 GB, free: 3.176 MB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.3501, allocations: 0 / 1.074 GB, free: 3.176 MB / 0.8262 GB Notification: Performance of Templates: time 0.005432/0.3556, allocations: 1.983 MB / 1.076 GB, free: 1.203 MB / 0.8262 GB make -j1 -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.makefile (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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe 2>&1) 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches