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.007448/0.007448, allocations: 100 kB / 15.73 MB, free: 6.062 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.002371/0.002371, allocations: 195.4 kB / 16.68 MB, free: 5.973 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.396/1.396, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.576/2.576, allocations: 469.8 MB / 0.7425 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 71.83 kB / 1.065 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8861/0.8873, allocations: 159.1 MB / 1.221 GB, free: 2.07 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.002216/0.8895, allocations: 0.8633 MB / 1.221 GB, free: 1.211 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0002683/0.8898, allocations: 91.64 kB / 1.222 GB, free: 1.121 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.45e-05/0.8899, allocations: 4 kB / 1.222 GB, free: 1.117 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001735/0.8901, allocations: 23.73 kB / 1.222 GB, free: 1.094 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001723/0.8902, allocations: 19.8 kB / 1.222 GB, free: 1.074 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001219/0.8904, allocations: 35.97 kB / 1.222 GB, free: 1.039 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0004365/0.8908, allocations: 259.5 kB / 1.222 GB, free: 0.7852 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005285/0.8913, allocations: 234.4 kB / 1.222 GB, free: 0.5547 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001725/0.8915, allocations: 135.5 kB / 1.222 GB, free: 432 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001917/0.8917, allocations: 135.3 kB / 1.222 GB, free: 296 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.815e-05/0.8917, allocations: 36 kB / 1.222 GB, free: 260 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 4.028e-05/0.8918, allocations: 32 kB / 1.222 GB, free: 228 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 7.774e-05/0.8918, allocations: 83.72 kB / 1.222 GB, free: 144 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001431/0.892, allocations: 159.2 kB / 1.223 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0005877/0.8926, allocations: 454.6 kB / 1.223 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.8926, allocations: 3.938 kB / 1.223 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.603e-06/0.8926, allocations: 0 / 1.223 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.486e-06/0.8926, allocations: 0 / 1.223 GB, free: 15.54 MB / 0.9512 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.000954/0.8936, allocations: 0.6154 MB / 1.224 GB, free: 14.87 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.8936, allocations: 8.625 kB / 1.224 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.564e-05/0.8937, allocations: 40.7 kB / 1.224 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006289/0.8943, allocations: 336.3 kB / 1.224 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.719e-05/0.8944, allocations: 33.02 kB / 1.224 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.316e-05/0.8945, allocations: 40.31 kB / 1.224 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007717/0.8952, allocations: 400.2 kB / 1.224 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.8953, allocations: 192 / 1.224 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.05e-05/0.8953, allocations: 15.94 kB / 1.224 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.328e-06/0.8953, allocations: 8 kB / 1.225 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000521/0.8958, allocations: 299.6 kB / 1.225 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002099/0.8979, allocations: 1.058 MB / 1.226 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002259/0.8981, allocations: 89.22 kB / 1.226 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.125e-05/0.8982, allocations: 45.78 kB / 1.226 GB, free: 12.4 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.463e-05/0.8982, allocations: 4 kB / 1.226 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.8983, allocations: 34.5 kB / 1.226 GB, free: 12.35 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.8983, allocations: 0 / 1.226 GB, free: 12.35 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6): time 0.0003798/0.8986, allocations: 173.3 kB / 1.226 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.727e-05/0.8987, allocations: 89.03 kB / 1.226 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005154/0.8992, allocations: 0.5014 MB / 1.227 GB, free: 11.56 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/0.8992, allocations: 25.7 kB / 1.227 GB, free: 11.53 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001412/0.8994, allocations: 211.7 kB / 1.227 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.992e-05/0.8994, allocations: 15.88 kB / 1.227 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.739e-05/0.8995, allocations: 57.66 kB / 1.227 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.8996, allocations: 346.8 kB / 1.227 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001089/0.8997, allocations: 67.95 kB / 1.227 GB, free: 10.83 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001103/0.8998, allocations: 85.67 kB / 1.228 GB, free: 10.74 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001624/0.9, allocations: 117.5 kB / 1.228 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.614e-06/0.9, allocations: 0 / 1.228 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002916/0.9003, allocations: 213.3 kB / 1.228 GB, free: 10.4 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.9003, allocations: 9.969 kB / 1.228 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.9003, allocations: 0 / 1.228 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.9003, allocations: 4 kB / 1.228 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001478/0.9004, allocations: 31.92 kB / 1.228 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/0.9005, allocations: 8 kB / 1.228 GB, free: 10.35 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.547e-05/0.9005, allocations: 35.69 kB / 1.228 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/0.9006, allocations: 8 kB / 1.228 GB, free: 10.31 MB / 0.9512 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.0001891/0.9008, allocations: 200 kB / 1.228 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.566e-05/0.9008, allocations: 31.81 kB / 1.228 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002038/0.901, allocations: 118 kB / 1.228 GB, free: 9.949 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.901, allocations: 3.938 kB / 1.228 GB, free: 9.945 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.901, allocations: 4 kB / 1.228 GB, free: 9.941 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.901, allocations: 0 / 1.228 GB, free: 9.941 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005255/0.9016, allocations: 0.6569 MB / 1.229 GB, free: 9.215 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.9016, allocations: 0 / 1.229 GB, free: 9.215 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.58e-05/0.9016, allocations: 11.92 kB / 1.229 GB, free: 9.203 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.9016, allocations: 4 kB / 1.229 GB, free: 9.199 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.274e-06/0.9016, allocations: 0 / 1.229 GB, free: 9.199 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.9016, allocations: 0 / 1.229 GB, free: 9.199 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.9016, allocations: 4.188 kB / 1.229 GB, free: 9.195 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001356/0.9017, allocations: 131.5 kB / 1.229 GB, free: 9.039 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 9.421e-05/0.9018, allocations: 128.8 kB / 1.229 GB, free: 8.895 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.31e-05/0.9019, allocations: 7.938 kB / 1.229 GB, free: 8.887 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.197e-05/0.9019, allocations: 0 / 1.229 GB, free: 8.887 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.275e-05/0.9019, allocations: 4 kB / 1.229 GB, free: 8.883 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.9019, allocations: 4 kB / 1.229 GB, free: 8.879 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003868/0.9023, allocations: 387 kB / 1.23 GB, free: 8.5 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1e-07/0.9023, allocations: 8 kB / 1.23 GB, free: 8.492 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002515/0.9026, allocations: 47.88 kB / 1.23 GB, free: 8.445 MB / 0.9512 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.0001117/0.9027, allocations: 95.25 kB / 1.23 GB, free: 8.34 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002163/0.9029, allocations: 103.9 kB / 1.23 GB, free: 8.238 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.9029, allocations: 0 / 1.23 GB, free: 8.238 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 2.958e-05/0.9029, allocations: 15.94 kB / 1.23 GB, free: 8.223 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002706/0.9032, allocations: 37.75 kB / 1.23 GB, free: 8.184 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007625/0.904, allocations: 0.5132 MB / 1.23 GB, free: 7.629 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003443/0.9043, allocations: 0.7908 MB / 1.231 GB, free: 6.812 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001053/0.9044, allocations: 54.94 kB / 1.231 GB, free: 6.762 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.017e-05/0.9045, allocations: 23.44 kB / 1.231 GB, free: 6.738 MB / 0.9512 GB Notification: Performance of SimCode: time 3.91e-07/0.9045, allocations: 0 / 1.231 GB, free: 6.738 MB / 0.9512 GB Notification: Performance of Templates: time 0.005674/0.9102, allocations: 2.005 MB / 1.233 GB, free: 4.742 MB / 0.9512 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=480 -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