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.001778/0.001778, allocations: 101.3 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.002349/0.002349, allocations: 220.5 kB / 23.03 MB, free: 4.945 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.508/1.508, 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 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.808/2.808, allocations: 476.8 MB / 0.7715 GB, free: 3.918 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue,fileNamePrefix="Buildings_11_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.002073/0.002073, allocations: 69.28 kB / 1.118 GB, free: 39.62 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3102/0.3122, allocations: 170 MB / 1.284 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.002341/0.3146, allocations: 0.8456 MB / 1.285 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0003009/0.3149, allocations: 89.39 kB / 1.285 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001085/0.315, allocations: 4 kB / 1.285 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001457/0.3151, allocations: 31.72 kB / 1.285 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001386/0.3153, allocations: 19.8 kB / 1.285 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 9.668e-05/0.3154, allocations: 39.95 kB / 1.285 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002997/0.3157, allocations: 251.5 kB / 1.285 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003187/0.316, allocations: 174.8 kB / 1.285 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001507/0.3161, allocations: 139.4 kB / 1.286 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001847/0.3163, allocations: 135.3 kB / 1.286 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.095e-05/0.3164, allocations: 32 kB / 1.286 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 5.236e-05/0.3164, allocations: 32 kB / 1.286 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.842e-05/0.3165, allocations: 91.7 kB / 1.286 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001315/0.3167, allocations: 123.3 kB / 1.286 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004644/0.3171, allocations: 463.2 kB / 1.286 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3171, allocations: 0 / 1.286 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3171, allocations: 4 kB / 1.286 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.802e-05/0.3172, allocations: 0 / 1.286 GB, free: 8.203 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.0008156/0.318, allocations: 0.5246 MB / 1.287 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.318, allocations: 8.031 kB / 1.287 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.23e-05/0.318, allocations: 12.83 kB / 1.287 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.762e-05/0.3181, allocations: 74.67 kB / 1.287 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.728e-05/0.3182, allocations: 48.64 kB / 1.287 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004296/0.3186, allocations: 274.5 kB / 1.287 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.056e-05/0.3187, allocations: 29.03 kB / 1.287 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.889e-05/0.3187, allocations: 36.36 kB / 1.287 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006433/0.3194, allocations: 403.8 kB / 1.288 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.3194, allocations: 0 / 1.288 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.831e-05/0.3194, allocations: 12 kB / 1.288 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.039e-05/0.3194, allocations: 8 kB / 1.288 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004814/0.3199, allocations: 303.5 kB / 1.288 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001424/0.3213, allocations: 0.9659 MB / 1.289 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001607/0.3215, allocations: 97.09 kB / 1.289 GB, free: 5.293 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.638e-05/0.3215, allocations: 41.8 kB / 1.289 GB, free: 5.246 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.638e-05/0.3216, allocations: 4 kB / 1.289 GB, free: 5.242 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.559e-05/0.3216, allocations: 34.55 kB / 1.289 GB, free: 5.199 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.3216, allocations: 0 / 1.289 GB, free: 5.199 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0003497/0.3219, allocations: 173.3 kB / 1.289 GB, free: 5.023 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.072e-05/0.322, allocations: 77.11 kB / 1.289 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005911/0.3226, allocations: 0.5053 MB / 1.29 GB, free: 4.414 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/0.3226, allocations: 25.7 kB / 1.29 GB, free: 4.383 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001655/0.3228, allocations: 215.7 kB / 1.29 GB, free: 4.168 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.672e-05/0.3228, allocations: 11.84 kB / 1.29 GB, free: 4.156 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.486e-05/0.3229, allocations: 53.7 kB / 1.29 GB, free: 4.098 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001647/0.323, allocations: 346.8 kB / 1.291 GB, free: 3.75 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001134/0.3232, allocations: 71.89 kB / 1.291 GB, free: 3.68 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000125/0.3233, allocations: 89.56 kB / 1.291 GB, free: 3.586 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001751/0.3235, allocations: 113.6 kB / 1.291 GB, free: 3.469 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.3235, allocations: 4 kB / 1.291 GB, free: 3.465 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003176/0.3238, allocations: 213.3 kB / 1.291 GB, free: 3.25 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.3238, allocations: 10.03 kB / 1.291 GB, free: 3.242 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.3238, allocations: 3.938 kB / 1.291 GB, free: 3.238 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.3238, allocations: 4 kB / 1.291 GB, free: 3.234 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000147/0.324, allocations: 27.98 kB / 1.291 GB, free: 3.207 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.324, allocations: 0 / 1.291 GB, free: 3.207 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.832e-05/0.3241, allocations: 35.92 kB / 1.291 GB, free: 3.172 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.802e-05/0.3241, allocations: 4 kB / 1.291 GB, free: 3.168 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.0002063/0.3243, allocations: 209.1 kB / 1.291 GB, free: 2.957 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.555e-05/0.3244, allocations: 35.77 kB / 1.291 GB, free: 2.922 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002227/0.3246, allocations: 122 kB / 1.291 GB, free: 2.793 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.3246, allocations: 3.984 kB / 1.291 GB, free: 2.789 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.3246, allocations: 0 / 1.291 GB, free: 2.789 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.748e-06/0.3246, allocations: 4 kB / 1.292 GB, free: 2.785 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005892/0.3252, allocations: 0.6048 MB / 1.292 GB, free: 2.117 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.3252, allocations: 3.984 kB / 1.292 GB, free: 2.113 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.238e-05/0.3252, allocations: 4 kB / 1.292 GB, free: 2.109 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.3252, allocations: 0 / 1.292 GB, free: 2.109 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.756e-06/0.3252, allocations: 12.19 kB / 1.292 GB, free: 2.098 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.3252, allocations: 3.938 kB / 1.292 GB, free: 2.094 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3252, allocations: 0 / 1.292 GB, free: 2.094 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001521/0.3254, allocations: 135.3 kB / 1.292 GB, free: 1.934 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.106e-05/0.3255, allocations: 43.8 kB / 1.292 GB, free: 1.891 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.246e-05/0.3255, allocations: 3.953 kB / 1.292 GB, free: 1.887 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.555e-05/0.3255, allocations: 4 kB / 1.292 GB, free: 1.883 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.806e-05/0.3256, allocations: 7.984 kB / 1.292 GB, free: 1.875 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.029e-06/0.3256, allocations: 4 kB / 1.292 GB, free: 1.871 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004452/0.326, allocations: 387 kB / 1.293 GB, free: 1.496 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.326, allocations: 4 kB / 1.293 GB, free: 1.492 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000256/0.3263, allocations: 47.88 kB / 1.293 GB, free: 1.445 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.000455/0.3267, allocations: 0.6655 MB / 1.293 GB, free: 0.7383 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002151/0.327, allocations: 99.88 kB / 1.293 GB, free: 0.6406 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.327, allocations: 0 / 1.293 GB, free: 0.6406 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.114e-05/0.327, allocations: 19.94 kB / 1.293 GB, free: 0.6211 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002573/0.3272, allocations: 29.89 kB / 1.294 GB, free: 0.5898 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003404/0.3306, allocations: 2.906 MB / 1.296 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001869/0.3308, allocations: 179.5 kB / 1.297 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001105/0.3309, allocations: 58.94 kB / 1.297 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001459/0.3311, allocations: 95.39 kB / 1.297 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of SimCode: time 3.91e-07/0.3311, allocations: 0 / 1.297 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02818/0.3593, allocations: 5.956 MB / 1.302 GB, free: 7.477 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.91/12.27, allocations: 1.422 kB / 1.302 GB, free: 7.477 MB / 0.9981 GB " [Timeout remaining time 288] (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: 19.05368149909191]