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.001337/0.001337, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001792/0.001792, allocations: 216 kB / 22.25 MB, free: 5.074 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.484/1.484, allocations: 230.6 MB / 256 MB, free: 8.008 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.856/2.856, allocations: 476.8 MB / 0.7707 GB, free: 4.273 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.002045/0.002045, allocations: 66.97 kB / 1.117 GB, free: 39.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2842/0.2862, allocations: 169.9 MB / 1.283 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.002391/0.2886, allocations: 0.8767 MB / 1.284 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.000354/0.289, allocations: 97.41 kB / 1.284 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001243/0.2891, allocations: 0 / 1.284 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001458/0.2892, allocations: 27.73 kB / 1.284 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001484/0.2894, allocations: 11.86 kB / 1.284 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001004/0.2895, allocations: 47.95 kB / 1.284 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003303/0.2898, allocations: 251.5 kB / 1.285 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003704/0.2902, allocations: 182.6 kB / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000179/0.2904, allocations: 127.5 kB / 1.285 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002297/0.2906, allocations: 143.3 kB / 1.285 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.871e-05/0.2907, allocations: 32 kB / 1.285 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 5.323e-05/0.2907, allocations: 32 kB / 1.285 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001031/0.2908, allocations: 87.7 kB / 1.285 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001733/0.291, allocations: 155.1 kB / 1.285 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005309/0.2915, allocations: 462.2 kB / 1.286 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.2915, allocations: 8 kB / 1.286 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.753e-06/0.2915, allocations: 0 / 1.286 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.105e-05/0.2916, allocations: 0 / 1.286 GB, free: 9.07 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.0009147/0.2925, allocations: 0.5246 MB / 1.286 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.2925, allocations: 12.03 kB / 1.286 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.601e-05/0.2926, allocations: 74.66 kB / 1.286 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.474e-05/0.2927, allocations: 40.66 kB / 1.286 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004589/0.2931, allocations: 274.5 kB / 1.287 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.118e-05/0.2932, allocations: 41.03 kB / 1.287 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.568e-05/0.2932, allocations: 28.38 kB / 1.287 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006488/0.2939, allocations: 396.2 kB / 1.287 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.2939, allocations: 3.938 kB / 1.287 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.058e-05/0.2939, allocations: 16 kB / 1.287 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.261e-05/0.2939, allocations: 11.98 kB / 1.287 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005003/0.2944, allocations: 299.5 kB / 1.287 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001545/0.296, allocations: 1.024 MB / 1.288 GB, free: 6.227 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001539/0.2961, allocations: 85.16 kB / 1.289 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.961e-05/0.2962, allocations: 41.8 kB / 1.289 GB, free: 6.078 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.872e-05/0.2962, allocations: 7.984 kB / 1.289 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/0.2963, allocations: 42.5 kB / 1.289 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 1.392e-06/0.2963, allocations: 0 / 1.289 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0003579/0.2966, allocations: 169.3 kB / 1.289 GB, free: 5.848 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.033e-05/0.2967, allocations: 77.11 kB / 1.289 GB, free: 5.754 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005969/0.2973, allocations: 0.5053 MB / 1.289 GB, free: 5.238 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.2973, allocations: 29.64 kB / 1.289 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001661/0.2975, allocations: 211.7 kB / 1.29 GB, free: 4.992 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.923e-05/0.2975, allocations: 23.84 kB / 1.29 GB, free: 4.969 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.093e-05/0.2976, allocations: 57.69 kB / 1.29 GB, free: 4.906 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000164/0.2977, allocations: 338.8 kB / 1.29 GB, free: 4.566 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001148/0.2979, allocations: 63.95 kB / 1.29 GB, free: 4.504 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001356/0.298, allocations: 97.56 kB / 1.29 GB, free: 4.402 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001695/0.2982, allocations: 113.6 kB / 1.29 GB, free: 4.285 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.2982, allocations: 0 / 1.29 GB, free: 4.285 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003261/0.2985, allocations: 217.2 kB / 1.29 GB, free: 4.066 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.2985, allocations: 6.812 kB / 1.29 GB, free: 4.062 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.2985, allocations: 0 / 1.29 GB, free: 4.062 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.2985, allocations: 7.938 kB / 1.29 GB, free: 4.055 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001452/0.2987, allocations: 27.98 kB / 1.291 GB, free: 4.027 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/0.2987, allocations: 4 kB / 1.291 GB, free: 4.023 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.907e-05/0.2988, allocations: 31.73 kB / 1.291 GB, free: 3.992 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.034e-05/0.2988, allocations: 12 kB / 1.291 GB, free: 3.98 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.0002212/0.299, allocations: 203.8 kB / 1.291 GB, free: 3.773 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.234e-05/0.2991, allocations: 35.77 kB / 1.291 GB, free: 3.738 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00022/0.2993, allocations: 114.1 kB / 1.291 GB, free: 3.617 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/0.2993, allocations: 7.922 kB / 1.291 GB, free: 3.609 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.2993, allocations: 4 kB / 1.291 GB, free: 3.605 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.2993, allocations: 0 / 1.291 GB, free: 3.605 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006393/0.3, allocations: 0.636 MB / 1.292 GB, free: 2.906 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.3, allocations: 0 / 1.292 GB, free: 2.906 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.504e-05/0.3, allocations: 4 kB / 1.292 GB, free: 2.902 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.3, allocations: 4 kB / 1.292 GB, free: 2.898 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.3, allocations: 0 / 1.292 GB, free: 2.898 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.3, allocations: 0 / 1.292 GB, free: 2.898 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.3, allocations: 4 kB / 1.292 GB, free: 2.895 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001573/0.3002, allocations: 135.5 kB / 1.292 GB, free: 2.734 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.851e-05/0.3002, allocations: 43.75 kB / 1.292 GB, free: 2.691 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.082e-05/0.3003, allocations: 4 kB / 1.292 GB, free: 2.688 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.549e-05/0.3003, allocations: 7.984 kB / 1.292 GB, free: 2.68 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.8e-05/0.3004, allocations: 8 kB / 1.292 GB, free: 2.672 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.173e-06/0.3004, allocations: 4 kB / 1.292 GB, free: 2.668 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004497/0.3008, allocations: 395 kB / 1.292 GB, free: 2.285 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3008, allocations: 0 / 1.292 GB, free: 2.285 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002483/0.3011, allocations: 35.94 kB / 1.292 GB, free: 2.25 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.000492/0.3016, allocations: 0.6732 MB / 1.293 GB, free: 1.535 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002219/0.3018, allocations: 104.3 kB / 1.293 GB, free: 1.434 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3018, allocations: 192 / 1.293 GB, free: 1.434 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.831e-05/0.3018, allocations: 15.94 kB / 1.293 GB, free: 1.418 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000253/0.3021, allocations: 37.83 kB / 1.293 GB, free: 1.383 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003571/0.3056, allocations: 2.898 MB / 1.296 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004469/0.3061, allocations: 0.787 MB / 1.297 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000125/0.3062, allocations: 58.92 kB / 1.297 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000156/0.3064, allocations: 95.41 kB / 1.297 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of SimCode: time 6.11e-07/0.3064, allocations: 0 / 1.297 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03358/0.3399, allocations: 5.854 MB / 1.302 GB, free: 7.711 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/11.97, allocations: 7.141 kB / 1.302 GB, free: 7.707 MB / 0.9981 GB " [Timeout remaining time 287] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue_res.mat --tempDir=temp_Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_CountTrue_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.83358252304606]