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.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.002094/0.002094, allocations: 103 kB / 16.45 MB, free: 6.504 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.002639/0.002639, allocations: 212.9 kB / 19.43 MB, free: 3.656 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.62/1.62, allocations: 230.6 MB / 252.8 MB, free: 8.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.817/2.817, allocations: 476.7 MB / 0.7672 GB, free: 5.223 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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: "" <> 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"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002085/0.002085, allocations: 59.91 kB / 1.112 GB, free: 1.559 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7724/0.7745, allocations: 169.9 MB / 1.278 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.002303/0.7768, allocations: 0.8824 MB / 1.279 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0002833/0.7771, allocations: 83.7 kB / 1.279 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001058/0.7772, allocations: 11.88 kB / 1.279 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001437/0.7773, allocations: 23.8 kB / 1.279 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001431/0.7775, allocations: 15.86 kB / 1.279 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 9.012e-05/0.7776, allocations: 39.97 kB / 1.279 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00034/0.7779, allocations: 259.4 kB / 1.28 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003786/0.7783, allocations: 230.2 kB / 1.28 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001344/0.7784, allocations: 131.6 kB / 1.28 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001694/0.7786, allocations: 151.3 kB / 1.28 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.724e-05/0.7787, allocations: 32 kB / 1.28 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.454e-05/0.7787, allocations: 32 kB / 1.28 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001015/0.7788, allocations: 87.7 kB / 1.28 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001518/0.779, allocations: 155.1 kB / 1.28 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000486/0.7794, allocations: 464 kB / 1.281 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.7794, allocations: 0 / 1.281 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.044e-06/0.7794, allocations: 0 / 1.281 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.292e-05/0.7795, allocations: 0 / 1.281 GB, free: 10.88 MB / 0.9825 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.0007917/0.7803, allocations: 0.5999 MB / 1.281 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.7803, allocations: 12.03 kB / 1.281 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.955e-05/0.7804, allocations: 70.72 kB / 1.281 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.406e-05/0.7805, allocations: 44.66 kB / 1.281 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004898/0.781, allocations: 344.2 kB / 1.282 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.487e-05/0.781, allocations: 37.02 kB / 1.282 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.78e-05/0.7811, allocations: 32.38 kB / 1.282 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006476/0.7817, allocations: 400.2 kB / 1.282 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.7817, allocations: 7.938 kB / 1.282 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.215e-05/0.7818, allocations: 12 kB / 1.282 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/0.7818, allocations: 8 kB / 1.282 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004797/0.7822, allocations: 307.6 kB / 1.283 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001532/0.7838, allocations: 1.042 MB / 1.284 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001722/0.784, allocations: 94.83 kB / 1.284 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.174e-05/0.784, allocations: 41.8 kB / 1.284 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.782e-05/0.7841, allocations: 0 / 1.284 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.892e-05/0.7841, allocations: 38.48 kB / 1.284 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.7841, allocations: 0 / 1.284 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0003859/0.7845, allocations: 173.7 kB / 1.284 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.831e-05/0.7845, allocations: 85.05 kB / 1.284 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006064/0.7852, allocations: 0.5092 MB / 1.284 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/0.7852, allocations: 25.7 kB / 1.285 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001716/0.7853, allocations: 207.8 kB / 1.285 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.926e-05/0.7854, allocations: 15.83 kB / 1.285 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.97e-05/0.7855, allocations: 53.7 kB / 1.285 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001713/0.7856, allocations: 346.8 kB / 1.285 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001104/0.7857, allocations: 67.95 kB / 1.285 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001341/0.7859, allocations: 93.56 kB / 1.285 GB, free: 5.992 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001714/0.786, allocations: 121.5 kB / 1.285 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.786, allocations: 0 / 1.285 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003138/0.7864, allocations: 209.3 kB / 1.286 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.7864, allocations: 4 kB / 1.286 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.7864, allocations: 4 kB / 1.286 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.7864, allocations: 3.938 kB / 1.286 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001492/0.7865, allocations: 31.92 kB / 1.286 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.7866, allocations: 4 kB / 1.286 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.423e-05/0.7866, allocations: 35.67 kB / 1.286 GB, free: 5.574 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.609e-05/0.7867, allocations: 8 kB / 1.286 GB, free: 5.566 MB / 0.9825 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.0002204/0.7869, allocations: 203.5 kB / 1.286 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.161e-05/0.7869, allocations: 31.77 kB / 1.286 GB, free: 5.328 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002209/0.7872, allocations: 114 kB / 1.286 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/0.7872, allocations: 7.938 kB / 1.286 GB, free: 5.199 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.7872, allocations: 3.938 kB / 1.286 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.7872, allocations: 0 / 1.286 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006327/0.7878, allocations: 0.6527 MB / 1.287 GB, free: 4.473 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.7878, allocations: 8.031 kB / 1.287 GB, free: 4.465 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.174e-05/0.7878, allocations: 4 kB / 1.287 GB, free: 4.461 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.7878, allocations: 192 / 1.287 GB, free: 4.461 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-06/0.7878, allocations: 0 / 1.287 GB, free: 4.461 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.451e-06/0.7879, allocations: 11.88 kB / 1.287 GB, free: 4.449 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.7879, allocations: 0 / 1.287 GB, free: 4.449 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000162/0.788, allocations: 131.4 kB / 1.287 GB, free: 4.293 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001274/0.7881, allocations: 124.9 kB / 1.287 GB, free: 4.152 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.978e-05/0.7882, allocations: 4 kB / 1.287 GB, free: 4.148 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.333e-05/0.7882, allocations: 4 kB / 1.287 GB, free: 4.145 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.951e-05/0.7883, allocations: 7.922 kB / 1.287 GB, free: 4.137 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/0.7883, allocations: 4 kB / 1.287 GB, free: 4.133 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004541/0.7887, allocations: 391 kB / 1.287 GB, free: 3.754 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.7887, allocations: 0 / 1.287 GB, free: 3.754 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002601/0.789, allocations: 43.94 kB / 1.287 GB, free: 3.711 MB / 0.9825 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.0005054/0.7895, allocations: 0.666 MB / 1.288 GB, free: 3.004 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002193/0.7897, allocations: 103.8 kB / 1.288 GB, free: 2.902 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.7897, allocations: 0 / 1.288 GB, free: 2.902 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.719e-05/0.7897, allocations: 12 kB / 1.288 GB, free: 2.891 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002518/0.79, allocations: 37.48 kB / 1.288 GB, free: 2.855 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003361/0.7933, allocations: 2.9 MB / 1.291 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004277/0.7938, allocations: 0.7908 MB / 1.292 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001128/0.7939, allocations: 59.3 kB / 1.292 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001423/0.794, allocations: 99.34 kB / 1.292 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of SimCode: time 3.5e-07/0.794, allocations: 0 / 1.292 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02909/0.8231, allocations: 5.695 MB / 1.297 GB, free: 9.336 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.423/9.246, allocations: 9.156 kB / 1.297 GB, free: 9.332 MB / 0.9981 GB " [Timeout remaining time 291] (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 400 --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) [Timeout 420.0] 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) [Timeout 300] "Error: Could not read variable couTru.y in file Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue_res.csv. Warning: Get data of variable couTru.y from file Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue_res.csv failed! Error: Could not read variable couTruAllFal.y in file Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue_res.csv. Warning: Get data of variable couTruAllFal.y from file Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.560100147034973]