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: "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue,fileNamePrefix="Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_CountTrue",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue,fileNamePrefix="Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_CountTrue",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00758/0.00758, allocations: 100.6 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.001922/0.001922, allocations: 194.3 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.461/1.461, allocations: 222.9 MB / 240.4 MB, free: 15.16 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.747/2.747, allocations: 469.8 MB / 0.7425 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001923/0.001923, allocations: 63.91 kB / 1.065 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6858/0.6877, allocations: 159.1 MB / 1.22 GB, free: 2.078 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.002035/0.6898, allocations: 0.8632 MB / 1.221 GB, free: 1.219 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0002665/0.6901, allocations: 95.64 kB / 1.221 GB, free: 1.125 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.784e-05/0.6902, allocations: 0 / 1.221 GB, free: 1.125 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001125/0.6903, allocations: 23.8 kB / 1.221 GB, free: 1.102 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001153/0.6904, allocations: 19.8 kB / 1.221 GB, free: 1.082 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 8.3e-05/0.6905, allocations: 39.97 kB / 1.221 GB, free: 1.043 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003099/0.6908, allocations: 259.4 kB / 1.221 GB, free: 0.7891 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003975/0.6913, allocations: 290.3 kB / 1.222 GB, free: 0.5039 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001291/0.6914, allocations: 123.6 kB / 1.222 GB, free: 392 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001686/0.6916, allocations: 147.3 kB / 1.222 GB, free: 244 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.651e-05/0.6916, allocations: 35.94 kB / 1.222 GB, free: 208 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 4.711e-05/0.6917, allocations: 32 kB / 1.222 GB, free: 176 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001011/0.6918, allocations: 87.77 kB / 1.222 GB, free: 88 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001655/0.692, allocations: 155.2 kB / 1.222 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0004595/0.6924, allocations: 469.6 kB / 1.223 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.6924, allocations: 0 / 1.223 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.222e-06/0.6924, allocations: 0 / 1.223 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.277e-06/0.6925, allocations: 4 kB / 1.223 GB, free: 15.48 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.0007388/0.6932, allocations: 0.5999 MB / 1.223 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.6932, allocations: 12.03 kB / 1.223 GB, free: 14.81 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.184e-05/0.6933, allocations: 70.72 kB / 1.223 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.47e-05/0.6934, allocations: 40.7 kB / 1.223 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004259/0.6938, allocations: 340.2 kB / 1.224 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.666e-05/0.6939, allocations: 37.02 kB / 1.224 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.108e-05/0.6939, allocations: 28.38 kB / 1.224 GB, free: 14.26 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006331/0.6946, allocations: 404.2 kB / 1.224 GB, free: 13.85 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.6946, allocations: 3.938 kB / 1.224 GB, free: 13.85 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.009e-05/0.6946, allocations: 16 kB / 1.224 GB, free: 13.83 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/0.6947, allocations: 8 kB / 1.224 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004831/0.6951, allocations: 295.6 kB / 1.224 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001475/0.6966, allocations: 1.058 MB / 1.226 GB, free: 12.42 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001588/0.6968, allocations: 93.16 kB / 1.226 GB, free: 12.31 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.034e-05/0.6969, allocations: 45.8 kB / 1.226 GB, free: 12.26 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.834e-05/0.6969, allocations: 0 / 1.226 GB, free: 12.26 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/0.6969, allocations: 30.56 kB / 1.226 GB, free: 12.22 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.697, allocations: 4 kB / 1.226 GB, free: 12.22 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6): time 0.0003616/0.6973, allocations: 181.2 kB / 1.226 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.742e-05/0.6974, allocations: 81.05 kB / 1.226 GB, free: 11.94 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006037/0.698, allocations: 0.5092 MB / 1.226 GB, free: 11.42 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/0.698, allocations: 29.7 kB / 1.226 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001714/0.6982, allocations: 203.8 kB / 1.227 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.072e-05/0.6982, allocations: 19.86 kB / 1.227 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.584e-05/0.6983, allocations: 53.66 kB / 1.227 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001687/0.6985, allocations: 350.8 kB / 1.227 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001232/0.6986, allocations: 63.95 kB / 1.227 GB, free: 10.69 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000128/0.6988, allocations: 85.66 kB / 1.227 GB, free: 10.6 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001847/0.699, allocations: 121.5 kB / 1.227 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.699, allocations: 0 / 1.227 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003202/0.6993, allocations: 205.4 kB / 1.228 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.6993, allocations: 9.875 kB / 1.228 GB, free: 10.26 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.6993, allocations: 0 / 1.228 GB, free: 10.26 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.6993, allocations: 3.938 kB / 1.228 GB, free: 10.26 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000155/0.6995, allocations: 35.86 kB / 1.228 GB, free: 10.22 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.6995, allocations: 0 / 1.228 GB, free: 10.22 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.428e-05/0.6996, allocations: 43.62 kB / 1.228 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.672e-05/0.6996, allocations: 4 kB / 1.228 GB, free: 10.18 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.0002258/0.6999, allocations: 203.5 kB / 1.228 GB, free: 9.969 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.1e-05/0.6999, allocations: 31.81 kB / 1.228 GB, free: 9.938 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002152/0.7002, allocations: 114 kB / 1.228 GB, free: 9.816 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.7002, allocations: 3.938 kB / 1.228 GB, free: 9.812 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.7002, allocations: 4 kB / 1.228 GB, free: 9.809 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.7002, allocations: 4.25 kB / 1.228 GB, free: 9.805 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006439/0.7008, allocations: 0.6603 MB / 1.229 GB, free: 9.074 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.7009, allocations: 3.938 kB / 1.229 GB, free: 9.07 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.314e-05/0.7009, allocations: 4 kB / 1.229 GB, free: 9.066 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.7009, allocations: 0 / 1.229 GB, free: 9.066 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.7009, allocations: 4 kB / 1.229 GB, free: 9.062 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.7009, allocations: 8.062 kB / 1.229 GB, free: 9.055 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.7009, allocations: 0 / 1.229 GB, free: 9.055 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001538/0.7011, allocations: 127.5 kB / 1.229 GB, free: 8.902 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00012/0.7012, allocations: 124.9 kB / 1.229 GB, free: 8.762 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.906e-05/0.7012, allocations: 0 / 1.229 GB, free: 8.762 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.567e-05/0.7013, allocations: 8 kB / 1.229 GB, free: 8.754 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.479e-05/0.7013, allocations: 7.984 kB / 1.229 GB, free: 8.746 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-06/0.7013, allocations: 3.938 kB / 1.229 GB, free: 8.742 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0004728/0.7018, allocations: 391 kB / 1.229 GB, free: 8.359 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7018, allocations: 0 / 1.229 GB, free: 8.359 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000253/0.7021, allocations: 43.89 kB / 1.229 GB, free: 8.316 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.0004954/0.7026, allocations: 0.666 MB / 1.23 GB, free: 7.609 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.000223/0.7028, allocations: 112.3 kB / 1.23 GB, free: 7.5 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.7028, allocations: 0 / 1.23 GB, free: 7.5 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 2.908e-05/0.7029, allocations: 20 kB / 1.23 GB, free: 7.48 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000262/0.7031, allocations: 29.55 kB / 1.23 GB, free: 7.449 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003506/0.7066, allocations: 2.908 MB / 1.233 GB, free: 4.441 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004507/0.7071, allocations: 0.7909 MB / 1.234 GB, free: 3.625 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001213/0.7072, allocations: 62.86 kB / 1.234 GB, free: 3.562 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001542/0.7074, allocations: 99.39 kB / 1.234 GB, free: 3.465 MB / 0.9512 GB Notification: Performance of SimCode: time 4.61e-07/0.7074, allocations: 3.938 kB / 1.234 GB, free: 3.461 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02705/0.7345, allocations: 5.66 MB / 1.239 GB, free: 13.95 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.963/8.697, allocations: 21.92 kB / 1.239 GB, free: 13.93 MB / 0.9669 GB (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_CountTrue.fmu > Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Templates_Plants_Controls_Utilities_Validation_CountTrue.csv","/var/lib/jenkins1/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