Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.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.001456/0.001456, allocations: 115.7 kB / 18.89 MB, free: 2.898 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.001515/0.001515, allocations: 199.5 kB / 22.17 MB, free: 5.211 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.311/1.311, allocations: 225.6 MB / 250.9 MB, free: 13.25 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.894/2.894, allocations: 497.2 MB / 0.7845 GB, free: 33.56 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.FirstTrueIndex,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|idxFirTru.y|idxFirTruAllFal.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|idxFirTru.y|idxFirTruAllFal.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00179/0.00179, allocations: 68.2 kB / 1.139 GB, free: 33.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2812/0.283, allocations: 173.9 MB / 1.309 GB, free: 15.99 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex): time 0.001962/0.285, allocations: 0.873 MB / 1.31 GB, free: 15.12 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0002536/0.2853, allocations: 91.7 kB / 1.31 GB, free: 15.03 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.607e-05/0.2853, allocations: 3.938 kB / 1.31 GB, free: 15.02 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001091/0.2854, allocations: 23.78 kB / 1.31 GB, free: 15 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001072/0.2855, allocations: 11.88 kB / 1.31 GB, free: 14.99 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 7.367e-05/0.2856, allocations: 43.95 kB / 1.31 GB, free: 14.95 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002831/0.2859, allocations: 255.5 kB / 1.311 GB, free: 14.7 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002942/0.2862, allocations: 182.2 kB / 1.311 GB, free: 14.52 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001151/0.2863, allocations: 127.5 kB / 1.311 GB, free: 14.39 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001636/0.2865, allocations: 147.3 kB / 1.311 GB, free: 14.25 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 5.239e-05/0.2865, allocations: 32 kB / 1.311 GB, free: 14.21 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 4.109e-05/0.2866, allocations: 32 kB / 1.311 GB, free: 14.18 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 9.022e-05/0.2867, allocations: 87.77 kB / 1.311 GB, free: 14.1 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.000125/0.2868, allocations: 151.1 kB / 1.311 GB, free: 13.95 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0004188/0.2872, allocations: 462 kB / 1.312 GB, free: 13.5 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.2872, allocations: 0 / 1.312 GB, free: 13.5 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.132e-06/0.2872, allocations: 0 / 1.312 GB, free: 13.5 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.227e-06/0.2872, allocations: 8 kB / 1.312 GB, free: 13.49 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.000692/0.2879, allocations: 0.5999 MB / 1.312 GB, free: 12.83 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 2.78e-05/0.2879, allocations: 16.56 kB / 1.312 GB, free: 12.82 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.622e-05/0.288, allocations: 40.66 kB / 1.312 GB, free: 12.78 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004261/0.2884, allocations: 324.4 kB / 1.313 GB, free: 12.42 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.312e-05/0.2885, allocations: 37.03 kB / 1.313 GB, free: 12.39 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.922e-05/0.2885, allocations: 32.31 kB / 1.313 GB, free: 12.36 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005717/0.2891, allocations: 404.2 kB / 1.313 GB, free: 11.95 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.2891, allocations: 192 / 1.313 GB, free: 11.95 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.028e-05/0.2891, allocations: 19.94 kB / 1.313 GB, free: 11.93 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.07e-05/0.2891, allocations: 11.98 kB / 1.313 GB, free: 11.92 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004417/0.2896, allocations: 303.3 kB / 1.313 GB, free: 11.62 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001379/0.291, allocations: 1.058 MB / 1.314 GB, free: 10.51 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001378/0.2911, allocations: 89.16 kB / 1.315 GB, free: 10.4 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.366e-05/0.2912, allocations: 49.78 kB / 1.315 GB, free: 10.35 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.458e-05/0.2912, allocations: 0 / 1.315 GB, free: 10.35 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/0.2912, allocations: 38.56 kB / 1.315 GB, free: 10.3 MB / 1.014 GB Notification: Performance of pre-optimization done (n=6): time 8.62e-07/0.2912, allocations: 0 / 1.315 GB, free: 10.3 MB / 1.014 GB Notification: Performance of matching and sorting (n=6): time 0.0003313/0.2915, allocations: 169.4 kB / 1.315 GB, free: 10.13 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.365e-05/0.2916, allocations: 81.05 kB / 1.315 GB, free: 10.03 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005936/0.2922, allocations: 0.5053 MB / 1.315 GB, free: 9.52 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/0.2922, allocations: 25.7 kB / 1.315 GB, free: 9.488 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001844/0.2924, allocations: 215.7 kB / 1.316 GB, free: 9.273 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.118e-05/0.2924, allocations: 15.91 kB / 1.316 GB, free: 9.258 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.646e-05/0.2925, allocations: 53.69 kB / 1.316 GB, free: 9.199 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000175/0.2927, allocations: 346.8 kB / 1.316 GB, free: 8.852 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001158/0.2928, allocations: 67.94 kB / 1.316 GB, free: 8.785 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001201/0.2929, allocations: 89.61 kB / 1.316 GB, free: 8.691 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001699/0.2931, allocations: 109.7 kB / 1.316 GB, free: 8.578 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.2931, allocations: 0 / 1.316 GB, free: 8.578 MB / 1.014 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003057/0.2934, allocations: 213.2 kB / 1.316 GB, free: 8.363 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.2934, allocations: 9.719 kB / 1.316 GB, free: 8.355 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.2934, allocations: 0 / 1.316 GB, free: 8.355 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.2934, allocations: 0 / 1.316 GB, free: 8.355 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/0.2935, allocations: 39.92 kB / 1.316 GB, free: 8.316 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.2936, allocations: 3.938 kB / 1.316 GB, free: 8.312 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.638e-05/0.2936, allocations: 35.67 kB / 1.317 GB, free: 8.277 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.699e-05/0.2936, allocations: 8 kB / 1.317 GB, free: 8.27 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 (idxFirTru.booToInt[1].y,idxFirTru.booToInt[2].y,idxFirTru.booToInt[3].y,idxFirTru.booToInt[4].y,idxFirTru.booToInt[5].y,idxFirTru.booToInt[6].y,idxFirTru.intEqu.y,idxFirTru.mulMin.y,idxFirTru.y,idxFirTruAllFal.booToInt[1].y,idxFirTruAllFal.booToInt[2].y,idxFirTruAllFal.booToInt[3].y,idxFirTruAllFal.booToInt[4].y,idxFirTruAllFal.booToInt[5].y,idxFirTruAllFal.booToInt[6].y,idxFirTruAllFal.intEqu.y,idxFirTruAllFal.mulMin.y,idxFirTruAllFal.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.0002244/0.2939, allocations: 204 kB / 1.317 GB, free: 8.059 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.138e-05/0.2939, allocations: 35.77 kB / 1.317 GB, free: 8.023 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002122/0.2942, allocations: 121.9 kB / 1.317 GB, free: 7.891 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.2942, allocations: 3.938 kB / 1.317 GB, free: 7.887 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.2942, allocations: 0 / 1.317 GB, free: 7.887 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.2942, allocations: 0 / 1.317 GB, free: 7.887 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006622/0.2948, allocations: 0.6605 MB / 1.318 GB, free: 7.156 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.2948, allocations: 0 / 1.318 GB, free: 7.156 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.051e-05/0.2949, allocations: 4 kB / 1.318 GB, free: 7.152 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.2949, allocations: 0 / 1.318 GB, free: 7.152 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.2949, allocations: 4 kB / 1.318 GB, free: 7.148 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.2949, allocations: 0 / 1.318 GB, free: 7.148 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.2949, allocations: 3.984 kB / 1.318 GB, free: 7.145 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001583/0.295, allocations: 139.4 kB / 1.318 GB, free: 6.98 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001374/0.2952, allocations: 120.8 kB / 1.318 GB, free: 6.844 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.997e-05/0.2952, allocations: 3.953 kB / 1.318 GB, free: 6.84 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.947e-05/0.2952, allocations: 4 kB / 1.318 GB, free: 6.836 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.197e-05/0.2953, allocations: 8 kB / 1.318 GB, free: 6.828 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.434e-06/0.2953, allocations: 0 / 1.318 GB, free: 6.828 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004487/0.2957, allocations: 391 kB / 1.318 GB, free: 6.449 MB / 1.014 GB Notification: Performance of sort global known variables: time 1e-07/0.2957, allocations: 4 kB / 1.318 GB, free: 6.445 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002286/0.2959, allocations: 32 kB / 1.318 GB, free: 6.414 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 (idxFirTru.y,idxFirTru.intEqu.y,idxFirTruAllFal.y,idxFirTruAllFal.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.0001308/0.2961, allocations: 103.8 kB / 1.318 GB, free: 6.305 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002229/0.2963, allocations: 111.8 kB / 1.318 GB, free: 6.195 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.2963, allocations: 0 / 1.318 GB, free: 6.195 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 2.678e-05/0.2963, allocations: 16 kB / 1.318 GB, free: 6.18 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002394/0.2966, allocations: 41.67 kB / 1.318 GB, free: 6.137 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007413/0.2973, allocations: 0.5134 MB / 1.319 GB, free: 5.586 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004299/0.2977, allocations: 0.7948 MB / 1.32 GB, free: 4.766 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001007/0.2978, allocations: 54.94 kB / 1.32 GB, free: 4.715 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.286e-05/0.2979, allocations: 23.44 kB / 1.32 GB, free: 4.691 MB / 1.014 GB Notification: Performance of SimCode: time 2.7e-07/0.2979, allocations: 0 / 1.32 GB, free: 4.691 MB / 1.014 GB Notification: Performance of Templates: time 0.005028/0.3029, allocations: 2.027 MB / 1.322 GB, free: 2.684 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.sim & ./Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex -abortSlowSimulation -alarm=800 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_Utilities_Validation_FirstTrueIndex.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.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.783179224003106]