Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001003/0.001003, allocations: 87.58 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.001191/0.001191, allocations: 161 kB / 23.82 MB, free: 0.7539 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.045/1.045, allocations: 177.1 MB / 204.2 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.952/1.952, allocations: 377.8 MB / 0.6236 GB, free: 8.57 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.485e-06/2.485e-06, allocations: 0 / 0.8115 GB, free: 1.734 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.708e-05/2.957e-05, allocations: 6.25 kB / 0.8115 GB, free: 1.727 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex): time 0.001729/0.001759, allocations: 0.8875 MB / 0.8124 GB, free: 0.8633 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0002753/0.002034, allocations: 87.69 kB / 0.8125 GB, free: 0.7773 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.847e-05/0.002122, allocations: 10.38 kB / 0.8125 GB, free: 0.7695 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0001274/0.00225, allocations: 23.72 kB / 0.8125 GB, free: 0.7461 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001437/0.002393, allocations: 11.94 kB / 0.8125 GB, free: 0.7344 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 7.855e-05/0.002472, allocations: 47.94 kB / 0.8126 GB, free: 0.6875 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0002313/0.002703, allocations: 255.3 kB / 0.8128 GB, free: 448 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002494/0.002953, allocations: 174.8 kB / 0.813 GB, free: 268 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001495/0.003102, allocations: 191.6 kB / 0.8132 GB, free: 76 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001381/0.00324, allocations: 125.2 kB / 0.8133 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 6.324e-05/0.003304, allocations: 32 kB / 0.8133 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 4.225e-05/0.003346, allocations: 32 kB / 0.8133 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 7.303e-05/0.003419, allocations: 91.73 kB / 0.8134 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 7.634e-05/0.003495, allocations: 89.08 kB / 0.8135 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003303/0.003825, allocations: 278.9 kB / 0.8138 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.796e-06/0.003828, allocations: 0 / 0.8138 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.082e-06/0.003829, allocations: 0 / 0.8138 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.003835, allocations: 1.438 kB / 0.8138 GB, free: 15.44 MB / 0.7761 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.0005148/0.00435, allocations: 0.6363 MB / 0.8144 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.004385, allocations: 8.031 kB / 0.8144 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.919e-05/0.004464, allocations: 65.86 kB / 0.8145 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003556/0.00482, allocations: 273.3 kB / 0.8147 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.689e-05/0.004867, allocations: 29.56 kB / 0.8148 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.655e-05/0.004903, allocations: 36.38 kB / 0.8148 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003462/0.00525, allocations: 271.2 kB / 0.8151 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.005264, allocations: 9 kB / 0.8151 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.155e-05/0.005286, allocations: 12.36 kB / 0.8151 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.155e-05/0.005297, allocations: 9.188 kB / 0.8151 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001799/0.005477, allocations: 123.4 kB / 0.8152 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009218/0.006399, allocations: 0.8912 MB / 0.8161 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001137/0.006513, allocations: 79.52 kB / 0.8161 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.296e-05/0.006546, allocations: 23.38 kB / 0.8162 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.327e-05/0.006569, allocations: 0 / 0.8162 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.021e-05/0.006599, allocations: 46.62 kB / 0.8162 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=6): time 9.81e-07/0.0066, allocations: 0 / 0.8162 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6): time 0.0002091/0.006809, allocations: 77.53 kB / 0.8163 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001393/0.006949, allocations: 81.91 kB / 0.8164 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002583/0.007207, allocations: 388 kB / 0.8167 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/0.007221, allocations: 30.27 kB / 0.8168 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/0.007347, allocations: 271.8 kB / 0.817 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.269e-05/0.007359, allocations: 15.91 kB / 0.817 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.306e-05/0.007453, allocations: 96.45 kB / 0.8171 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.007593, allocations: 0.5079 MB / 0.8176 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.666e-05/0.00764, allocations: 27.89 kB / 0.8177 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.46e-05/0.007694, allocations: 48.64 kB / 0.8177 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.27e-05/0.007777, allocations: 71.23 kB / 0.8178 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.007779, allocations: 0 / 0.8178 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001553/0.007935, allocations: 125.5 kB / 0.8179 GB, free: 10.99 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.007953, allocations: 8.719 kB / 0.8179 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.007958, allocations: 0 / 0.8179 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.007976, allocations: 0.875 kB / 0.8179 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001049/0.00808, allocations: 31.92 kB / 0.8179 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.008086, allocations: 1.562 kB / 0.8179 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.61e-05/0.008122, allocations: 23.83 kB / 0.8179 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.498e-05/0.008137, allocations: 4 kB / 0.818 GB, free: 10.92 MB / 0.7761 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 9.795e-05/0.008235, allocations: 179.6 kB / 0.8181 GB, free: 10.74 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.719e-05/0.008272, allocations: 27.14 kB / 0.8181 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001469/0.008419, allocations: 94.33 kB / 0.8182 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.008422, allocations: 384 / 0.8182 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.008427, allocations: 0 / 0.8182 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.00843, allocations: 3.938 kB / 0.8182 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003832/0.008813, allocations: 0.7249 MB / 0.819 GB, free: 9.824 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.008816, allocations: 4.484 kB / 0.819 GB, free: 9.82 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.773e-05/0.008833, allocations: 5.938 kB / 0.819 GB, free: 9.816 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.008836, allocations: 0 / 0.819 GB, free: 9.816 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.008845, allocations: 4 kB / 0.819 GB, free: 9.812 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.008848, allocations: 7.938 kB / 0.819 GB, free: 9.805 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.008849, allocations: 0 / 0.819 GB, free: 9.805 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.909e-05/0.008938, allocations: 132.2 kB / 0.8191 GB, free: 9.641 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.117e-05/0.008959, allocations: 23.84 kB / 0.8191 GB, free: 9.617 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.633e-05/0.008976, allocations: 0.8438 kB / 0.8191 GB, free: 9.617 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.212e-05/0.008998, allocations: 7.938 kB / 0.8191 GB, free: 9.609 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.97e-05/0.009017, allocations: 4.656 kB / 0.8191 GB, free: 9.605 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-06/0.00902, allocations: 0 / 0.8191 GB, free: 9.605 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001254/0.009145, allocations: 227.5 kB / 0.8194 GB, free: 9.383 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.009145, allocations: 0 / 0.8194 GB, free: 9.383 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001658/0.009311, allocations: 51.78 kB / 0.8194 GB, free: 9.332 MB / 0.7761 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 9.51e-05/0.009406, allocations: 109.6 kB / 0.8195 GB, free: 9.215 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001351/0.009541, allocations: 66.62 kB / 0.8196 GB, free: 9.148 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.009543, allocations: 0 / 0.8196 GB, free: 9.148 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.757e-05/0.00956, allocations: 19.62 kB / 0.8196 GB, free: 9.125 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001926/0.009753, allocations: 29 kB / 0.8196 GB, free: 9.098 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007329/0.01049, allocations: 453.8 kB / 0.82 GB, free: 8.609 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.118e-05/0.01054, allocations: 87.97 kB / 0.8201 GB, free: 8.504 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.554e-05/0.01059, allocations: 38.5 kB / 0.8202 GB, free: 8.461 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.669e-05/0.01063, allocations: 16.5 kB / 0.8202 GB, free: 8.445 MB / 0.7761 GB Notification: Performance of SimCode: time 8.71e-07/0.01063, allocations: 1.125 kB / 0.8202 GB, free: 8.445 MB / 0.7761 GB Notification: Performance of Templates: time 0.00362/0.01425, allocations: 1.201 MB / 0.8214 GB, free: 7.281 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.sim & ./Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.326893731020391]