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.001335/0.001335, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001462/0.001462, allocations: 181 kB / 24.09 MB, free: 420 kB / 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.9223/0.9223, allocations: 177.1 MB / 204.5 MB, free: 5.492 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.8/1.8, allocations: 359 MB / 0.6055 GB, free: 10.88 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.743e-06/1.743e-06, allocations: 0 / 0.7875 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.484e-05/1.658e-05, allocations: 2.312 kB / 0.7875 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex): time 0.0014/0.001416, allocations: 0.8714 MB / 0.7884 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0002657/0.001682, allocations: 84.27 kB / 0.7885 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.64e-05/0.001778, allocations: 4 kB / 0.7885 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001296/0.001908, allocations: 28.66 kB / 0.7885 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.000134/0.002042, allocations: 15.86 kB / 0.7885 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 7.372e-05/0.002116, allocations: 45.08 kB / 0.7886 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002005/0.002316, allocations: 255.4 kB / 0.7888 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002122/0.002528, allocations: 170.8 kB / 0.789 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002/0.002728, allocations: 220.2 kB / 0.7892 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 9.052e-05/0.002819, allocations: 107.6 kB / 0.7893 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.648e-05/0.002855, allocations: 29.41 kB / 0.7893 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 2.831e-05/0.002884, allocations: 28 kB / 0.7893 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.784e-05/0.002942, allocations: 83.73 kB / 0.7894 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.833e-05/0.00301, allocations: 83.7 kB / 0.7895 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002097/0.00322, allocations: 256.5 kB / 0.7897 GB, free: 9.957 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.003221, allocations: 0 / 0.7897 GB, free: 9.957 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.71e-07/0.003222, allocations: 0 / 0.7897 GB, free: 9.957 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.957e-06/0.003226, allocations: 0 / 0.7897 GB, free: 9.957 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.0004174/0.003643, allocations: 0.6338 MB / 0.7904 GB, free: 9.285 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.191e-05/0.003675, allocations: 8.031 kB / 0.7904 GB, free: 9.277 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.004e-05/0.003745, allocations: 68.7 kB / 0.7904 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002227/0.003968, allocations: 255.3 kB / 0.7907 GB, free: 8.938 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.59e-05/0.004004, allocations: 33.03 kB / 0.7907 GB, free: 8.906 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.633e-05/0.00403, allocations: 32.38 kB / 0.7907 GB, free: 8.875 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000248/0.004278, allocations: 258.6 kB / 0.791 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.004286, allocations: 192 / 0.791 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.733e-05/0.004303, allocations: 16.38 kB / 0.791 GB, free: 8.59 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.004311, allocations: 8.375 kB / 0.791 GB, free: 8.582 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001006/0.004412, allocations: 91.42 kB / 0.7911 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007086/0.005121, allocations: 0.8255 MB / 0.7919 GB, free: 7.633 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.716e-05/0.005198, allocations: 74.73 kB / 0.792 GB, free: 7.535 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.097e-05/0.005219, allocations: 19.38 kB / 0.792 GB, free: 7.508 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.616e-05/0.005235, allocations: 6.156 kB / 0.792 GB, free: 7.504 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.83e-05/0.005253, allocations: 41.47 kB / 0.792 GB, free: 7.453 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=6): time 1.001e-06/0.005254, allocations: 0 / 0.792 GB, free: 7.453 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6): time 0.00015/0.005404, allocations: 77.53 kB / 0.7921 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.941e-05/0.005433, allocations: 81.67 kB / 0.7922 GB, free: 7.273 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002316/0.005665, allocations: 399.8 kB / 0.7926 GB, free: 6.867 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.129e-05/0.005676, allocations: 26.7 kB / 0.7926 GB, free: 6.836 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001286/0.005805, allocations: 267.1 kB / 0.7928 GB, free: 6.57 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.231e-05/0.005817, allocations: 16.66 kB / 0.7929 GB, free: 6.555 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.162e-05/0.005899, allocations: 91.27 kB / 0.793 GB, free: 6.457 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.006029, allocations: 0.5163 MB / 0.7935 GB, free: 5.93 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.52e-05/0.006054, allocations: 15.98 kB / 0.7935 GB, free: 5.914 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.268e-05/0.006097, allocations: 46.66 kB / 0.7935 GB, free: 5.863 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.809e-05/0.006155, allocations: 59.3 kB / 0.7936 GB, free: 5.797 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.006156, allocations: 0 / 0.7936 GB, free: 5.797 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001153/0.006272, allocations: 125.4 kB / 0.7937 GB, free: 5.668 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.929e-06/0.006282, allocations: 5.469 kB / 0.7937 GB, free: 5.664 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.006286, allocations: 0 / 0.7937 GB, free: 5.664 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.168e-06/0.006295, allocations: 4 kB / 0.7937 GB, free: 5.66 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.795e-05/0.006373, allocations: 30.08 kB / 0.7937 GB, free: 5.633 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.935e-06/0.006376, allocations: 4 kB / 0.7937 GB, free: 5.629 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.01e-05/0.006406, allocations: 19.83 kB / 0.7938 GB, free: 5.609 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.438e-06/0.006416, allocations: 4 kB / 0.7938 GB, free: 5.605 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.672e-05/0.006512, allocations: 189.5 kB / 0.7939 GB, free: 5.414 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.269e-05/0.006545, allocations: 23.84 kB / 0.794 GB, free: 5.391 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001191/0.006664, allocations: 94.33 kB / 0.794 GB, free: 5.289 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.006666, allocations: 0 / 0.794 GB, free: 5.289 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-06/0.006668, allocations: 0 / 0.794 GB, free: 5.289 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.00667, allocations: 1.625 kB / 0.7941 GB, free: 5.289 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003044/0.006974, allocations: 0.6512 MB / 0.7947 GB, free: 4.586 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.006975, allocations: 0 / 0.7947 GB, free: 4.586 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.214e-05/0.006988, allocations: 4.5 kB / 0.7947 GB, free: 4.582 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.00699, allocations: 4.531 kB / 0.7947 GB, free: 4.578 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.397e-06/0.006993, allocations: 1.469 kB / 0.7947 GB, free: 4.578 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.006995, allocations: 0 / 0.7947 GB, free: 4.578 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.006997, allocations: 7.938 kB / 0.7947 GB, free: 4.57 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.289e-05/0.00707, allocations: 123.3 kB / 0.7948 GB, free: 4.414 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.75e-05/0.007087, allocations: 24.42 kB / 0.7948 GB, free: 4.391 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.17e-05/0.007099, allocations: 10.02 kB / 0.7949 GB, free: 4.383 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.944e-05/0.007118, allocations: 4 kB / 0.7949 GB, free: 4.379 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.363e-05/0.007132, allocations: 7.938 kB / 0.7949 GB, free: 4.371 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-06/0.007134, allocations: 3.938 kB / 0.7949 GB, free: 4.367 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 9.249e-05/0.007226, allocations: 209.1 kB / 0.7951 GB, free: 4.164 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.007226, allocations: 0 / 0.7951 GB, free: 4.164 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000153/0.007379, allocations: 56.31 kB / 0.7951 GB, free: 4.109 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 6.38e-05/0.007443, allocations: 100.7 kB / 0.7952 GB, free: 4.004 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.406e-05/0.007527, allocations: 59.58 kB / 0.7953 GB, free: 3.941 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.007529, allocations: 4.906 kB / 0.7953 GB, free: 3.938 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.178e-05/0.00755, allocations: 20.47 kB / 0.7953 GB, free: 3.914 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001481/0.007698, allocations: 34.11 kB / 0.7953 GB, free: 3.879 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003942/0.008093, allocations: 454.6 kB / 0.7958 GB, free: 3.387 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.31e-05/0.008136, allocations: 91.8 kB / 0.7959 GB, free: 3.281 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.268e-05/0.008168, allocations: 13.64 kB / 0.7959 GB, free: 3.27 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.218e-05/0.008231, allocations: 90.19 kB / 0.796 GB, free: 3.18 MB / 0.7448 GB Notification: Performance of SimCode: time 5.61e-07/0.008231, allocations: 4 kB / 0.796 GB, free: 3.176 MB / 0.7448 GB Notification: Performance of Templates: time 0.003019/0.01125, allocations: 1.276 MB / 0.7972 GB, free: 1.938 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.785535468254238]