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.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.00121/0.00121, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001363/0.001363, allocations: 215.9 kB / 23.03 MB, free: 4.949 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.376/1.376, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.078/3.078, allocations: 0.5003 GB / 0.8062 GB, free: 28.36 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_CountTrue",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue,fileNamePrefix="Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_CountTrue",fmuType="cs",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.00197/0.00197, allocations: 62.02 kB / 1.17 GB, free: 19.62 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3032/0.3051, allocations: 179 MB / 1.345 GB, free: 24 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.002011/0.3072, allocations: 0.8477 MB / 1.346 GB, free: 15.17 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0002383/0.3074, allocations: 87.7 kB / 1.346 GB, free: 15.09 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.179e-05/0.3075, allocations: 7.938 kB / 1.346 GB, free: 15.08 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.000117/0.3076, allocations: 19.78 kB / 1.346 GB, free: 15.06 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001154/0.3077, allocations: 23.8 kB / 1.346 GB, free: 15.04 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 7.951e-05/0.3078, allocations: 43.95 kB / 1.346 GB, free: 14.99 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002887/0.3081, allocations: 255.4 kB / 1.347 GB, free: 14.74 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002792/0.3084, allocations: 179.1 kB / 1.347 GB, free: 14.56 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001286/0.3085, allocations: 135.6 kB / 1.347 GB, free: 14.43 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001625/0.3086, allocations: 139.3 kB / 1.347 GB, free: 14.29 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 5.123e-05/0.3087, allocations: 32 kB / 1.347 GB, free: 14.26 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 6.231e-05/0.3088, allocations: 36 kB / 1.347 GB, free: 14.23 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 9.449e-05/0.3089, allocations: 87.7 kB / 1.347 GB, free: 14.14 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001145/0.309, allocations: 115.3 kB / 1.347 GB, free: 14.03 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004304/0.3094, allocations: 478 kB / 1.348 GB, free: 13.56 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.3094, allocations: 0 / 1.348 GB, free: 13.56 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.142e-06/0.3094, allocations: 0 / 1.348 GB, free: 13.56 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.161e-06/0.3094, allocations: 0 / 1.348 GB, free: 13.56 MB / 1.045 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.0006586/0.3101, allocations: 0.5324 MB / 1.348 GB, free: 12.99 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.3101, allocations: 8.031 kB / 1.348 GB, free: 12.98 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.967e-05/0.3101, allocations: 8.844 kB / 1.348 GB, free: 12.98 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.179e-05/0.3102, allocations: 74.72 kB / 1.348 GB, free: 12.89 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.999e-05/0.3103, allocations: 36.7 kB / 1.348 GB, free: 12.86 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003867/0.3106, allocations: 271.2 kB / 1.349 GB, free: 12.57 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.815e-05/0.3107, allocations: 29.03 kB / 1.349 GB, free: 12.54 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.594e-05/0.3107, allocations: 32.38 kB / 1.349 GB, free: 12.51 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006051/0.3113, allocations: 407.7 kB / 1.349 GB, free: 12.1 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.3114, allocations: 4 kB / 1.349 GB, free: 12.09 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.513e-05/0.3114, allocations: 19.98 kB / 1.349 GB, free: 12.07 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.3114, allocations: 8 kB / 1.349 GB, free: 12.07 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004501/0.3118, allocations: 295.8 kB / 1.349 GB, free: 11.78 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001348/0.3132, allocations: 0.9692 MB / 1.35 GB, free: 10.76 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001462/0.3133, allocations: 85.16 kB / 1.35 GB, free: 10.66 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.555e-05/0.3134, allocations: 41.8 kB / 1.35 GB, free: 10.61 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.007e-05/0.3134, allocations: 4 kB / 1.35 GB, free: 10.61 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.231e-05/0.3135, allocations: 42.55 kB / 1.35 GB, free: 10.56 MB / 1.045 GB Notification: Performance of pre-optimization done (n=6): time 1.273e-06/0.3135, allocations: 0 / 1.35 GB, free: 10.56 MB / 1.045 GB Notification: Performance of matching and sorting (n=6): time 0.0003421/0.3138, allocations: 177.2 kB / 1.351 GB, free: 10.38 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.744e-05/0.3139, allocations: 77.11 kB / 1.351 GB, free: 10.29 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005726/0.3144, allocations: 0.5053 MB / 1.351 GB, free: 9.773 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.3144, allocations: 25.7 kB / 1.351 GB, free: 9.742 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001688/0.3146, allocations: 211.7 kB / 1.351 GB, free: 9.531 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.918e-05/0.3146, allocations: 19.83 kB / 1.351 GB, free: 9.512 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.212e-05/0.3147, allocations: 53.66 kB / 1.351 GB, free: 9.453 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001656/0.3149, allocations: 346.8 kB / 1.352 GB, free: 9.105 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001137/0.315, allocations: 63.95 kB / 1.352 GB, free: 9.043 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001267/0.3151, allocations: 97.56 kB / 1.352 GB, free: 8.941 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001749/0.3153, allocations: 121.5 kB / 1.352 GB, free: 8.816 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3153, allocations: 0 / 1.352 GB, free: 8.816 MB / 1.045 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003032/0.3156, allocations: 201.4 kB / 1.352 GB, free: 8.613 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.3156, allocations: 4 kB / 1.352 GB, free: 8.609 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.3156, allocations: 0 / 1.352 GB, free: 8.609 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.3156, allocations: 3.938 kB / 1.352 GB, free: 8.605 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001476/0.3158, allocations: 35.92 kB / 1.352 GB, free: 8.57 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/0.3158, allocations: 7.984 kB / 1.352 GB, free: 8.562 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.153e-05/0.3159, allocations: 31.73 kB / 1.352 GB, free: 8.531 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.903e-05/0.3159, allocations: 8 kB / 1.352 GB, free: 8.523 MB / 1.045 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.0002078/0.3161, allocations: 203.5 kB / 1.353 GB, free: 8.312 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.253e-05/0.3162, allocations: 35.77 kB / 1.353 GB, free: 8.277 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002376/0.3164, allocations: 118 kB / 1.353 GB, free: 8.148 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.3164, allocations: 0 / 1.353 GB, free: 8.148 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.3164, allocations: 4 kB / 1.353 GB, free: 8.145 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.3164, allocations: 0 / 1.353 GB, free: 8.145 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005849/0.317, allocations: 0.6087 MB / 1.353 GB, free: 7.473 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.317, allocations: 0 / 1.353 GB, free: 7.473 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.488e-05/0.317, allocations: 8.172 kB / 1.353 GB, free: 7.465 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.317, allocations: 7.938 kB / 1.353 GB, free: 7.457 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.121e-06/0.3171, allocations: 3.938 kB / 1.353 GB, free: 7.453 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3171, allocations: 0 / 1.353 GB, free: 7.453 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.3171, allocations: 7.938 kB / 1.353 GB, free: 7.445 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001493/0.3172, allocations: 131.4 kB / 1.353 GB, free: 7.289 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 7.417e-05/0.3173, allocations: 43.88 kB / 1.353 GB, free: 7.246 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.306e-05/0.3173, allocations: 8 kB / 1.353 GB, free: 7.238 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.349e-05/0.3174, allocations: 4 kB / 1.353 GB, free: 7.234 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.522e-05/0.3174, allocations: 7.984 kB / 1.353 GB, free: 7.227 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-06/0.3174, allocations: 4 kB / 1.354 GB, free: 7.223 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0004195/0.3178, allocations: 387 kB / 1.354 GB, free: 6.848 MB / 1.045 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3178, allocations: 0 / 1.354 GB, free: 6.848 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000238/0.3181, allocations: 47.89 kB / 1.354 GB, free: 6.801 MB / 1.045 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.0004637/0.3185, allocations: 0.662 MB / 1.355 GB, free: 6.098 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002089/0.3187, allocations: 111.8 kB / 1.355 GB, free: 5.988 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3187, allocations: 0 / 1.355 GB, free: 5.988 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 2.537e-05/0.3188, allocations: 12 kB / 1.355 GB, free: 5.977 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002535/0.319, allocations: 25.66 kB / 1.355 GB, free: 5.949 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00325/0.3223, allocations: 2.907 MB / 1.358 GB, free: 2.938 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001852/0.3224, allocations: 188 kB / 1.358 GB, free: 2.727 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001111/0.3226, allocations: 62.92 kB / 1.358 GB, free: 2.664 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001316/0.3227, allocations: 91.41 kB / 1.358 GB, free: 2.578 MB / 1.045 GB Notification: Performance of SimCode: time 6.11e-07/0.3227, allocations: 0 / 1.358 GB, free: 2.578 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02714/0.3498, allocations: 5.97 MB / 1.364 GB, free: 12.8 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/11.3, allocations: 5.656 kB / 1.364 GB, free: 12.8 MB / 1.061 GB " [Timeout remaining time 289] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue_res.mat --tempDir=temp_Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_CountTrue_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_CountTrue.fmu > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe 2>&1) [Timeout 840.0] 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 17.722435744013637]