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.00252/0.00252, allocations: 79.7 kB / 20.23 MB, free: 4.188 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.003494/0.003494, allocations: 157.3 kB / 23.55 MB, free: 0.875 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 1.587/1.587, allocations: 177.1 MB / 203.9 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] 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 2.88/2.88, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 176] 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 3.827e-06/3.827e-06, allocations: 0.6562 kB / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.03e-05/4.412e-05, allocations: 2.938 kB / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex): time 0.003758/0.003802, allocations: 0.8755 MB / 0.7872 GB, free: 11.94 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0005007/0.004303, allocations: 91.67 kB / 0.7873 GB, free: 11.85 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001157/0.004418, allocations: 6.125 kB / 0.7873 GB, free: 11.85 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001948/0.004613, allocations: 23.73 kB / 0.7873 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001876/0.004801, allocations: 11.92 kB / 0.7873 GB, free: 11.81 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001417/0.004943, allocations: 39.97 kB / 0.7874 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0005858/0.005528, allocations: 255.4 kB / 0.7876 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005306/0.006059, allocations: 166.9 kB / 0.7878 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004006/0.00646, allocations: 196.6 kB / 0.788 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003067/0.006766, allocations: 123.6 kB / 0.7881 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 9.816e-05/0.006864, allocations: 32 kB / 0.7881 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 8.346e-05/0.006948, allocations: 33 kB / 0.7881 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001709/0.007119, allocations: 95.67 kB / 0.7882 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001759/0.007295, allocations: 88.81 kB / 0.7883 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0008882/0.008183, allocations: 470.4 kB / 0.7888 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.008188, allocations: 0 / 0.7888 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.234e-06/0.00819, allocations: 1.562 kB / 0.7888 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 9.198e-06/0.0082, allocations: 0 / 0.7888 GB, free: 10.34 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.001422/0.009622, allocations: 0.6516 MB / 0.7894 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.449e-05/0.009686, allocations: 12.03 kB / 0.7894 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002157/0.009902, allocations: 66.64 kB / 0.7895 GB, free: 9.574 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008431/0.01074, allocations: 272.5 kB / 0.7897 GB, free: 9.281 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000102/0.01085, allocations: 37.02 kB / 0.7898 GB, free: 9.246 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.279e-05/0.01093, allocations: 28.38 kB / 0.7898 GB, free: 9.219 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001087/0.01202, allocations: 360.2 kB / 0.7901 GB, free: 8.855 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.981e-05/0.01204, allocations: 192 / 0.7901 GB, free: 8.855 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.381e-05/0.01209, allocations: 20.36 kB / 0.7902 GB, free: 8.836 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.816e-05/0.01211, allocations: 16.25 kB / 0.7902 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007797/0.01289, allocations: 223.3 kB / 0.7904 GB, free: 8.602 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003165/0.01605, allocations: 1.042 MB / 0.7914 GB, free: 7.52 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003281/0.01638, allocations: 108.4 kB / 0.7915 GB, free: 7.391 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001401/0.01652, allocations: 43.45 kB / 0.7916 GB, free: 7.34 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.634e-05/0.01656, allocations: 0 / 0.7916 GB, free: 7.34 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.756e-05/0.01662, allocations: 41.39 kB / 0.7916 GB, free: 7.289 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=6): time 1.643e-06/0.01662, allocations: 0 / 0.7916 GB, free: 7.289 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6): time 0.0006478/0.01726, allocations: 151.2 kB / 0.7917 GB, free: 7.137 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.721e-05/0.01736, allocations: 81.11 kB / 0.7918 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009494/0.01831, allocations: 480 kB / 0.7923 GB, free: 6.551 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.071e-05/0.01834, allocations: 25.7 kB / 0.7923 GB, free: 6.52 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003336/0.01868, allocations: 272 kB / 0.7926 GB, free: 6.25 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.318e-05/0.01872, allocations: 19.89 kB / 0.7926 GB, free: 6.23 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002661/0.01898, allocations: 111.3 kB / 0.7927 GB, free: 6.113 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0004604/0.01945, allocations: 0.528 MB / 0.7932 GB, free: 5.574 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00022/0.01967, allocations: 61.3 kB / 0.7933 GB, free: 5.516 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002583/0.01992, allocations: 97.66 kB / 0.7934 GB, free: 5.414 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003363/0.02026, allocations: 115.3 kB / 0.7935 GB, free: 5.293 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.02026, allocations: 3.938 kB / 0.7935 GB, free: 5.289 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006325/0.0209, allocations: 196.2 kB / 0.7937 GB, free: 5.094 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.854e-05/0.02093, allocations: 4 kB / 0.7937 GB, free: 5.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.02093, allocations: 0 / 0.7937 GB, free: 5.09 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.697e-05/0.02096, allocations: 4 kB / 0.7937 GB, free: 5.086 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002903/0.02125, allocations: 31.92 kB / 0.7937 GB, free: 5.055 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/0.02126, allocations: 0 / 0.7937 GB, free: 5.055 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001111/0.02137, allocations: 16.61 kB / 0.7937 GB, free: 5.039 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.798e-05/0.02141, allocations: 12 kB / 0.7937 GB, free: 5.027 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 (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.0003884/0.0218, allocations: 236.6 kB / 0.7939 GB, free: 4.789 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/0.0219, allocations: 19.86 kB / 0.794 GB, free: 4.77 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003623/0.02226, allocations: 114.9 kB / 0.7941 GB, free: 4.648 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.02227, allocations: 0 / 0.7941 GB, free: 4.648 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.02227, allocations: 1.281 kB / 0.7941 GB, free: 4.648 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.02228, allocations: 0 / 0.7941 GB, free: 4.648 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001327/0.0236, allocations: 0.7729 MB / 0.7948 GB, free: 3.816 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.02361, allocations: 0 / 0.7948 GB, free: 3.816 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.148e-05/0.02366, allocations: 11.98 kB / 0.7948 GB, free: 3.805 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.02366, allocations: 1.375 kB / 0.7948 GB, free: 3.805 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.02367, allocations: 4 kB / 0.7948 GB, free: 3.801 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.484e-06/0.02368, allocations: 3.938 kB / 0.7949 GB, free: 3.797 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.02368, allocations: 0.9062 kB / 0.7949 GB, free: 3.797 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002949/0.02398, allocations: 135.3 kB / 0.795 GB, free: 3.629 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.563e-05/0.02405, allocations: 24.7 kB / 0.795 GB, free: 3.605 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.342e-05/0.02409, allocations: 0 / 0.795 GB, free: 3.605 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.247e-05/0.02418, allocations: 9.219 kB / 0.795 GB, free: 3.598 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.556e-05/0.02423, allocations: 7.984 kB / 0.795 GB, free: 3.59 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.541e-06/0.02423, allocations: 3.938 kB / 0.795 GB, free: 3.586 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0005597/0.02479, allocations: 293.1 kB / 0.7953 GB, free: 3.301 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.1e-07/0.02479, allocations: 0.7188 kB / 0.7953 GB, free: 3.301 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000496/0.02529, allocations: 51.78 kB / 0.7954 GB, free: 3.25 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 0.0002177/0.02551, allocations: 105.6 kB / 0.7955 GB, free: 3.141 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004329/0.02594, allocations: 111.6 kB / 0.7956 GB, free: 3.027 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.02594, allocations: 0 / 0.7956 GB, free: 3.027 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.343e-05/0.02602, allocations: 28.67 kB / 0.7956 GB, free: 2.996 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004379/0.02646, allocations: 29.02 kB / 0.7956 GB, free: 2.969 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001366/0.02783, allocations: 0.4892 MB / 0.7961 GB, free: 2.434 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003338/0.02816, allocations: 169.6 kB / 0.7963 GB, free: 2.25 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001614/0.02832, allocations: 33.59 kB / 0.7963 GB, free: 2.219 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.972e-05/0.02839, allocations: 16.5 kB / 0.7963 GB, free: 2.203 MB / 0.7448 GB Notification: Performance of SimCode: time 9.32e-07/0.02839, allocations: 4 kB / 0.7963 GB, free: 2.199 MB / 0.7448 GB Notification: Performance of Templates: time 0.008959/0.03735, allocations: 1.204 MB / 0.7975 GB, free: 1.035 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.959742020000704]