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.0009288/0.0009288, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.0009462/0.0009462, allocations: 165 kB / 23.82 MB, free: 0.75 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.926/0.926, allocations: 177.1 MB / 204.2 MB, free: 5.617 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.829/1.829, allocations: 359 MB / 0.6052 GB, free: 10.99 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 3.246e-06/3.246e-06, allocations: 0 / 0.7871 GB, free: 11.39 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.308e-05/3.633e-05, allocations: 13.66 kB / 0.7871 GB, free: 11.38 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex): time 0.0025/0.002536, allocations: 0.88 MB / 0.7879 GB, free: 10.52 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0003768/0.002913, allocations: 87.69 kB / 0.788 GB, free: 10.43 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001028/0.003016, allocations: 9.562 kB / 0.788 GB, free: 10.43 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001486/0.003164, allocations: 19.8 kB / 0.7881 GB, free: 10.41 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001678/0.003332, allocations: 11.92 kB / 0.7881 GB, free: 10.39 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001003/0.003432, allocations: 43.89 kB / 0.7881 GB, free: 10.35 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0003024/0.003735, allocations: 259.4 kB / 0.7884 GB, free: 10.1 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003228/0.004058, allocations: 172.1 kB / 0.7885 GB, free: 9.926 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002141/0.004272, allocations: 195.5 kB / 0.7887 GB, free: 9.734 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001759/0.004448, allocations: 123.7 kB / 0.7888 GB, free: 9.613 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 5.887e-05/0.004506, allocations: 32.91 kB / 0.7889 GB, free: 9.582 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 4.577e-05/0.004552, allocations: 32 kB / 0.7889 GB, free: 9.551 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 8.878e-05/0.004641, allocations: 88.56 kB / 0.789 GB, free: 9.465 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.000107/0.004748, allocations: 91.75 kB / 0.7891 GB, free: 9.375 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003269/0.005075, allocations: 274.9 kB / 0.7893 GB, free: 9.105 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.005078, allocations: 0.5312 kB / 0.7893 GB, free: 9.105 MB / 0.698 GB Notification: Performance of FrontEnd: time 9.22e-07/0.005079, allocations: 5.156 kB / 0.7893 GB, free: 9.102 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.005086, allocations: 0 / 0.7893 GB, free: 9.102 MB / 0.698 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.0007002/0.005786, allocations: 0.6398 MB / 0.79 GB, free: 8.422 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.005832, allocations: 8.594 kB / 0.79 GB, free: 8.414 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001061/0.005938, allocations: 60.7 kB / 0.79 GB, free: 8.355 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004062/0.006344, allocations: 278.1 kB / 0.7903 GB, free: 8.059 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.754e-05/0.006402, allocations: 33.02 kB / 0.7903 GB, free: 8.027 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.336e-05/0.006445, allocations: 32.38 kB / 0.7903 GB, free: 7.996 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004754/0.006921, allocations: 275.3 kB / 0.7906 GB, free: 7.711 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/0.006936, allocations: 4.688 kB / 0.7906 GB, free: 7.707 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.972e-05/0.006966, allocations: 20.31 kB / 0.7906 GB, free: 7.688 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.348e-05/0.00698, allocations: 8.969 kB / 0.7906 GB, free: 7.68 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002708/0.00725, allocations: 121.1 kB / 0.7908 GB, free: 7.562 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001222/0.008472, allocations: 0.8827 MB / 0.7916 GB, free: 6.637 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001358/0.008608, allocations: 86.12 kB / 0.7917 GB, free: 6.527 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.334e-05/0.008651, allocations: 24.81 kB / 0.7917 GB, free: 6.496 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.697e-05/0.008678, allocations: 0 / 0.7917 GB, free: 6.496 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/0.008709, allocations: 37.39 kB / 0.7918 GB, free: 6.449 MB / 0.698 GB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.00871, allocations: 4 kB / 0.7918 GB, free: 6.445 MB / 0.698 GB Notification: Performance of matching and sorting (n=6): time 0.0002718/0.008982, allocations: 87.16 kB / 0.7918 GB, free: 6.355 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.586e-05/0.009027, allocations: 77.11 kB / 0.7919 GB, free: 6.262 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003976/0.009425, allocations: 392 kB / 0.7923 GB, free: 5.863 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/0.009439, allocations: 25.7 kB / 0.7923 GB, free: 5.832 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001722/0.009611, allocations: 274.5 kB / 0.7926 GB, free: 5.562 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.996e-05/0.009631, allocations: 19.89 kB / 0.7926 GB, free: 5.543 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001224/0.009753, allocations: 83.34 kB / 0.7927 GB, free: 5.453 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000178/0.009931, allocations: 0.5196 MB / 0.7932 GB, free: 4.922 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.398e-05/0.009995, allocations: 23.98 kB / 0.7932 GB, free: 4.898 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.978e-05/0.01008, allocations: 56.77 kB / 0.7933 GB, free: 4.836 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001154/0.01019, allocations: 67.3 kB / 0.7933 GB, free: 4.762 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.01019, allocations: 0 / 0.7933 GB, free: 4.762 MB / 0.698 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002191/0.01041, allocations: 129.4 kB / 0.7935 GB, free: 4.629 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.01043, allocations: 8.625 kB / 0.7935 GB, free: 4.621 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.01044, allocations: 0.7188 kB / 0.7935 GB, free: 4.621 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.01046, allocations: 0 / 0.7935 GB, free: 4.621 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001444/0.0106, allocations: 37.14 kB / 0.7935 GB, free: 4.586 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.01061, allocations: 0 / 0.7935 GB, free: 4.586 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.022e-05/0.01066, allocations: 15.89 kB / 0.7935 GB, free: 4.57 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.762e-05/0.01067, allocations: 4 kB / 0.7935 GB, free: 4.566 MB / 0.698 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.0001292/0.0108, allocations: 176.2 kB / 0.7937 GB, free: 4.387 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.853e-05/0.01086, allocations: 24.8 kB / 0.7937 GB, free: 4.363 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000181/0.01104, allocations: 94.31 kB / 0.7938 GB, free: 4.258 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.01105, allocations: 4.531 kB / 0.7938 GB, free: 4.254 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.01105, allocations: 1.469 kB / 0.7938 GB, free: 4.254 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.01106, allocations: 0 / 0.7938 GB, free: 4.254 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005219/0.01158, allocations: 0.7217 MB / 0.7945 GB, free: 3.473 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.01158, allocations: 5.125 kB / 0.7945 GB, free: 3.469 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.345e-05/0.01161, allocations: 3.984 kB / 0.7945 GB, free: 3.465 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.01161, allocations: 7.984 kB / 0.7945 GB, free: 3.457 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.01162, allocations: 2.219 kB / 0.7945 GB, free: 3.457 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.97e-06/0.01162, allocations: 7.938 kB / 0.7945 GB, free: 3.449 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.01162, allocations: 0 / 0.7945 GB, free: 3.449 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001211/0.01175, allocations: 131.3 kB / 0.7947 GB, free: 3.285 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.523e-05/0.01177, allocations: 11.91 kB / 0.7947 GB, free: 3.273 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.113e-05/0.01179, allocations: 6.781 kB / 0.7947 GB, free: 3.27 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.82e-05/0.01183, allocations: 11.92 kB / 0.7947 GB, free: 3.258 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.398e-05/0.01185, allocations: 4 kB / 0.7947 GB, free: 3.254 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/0.01186, allocations: 4 kB / 0.7947 GB, free: 3.25 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000181/0.01204, allocations: 213.1 kB / 0.7949 GB, free: 3.039 MB / 0.698 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01204, allocations: 0 / 0.7949 GB, free: 3.039 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002888/0.01233, allocations: 59.73 kB / 0.795 GB, free: 2.98 MB / 0.698 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.000108/0.01244, allocations: 104.7 kB / 0.7951 GB, free: 2.867 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000169/0.01261, allocations: 71.59 kB / 0.7951 GB, free: 2.793 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.01261, allocations: 0 / 0.7951 GB, free: 2.793 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.29e-05/0.01263, allocations: 24.66 kB / 0.7951 GB, free: 2.766 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002558/0.01289, allocations: 33.05 kB / 0.7952 GB, free: 2.734 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006295/0.01352, allocations: 451.2 kB / 0.7956 GB, free: 2.25 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.386e-05/0.01358, allocations: 87.95 kB / 0.7957 GB, free: 2.145 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 7.515e-05/0.01366, allocations: 33.61 kB / 0.7957 GB, free: 2.113 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.273e-05/0.0137, allocations: 17.19 kB / 0.7957 GB, free: 2.098 MB / 0.698 GB Notification: Performance of SimCode: time 1.022e-06/0.0137, allocations: 0 / 0.7957 GB, free: 2.098 MB / 0.698 GB Notification: Performance of Templates: time 0.00454/0.01824, allocations: 1.202 MB / 0.7969 GB, free: 0.9453 MB / 0.698 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: 5.148947650101036]