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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 115.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001511/0.001511, allocations: 192.5 kB / 22.17 MB, free: 5.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.306/1.306, allocations: 225.6 MB / 250.9 MB, free: 13.28 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.899/2.899, allocations: 497.2 MB / 0.7845 GB, free: 33.64 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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: translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|couTru.y|couTruAllFal.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|couTru.y|couTruAllFal.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001837/0.001837, allocations: 61.09 kB / 1.139 GB, free: 33.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2865/0.2883, allocations: 173.9 MB / 1.309 GB, free: 8 kB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.002209/0.2905, allocations: 0.8672 MB / 1.31 GB, free: 15.14 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0002811/0.2908, allocations: 95.64 kB / 1.31 GB, free: 15.04 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.951e-05/0.2909, allocations: 0 / 1.31 GB, free: 15.04 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001137/0.291, allocations: 23.73 kB / 1.31 GB, free: 15.02 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001142/0.2911, allocations: 15.86 kB / 1.31 GB, free: 15 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 7.391e-05/0.2912, allocations: 39.97 kB / 1.31 GB, free: 14.96 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000291/0.2915, allocations: 259.5 kB / 1.311 GB, free: 14.71 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002839/0.2917, allocations: 174.3 kB / 1.311 GB, free: 14.54 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001211/0.2919, allocations: 135.4 kB / 1.311 GB, free: 14.41 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001589/0.292, allocations: 139.4 kB / 1.311 GB, free: 14.27 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 5.163e-05/0.2921, allocations: 32 kB / 1.311 GB, free: 14.24 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 3.906e-05/0.2921, allocations: 32 kB / 1.311 GB, free: 14.21 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 9.884e-05/0.2922, allocations: 91.7 kB / 1.311 GB, free: 14.12 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.00013/0.2923, allocations: 151.1 kB / 1.311 GB, free: 13.97 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0004222/0.2928, allocations: 462 kB / 1.312 GB, free: 13.52 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.2928, allocations: 0 / 1.312 GB, free: 13.52 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2928, allocations: 0 / 1.312 GB, free: 13.52 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.284e-05/0.2928, allocations: 4 kB / 1.312 GB, free: 13.51 MB / 1.014 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.0007077/0.2935, allocations: 0.5999 MB / 1.312 GB, free: 12.86 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.2935, allocations: 12.92 kB / 1.312 GB, free: 12.84 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.754e-05/0.2936, allocations: 40.66 kB / 1.312 GB, free: 12.8 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004481/0.294, allocations: 328.3 kB / 1.313 GB, free: 12.45 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.895e-05/0.2941, allocations: 41.02 kB / 1.313 GB, free: 12.41 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.414e-05/0.2941, allocations: 28.38 kB / 1.313 GB, free: 12.38 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000576/0.2947, allocations: 408.2 kB / 1.313 GB, free: 11.97 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.2947, allocations: 192 / 1.313 GB, free: 11.97 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.669e-05/0.2948, allocations: 11.94 kB / 1.313 GB, free: 11.96 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.2948, allocations: 8 kB / 1.313 GB, free: 11.95 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004402/0.2952, allocations: 307.4 kB / 1.313 GB, free: 11.65 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001429/0.2966, allocations: 1.073 MB / 1.314 GB, free: 10.52 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001401/0.2968, allocations: 81.22 kB / 1.315 GB, free: 10.42 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.085e-05/0.2968, allocations: 41.8 kB / 1.315 GB, free: 10.38 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.561e-05/0.2969, allocations: 0 / 1.315 GB, free: 10.38 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.581e-05/0.2969, allocations: 46.48 kB / 1.315 GB, free: 10.32 MB / 1.014 GB Notification: Performance of pre-optimization done (n=6): time 9.22e-07/0.2969, allocations: 11.94 kB / 1.315 GB, free: 10.31 MB / 1.014 GB Notification: Performance of matching and sorting (n=6): time 0.0003205/0.2972, allocations: 161.4 kB / 1.315 GB, free: 10.14 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.853e-05/0.2973, allocations: 81.05 kB / 1.315 GB, free: 10.05 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006028/0.2979, allocations: 0.5053 MB / 1.315 GB, free: 9.535 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.2979, allocations: 25.7 kB / 1.315 GB, free: 9.504 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001611/0.2981, allocations: 215.7 kB / 1.316 GB, free: 9.289 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.729e-05/0.2981, allocations: 15.91 kB / 1.316 GB, free: 9.273 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.08e-05/0.2981, allocations: 45.7 kB / 1.316 GB, free: 9.223 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001615/0.2983, allocations: 354.8 kB / 1.316 GB, free: 8.867 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001122/0.2984, allocations: 63.95 kB / 1.316 GB, free: 8.805 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001216/0.2985, allocations: 86.75 kB / 1.316 GB, free: 8.715 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001735/0.2987, allocations: 117.6 kB / 1.316 GB, free: 8.594 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2987, allocations: 0 / 1.316 GB, free: 8.594 MB / 1.014 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002942/0.299, allocations: 209.4 kB / 1.316 GB, free: 8.383 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.299, allocations: 8 kB / 1.316 GB, free: 8.375 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.299, allocations: 0 / 1.316 GB, free: 8.375 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.299, allocations: 4 kB / 1.316 GB, free: 8.371 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001304/0.2992, allocations: 39.86 kB / 1.316 GB, free: 8.332 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.2992, allocations: 3.984 kB / 1.316 GB, free: 8.328 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.139e-05/0.2993, allocations: 35.67 kB / 1.317 GB, free: 8.293 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.635e-05/0.2993, allocations: 8 kB / 1.317 GB, free: 8.285 MB / 1.014 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.0001975/0.2995, allocations: 207.4 kB / 1.317 GB, free: 8.07 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.701e-05/0.2995, allocations: 35.77 kB / 1.317 GB, free: 8.035 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002024/0.2997, allocations: 118 kB / 1.317 GB, free: 7.906 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.2997, allocations: 3.938 kB / 1.317 GB, free: 7.902 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.2997, allocations: 384 / 1.317 GB, free: 7.902 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.983e-06/0.2998, allocations: 0 / 1.317 GB, free: 7.902 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006099/0.3004, allocations: 0.6566 MB / 1.318 GB, free: 7.176 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3004, allocations: 0 / 1.318 GB, free: 7.176 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.26e-05/0.3004, allocations: 7.938 kB / 1.318 GB, free: 7.168 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.3004, allocations: 7.922 kB / 1.318 GB, free: 7.16 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.3004, allocations: 4 kB / 1.318 GB, free: 7.156 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.3004, allocations: 0 / 1.318 GB, free: 7.156 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3004, allocations: 0 / 1.318 GB, free: 7.156 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001491/0.3005, allocations: 135.5 kB / 1.318 GB, free: 6.996 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001247/0.3007, allocations: 120.8 kB / 1.318 GB, free: 6.859 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.105e-05/0.3007, allocations: 3.953 kB / 1.318 GB, free: 6.855 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.157e-05/0.3008, allocations: 4 kB / 1.318 GB, free: 6.852 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.435e-05/0.3008, allocations: 15.92 kB / 1.318 GB, free: 6.836 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.484e-06/0.3008, allocations: 0 / 1.318 GB, free: 6.836 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004255/0.3012, allocations: 391 kB / 1.318 GB, free: 6.457 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.3012, allocations: 0 / 1.318 GB, free: 6.457 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002264/0.3014, allocations: 36 kB / 1.318 GB, free: 6.422 MB / 1.014 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.0001087/0.3015, allocations: 103.2 kB / 1.318 GB, free: 6.312 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002146/0.3018, allocations: 103.9 kB / 1.318 GB, free: 6.211 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3018, allocations: 480 / 1.318 GB, free: 6.211 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 2.631e-05/0.3018, allocations: 16.12 kB / 1.318 GB, free: 6.195 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002407/0.302, allocations: 46.91 kB / 1.318 GB, free: 6.148 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007365/0.3028, allocations: 0.5133 MB / 1.319 GB, free: 5.598 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003949/0.3032, allocations: 0.7909 MB / 1.32 GB, free: 4.781 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001007/0.3033, allocations: 58.92 kB / 1.32 GB, free: 4.727 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.097e-05/0.3033, allocations: 23.44 kB / 1.32 GB, free: 4.703 MB / 1.014 GB Notification: Performance of SimCode: time 2.71e-07/0.3033, allocations: 0 / 1.32 GB, free: 4.703 MB / 1.014 GB Notification: Performance of Templates: time 0.00525/0.3086, allocations: 2.015 MB / 1.322 GB, free: 2.699 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue -abortSlowSimulation -alarm=800 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe 2>&1) [Timeout 800] 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_2/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: 7.723543984815478]