Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.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.001136/0.001136, allocations: 80.39 kB / 21.47 MB, free: 3.023 MB / 18.57 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.001561/0.001561, allocations: 172.3 kB / 24.87 MB, free: 8.879 MB / 18.57 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 0.9387/0.9387, allocations: 177.2 MB / 205.3 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.78/1.78, allocations: 359 MB / 0.6063 GB, free: 10.91 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|idxFirTru.y|idxFirTruAllFal.y",fileNamePrefix="Buildings_11_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_11_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0.6562 kB / 0.7883 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.552e-05/1.73e-05, allocations: 10.97 kB / 0.7883 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex): time 0.001405/0.001422, allocations: 0.8621 MB / 0.7891 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0002238/0.001646, allocations: 95.62 kB / 0.7892 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.541e-05/0.001721, allocations: 4.562 kB / 0.7892 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001113/0.001832, allocations: 25.14 kB / 0.7893 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.000118/0.00195, allocations: 15.86 kB / 0.7893 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 6.323e-05/0.002014, allocations: 47.94 kB / 0.7893 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001994/0.002213, allocations: 251.4 kB / 0.7896 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002163/0.002429, allocations: 179.8 kB / 0.7897 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001945/0.002624, allocations: 211.6 kB / 0.7899 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 9.457e-05/0.002718, allocations: 111.7 kB / 0.79 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.426e-05/0.002753, allocations: 29.56 kB / 0.7901 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 2.505e-05/0.002778, allocations: 28 kB / 0.7901 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.669e-05/0.002834, allocations: 79.69 kB / 0.7902 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.672e-05/0.002891, allocations: 79.77 kB / 0.7902 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002066/0.003098, allocations: 260.2 kB / 0.7905 GB, free: 10 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.854e-06/0.003099, allocations: 0 / 0.7905 GB, free: 10 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.61e-07/0.0031, allocations: 0 / 0.7905 GB, free: 10 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.87e-06/0.003105, allocations: 0 / 0.7905 GB, free: 10 MB / 0.7448 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.000431/0.003536, allocations: 0.637 MB / 0.7911 GB, free: 9.324 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.003568, allocations: 8.031 kB / 0.7911 GB, free: 9.316 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.288e-05/0.003641, allocations: 69.52 kB / 0.7912 GB, free: 9.25 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000243/0.003884, allocations: 258.4 kB / 0.7914 GB, free: 8.973 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.782e-05/0.003922, allocations: 37.02 kB / 0.7915 GB, free: 8.938 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.582e-05/0.003947, allocations: 32.38 kB / 0.7915 GB, free: 8.906 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002612/0.004209, allocations: 254.6 kB / 0.7917 GB, free: 8.641 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.00422, allocations: 4.125 kB / 0.7918 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.839e-05/0.004238, allocations: 12.38 kB / 0.7918 GB, free: 8.625 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.772e-06/0.004245, allocations: 10.12 kB / 0.7918 GB, free: 8.617 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001046/0.004349, allocations: 95.42 kB / 0.7919 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006922/0.005041, allocations: 0.8129 MB / 0.7927 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.06e-05/0.005122, allocations: 78.64 kB / 0.7927 GB, free: 7.574 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.281e-05/0.005145, allocations: 27.53 kB / 0.7928 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.454e-05/0.005159, allocations: 4.719 kB / 0.7928 GB, free: 7.535 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.673e-05/0.005176, allocations: 33.39 kB / 0.7928 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=6): time 8.62e-07/0.005177, allocations: 0.5312 kB / 0.7928 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6): time 0.0001466/0.005324, allocations: 83.17 kB / 0.7929 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.121e-05/0.005355, allocations: 81.11 kB / 0.793 GB, free: 7.309 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002098/0.005565, allocations: 387.8 kB / 0.7933 GB, free: 6.918 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.137e-06/0.005574, allocations: 25.7 kB / 0.7933 GB, free: 6.887 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/0.005682, allocations: 275.7 kB / 0.7936 GB, free: 6.613 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.043e-05/0.005692, allocations: 19.83 kB / 0.7936 GB, free: 6.594 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.279e-05/0.005765, allocations: 88.06 kB / 0.7937 GB, free: 6.5 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.005887, allocations: 0.5234 MB / 0.7942 GB, free: 5.965 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.734e-05/0.005914, allocations: 17.14 kB / 0.7942 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.769e-05/0.005952, allocations: 39.34 kB / 0.7943 GB, free: 5.902 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.42e-05/0.006016, allocations: 63.23 kB / 0.7943 GB, free: 5.832 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.006018, allocations: 1.375 kB / 0.7943 GB, free: 5.832 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001137/0.006131, allocations: 113.5 kB / 0.7944 GB, free: 5.715 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.788e-06/0.006141, allocations: 4 kB / 0.7945 GB, free: 5.711 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.006146, allocations: 5.734 kB / 0.7945 GB, free: 5.707 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.536e-06/0.006154, allocations: 4 kB / 0.7945 GB, free: 5.703 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.831e-05/0.006233, allocations: 31.94 kB / 0.7945 GB, free: 5.672 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.335e-06/0.006235, allocations: 0 / 0.7945 GB, free: 5.672 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.189e-05/0.006267, allocations: 19.81 kB / 0.7945 GB, free: 5.652 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.006278, allocations: 5.25 kB / 0.7945 GB, free: 5.648 MB / 0.7448 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 (idxFirTruAllFal.booToInt[6].y,idxFirTruAllFal.booToInt[5].y,idxFirTruAllFal.booToInt[4].y,idxFirTruAllFal.booToInt[3].y,idxFirTruAllFal.booToInt[2].y,idxFirTruAllFal.booToInt[1].y,idxFirTruAllFal.intEqu.y,idxFirTruAllFal.mulMin.y,idxFirTruAllFal.y,idxFirTru.booToInt[6].y,idxFirTru.booToInt[5].y,idxFirTru.booToInt[4].y,idxFirTru.booToInt[3].y,idxFirTru.booToInt[2].y,idxFirTru.booToInt[1].y,idxFirTru.intEqu.y,idxFirTru.mulMin.y,idxFirTru.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 9.008e-05/0.006368, allocations: 180.2 kB / 0.7947 GB, free: 5.461 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.387e-05/0.006402, allocations: 19.86 kB / 0.7947 GB, free: 5.441 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001138/0.006516, allocations: 102.3 kB / 0.7948 GB, free: 5.332 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.006517, allocations: 2.656 kB / 0.7948 GB, free: 5.332 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-06/0.006519, allocations: 0 / 0.7948 GB, free: 5.332 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.006522, allocations: 0 / 0.7948 GB, free: 5.332 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000336/0.006858, allocations: 0.6434 MB / 0.7954 GB, free: 4.637 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.006859, allocations: 0 / 0.7954 GB, free: 4.637 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.255e-05/0.006872, allocations: 4.5 kB / 0.7954 GB, free: 4.633 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.006874, allocations: 4.531 kB / 0.7954 GB, free: 4.629 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.739e-06/0.006879, allocations: 3.984 kB / 0.7954 GB, free: 4.625 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.00688, allocations: 1.938 kB / 0.7955 GB, free: 4.625 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.006883, allocations: 8 kB / 0.7955 GB, free: 4.617 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.928e-05/0.006962, allocations: 131.2 kB / 0.7956 GB, free: 4.453 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.725e-05/0.006979, allocations: 20.28 kB / 0.7956 GB, free: 4.434 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.199e-05/0.006991, allocations: 2.594 kB / 0.7956 GB, free: 4.434 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.027e-05/0.007042, allocations: 4 kB / 0.7956 GB, free: 4.43 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.664e-05/0.007058, allocations: 11.92 kB / 0.7956 GB, free: 4.418 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-06/0.007061, allocations: 4 kB / 0.7956 GB, free: 4.414 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.699e-05/0.007148, allocations: 205.1 kB / 0.7958 GB, free: 4.215 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.7e-07/0.007148, allocations: 3.938 kB / 0.7958 GB, free: 4.211 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001519/0.0073, allocations: 55.78 kB / 0.7959 GB, free: 4.156 MB / 0.7448 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 7.153e-05/0.007372, allocations: 112.5 kB / 0.796 GB, free: 4.039 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.795e-05/0.00747, allocations: 65.14 kB / 0.796 GB, free: 3.973 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.007471, allocations: 0.8125 kB / 0.796 GB, free: 3.973 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.459e-05/0.007486, allocations: 20.89 kB / 0.7961 GB, free: 3.949 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001574/0.007643, allocations: 24.5 kB / 0.7961 GB, free: 3.922 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004676/0.008111, allocations: 462.5 kB / 0.7965 GB, free: 3.422 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.293e-05/0.008154, allocations: 87.95 kB / 0.7966 GB, free: 3.316 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.378e-05/0.008187, allocations: 14.86 kB / 0.7966 GB, free: 3.305 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.862e-05/0.008246, allocations: 94.19 kB / 0.7967 GB, free: 3.211 MB / 0.7448 GB Notification: Performance of SimCode: time 7.52e-07/0.008247, allocations: 0 / 0.7967 GB, free: 3.211 MB / 0.7448 GB Notification: Performance of Templates: time 0.003273/0.01152, allocations: 1.307 MB / 0.798 GB, free: 1.953 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.pipe ; mkfifo Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.pipe ; head -c 1048576 < Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.pipe >> ../files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.sim & ./Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Templates_Plants_Controls_Utilities_Validation_FirstTrueIndex.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.957633356098086]