Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001758/0.001757, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002386/0.002387, allocations: 189.9 kB / 16.13 MB, free: 6.645 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.412/1.412, allocations: 222.9 MB / 239.8 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.006/3.006, allocations: 472.6 MB / 0.7447 GB, free: 4.957 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00216/0.00216, allocations: 69.94 kB / 0.9114 GB, free: 33.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3639/0.3661, allocations: 159.9 MB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.002287/0.3684, allocations: 0.916 MB / 1.068 GB, free: 9.965 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.000273/0.3687, allocations: 91.69 kB / 1.069 GB, free: 9.875 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.754e-05/0.3688, allocations: 0 / 1.069 GB, free: 9.875 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001319/0.369, allocations: 15.86 kB / 1.069 GB, free: 9.859 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001242/0.3691, allocations: 15.92 kB / 1.069 GB, free: 9.844 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 8.09e-05/0.3692, allocations: 39.98 kB / 1.069 GB, free: 9.805 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002404/0.3694, allocations: 231.4 kB / 1.069 GB, free: 9.578 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003811/0.3698, allocations: 286.3 kB / 1.069 GB, free: 9.293 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001139/0.3699, allocations: 103.6 kB / 1.069 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001374/0.3701, allocations: 127.3 kB / 1.069 GB, free: 9.066 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.323e-05/0.3701, allocations: 20 kB / 1.069 GB, free: 9.047 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 3.38e-05/0.3702, allocations: 16 kB / 1.069 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.556e-05/0.3703, allocations: 71.7 kB / 1.069 GB, free: 8.961 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001224/0.3704, allocations: 135.1 kB / 1.07 GB, free: 8.828 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003478/0.3707, allocations: 422.6 kB / 1.07 GB, free: 8.414 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3708, allocations: 4 kB / 1.07 GB, free: 8.41 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.62e-07/0.3708, allocations: 0 / 1.07 GB, free: 8.41 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.528e-06/0.3708, allocations: 0 / 1.07 GB, free: 8.41 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.0007469/0.3715, allocations: 0.589 MB / 1.071 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.3716, allocations: 12.03 kB / 1.071 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.881e-05/0.3717, allocations: 40.45 kB / 1.071 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003902/0.372, allocations: 332.1 kB / 1.071 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.346e-05/0.3721, allocations: 37.02 kB / 1.071 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.238e-05/0.3722, allocations: 32.38 kB / 1.071 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005979/0.3728, allocations: 408 kB / 1.071 GB, free: 6.875 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.3728, allocations: 4.125 kB / 1.071 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.357e-05/0.3728, allocations: 19.94 kB / 1.071 GB, free: 6.852 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/0.3728, allocations: 12 kB / 1.071 GB, free: 6.84 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004509/0.3733, allocations: 291.8 kB / 1.072 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001354/0.3747, allocations: 1.068 MB / 1.073 GB, free: 5.43 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000142/0.3748, allocations: 93.22 kB / 1.073 GB, free: 5.32 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.159e-05/0.3749, allocations: 41.8 kB / 1.073 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.346e-05/0.3749, allocations: 0 / 1.073 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.253e-05/0.3749, allocations: 38.5 kB / 1.073 GB, free: 5.227 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.375, allocations: 0 / 1.073 GB, free: 5.227 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.0003352/0.3753, allocations: 169.2 kB / 1.073 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.121e-05/0.3753, allocations: 85.05 kB / 1.073 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005375/0.3759, allocations: 0.5129 MB / 1.074 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.161e-05/0.3759, allocations: 29.7 kB / 1.074 GB, free: 4.402 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001306/0.3761, allocations: 203.5 kB / 1.074 GB, free: 4.199 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.3761, allocations: 19.73 kB / 1.074 GB, free: 4.18 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.801e-05/0.3762, allocations: 49.7 kB / 1.074 GB, free: 4.125 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.3763, allocations: 350.8 kB / 1.074 GB, free: 3.773 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001134/0.3764, allocations: 63.95 kB / 1.074 GB, free: 3.711 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001195/0.3765, allocations: 93.56 kB / 1.074 GB, free: 3.613 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001551/0.3767, allocations: 113.6 kB / 1.074 GB, free: 3.496 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3767, allocations: 4 kB / 1.074 GB, free: 3.492 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000299/0.377, allocations: 201.3 kB / 1.075 GB, free: 3.289 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.377, allocations: 9.188 kB / 1.075 GB, free: 3.281 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.3771, allocations: 3.938 kB / 1.075 GB, free: 3.277 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.3771, allocations: 3.938 kB / 1.075 GB, free: 3.273 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001568/0.3772, allocations: 31.92 kB / 1.075 GB, free: 3.242 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.3773, allocations: 3.984 kB / 1.075 GB, free: 3.238 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.293e-05/0.3773, allocations: 43.53 kB / 1.075 GB, free: 3.195 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.61e-05/0.3774, allocations: 4 kB / 1.075 GB, free: 3.191 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.0001963/0.3776, allocations: 204.8 kB / 1.075 GB, free: 2.98 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.888e-05/0.3776, allocations: 31.62 kB / 1.075 GB, free: 2.949 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002157/0.3779, allocations: 118 kB / 1.075 GB, free: 2.82 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/0.3779, allocations: 3.938 kB / 1.075 GB, free: 2.816 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.3779, allocations: 4.312 kB / 1.075 GB, free: 2.812 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.3779, allocations: 0 / 1.075 GB, free: 2.812 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005472/0.3784, allocations: 0.6525 MB / 1.076 GB, free: 2.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.3785, allocations: 0 / 1.076 GB, free: 2.09 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.489e-05/0.3785, allocations: 12.09 kB / 1.076 GB, free: 2.078 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.101e-06/0.3785, allocations: 3.984 kB / 1.076 GB, free: 2.074 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.3785, allocations: 4 kB / 1.076 GB, free: 2.07 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.3785, allocations: 0 / 1.076 GB, free: 2.07 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3785, allocations: 0 / 1.076 GB, free: 2.07 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001338/0.3787, allocations: 135.2 kB / 1.076 GB, free: 1.91 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.62e-05/0.3788, allocations: 120.7 kB / 1.076 GB, free: 1.773 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.975e-05/0.3788, allocations: 0 / 1.076 GB, free: 1.773 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.42e-05/0.3789, allocations: 4 kB / 1.076 GB, free: 1.77 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.967e-05/0.3789, allocations: 15.92 kB / 1.076 GB, free: 1.754 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.3789, allocations: 0 / 1.076 GB, free: 1.754 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0004192/0.3794, allocations: 391 kB / 1.076 GB, free: 1.371 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3794, allocations: 0 / 1.076 GB, free: 1.371 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002507/0.3796, allocations: 43.84 kB / 1.076 GB, free: 1.328 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.0001026/0.3797, allocations: 103.2 kB / 1.077 GB, free: 1.215 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000203/0.3799, allocations: 107.9 kB / 1.077 GB, free: 1.109 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3799, allocations: 0 / 1.077 GB, free: 1.109 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.704e-05/0.38, allocations: 15.94 kB / 1.077 GB, free: 1.094 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002645/0.3802, allocations: 30.44 kB / 1.077 GB, free: 1.066 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007302/0.381, allocations: 0.5902 MB / 1.077 GB, free: 448 kB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003396/0.3813, allocations: 0.7911 MB / 1.078 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001098/0.3815, allocations: 58.88 kB / 1.078 GB, free: 15.56 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.201e-05/0.3815, allocations: 27.42 kB / 1.078 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of SimCode: time 3.3e-07/0.3815, allocations: 0 / 1.078 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of Templates: time 0.004739/0.3863, allocations: 1.897 MB / 1.08 GB, free: 13.64 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.makefile (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.sim & ./Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_Utilities_Validation_CountTrue.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches