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.0009442/0.0009442, allocations: 87.58 kB / 20.45 MB, free: 4.113 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.000906/0.000906, allocations: 161 kB / 23.82 MB, free: 0.7461 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.9225/0.9225, allocations: 177.1 MB / 204.2 MB, free: 5.633 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.683/1.683, allocations: 359 MB / 0.6052 GB, free: 11.03 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.643e-06/1.643e-06, allocations: 0 / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.571e-05/1.735e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex): time 0.00139/0.001407, allocations: 0.8814 MB / 0.7879 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0002446/0.001652, allocations: 88.53 kB / 0.788 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001006/0.001752, allocations: 7.938 kB / 0.788 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001232/0.001875, allocations: 24.36 kB / 0.7881 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001304/0.002006, allocations: 17.05 kB / 0.7881 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 6.68e-05/0.002073, allocations: 43.95 kB / 0.7881 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000205/0.002278, allocations: 259.4 kB / 0.7884 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002292/0.002507, allocations: 166.8 kB / 0.7885 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000227/0.002734, allocations: 221.2 kB / 0.7887 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 9.747e-05/0.002831, allocations: 107.7 kB / 0.7888 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.796e-05/0.002879, allocations: 28 kB / 0.7889 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 3.03e-05/0.00291, allocations: 28 kB / 0.7889 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 6.247e-05/0.002972, allocations: 84.91 kB / 0.789 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 7.287e-05/0.003045, allocations: 79.77 kB / 0.789 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002472/0.003292, allocations: 255 kB / 0.7893 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.255e-06/0.003294, allocations: 0.625 kB / 0.7893 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.71e-07/0.003295, allocations: 0 / 0.7893 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.89e-06/0.0033, allocations: 1.406 kB / 0.7893 GB, free: 10.25 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.0004682/0.003768, allocations: 0.6323 MB / 0.7899 GB, free: 9.578 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.003803, allocations: 8.031 kB / 0.7899 GB, free: 9.57 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.56e-05/0.003878, allocations: 68.7 kB / 0.79 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003/0.004178, allocations: 261.5 kB / 0.7902 GB, free: 9.223 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.941e-05/0.004228, allocations: 37.03 kB / 0.7903 GB, free: 9.188 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.752e-05/0.004255, allocations: 28.38 kB / 0.7903 GB, free: 9.16 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003387/0.004594, allocations: 283.3 kB / 0.7906 GB, free: 8.867 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.004605, allocations: 1.125 kB / 0.7906 GB, free: 8.867 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.275e-05/0.004628, allocations: 12.38 kB / 0.7906 GB, free: 8.855 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.004638, allocations: 8.375 kB / 0.7906 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001663/0.004805, allocations: 122.7 kB / 0.7907 GB, free: 8.73 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001086/0.005891, allocations: 0.8983 MB / 0.7916 GB, free: 7.789 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001073/0.005998, allocations: 74.14 kB / 0.7916 GB, free: 7.691 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.234e-05/0.00603, allocations: 31.38 kB / 0.7917 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.982e-05/0.00605, allocations: 4.078 kB / 0.7917 GB, free: 7.648 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.128e-05/0.006072, allocations: 41.33 kB / 0.7917 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=6): time 2.474e-06/0.006074, allocations: 0.7188 kB / 0.7917 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6): time 0.0001899/0.006264, allocations: 77.59 kB / 0.7918 GB, free: 7.516 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.796e-05/0.006302, allocations: 86.69 kB / 0.7919 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002442/0.006546, allocations: 388 kB / 0.7922 GB, free: 7.023 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.115e-05/0.006557, allocations: 25.7 kB / 0.7923 GB, free: 6.992 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/0.006687, allocations: 275.1 kB / 0.7925 GB, free: 6.719 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.259e-05/0.006699, allocations: 11.91 kB / 0.7925 GB, free: 6.707 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.054e-05/0.00678, allocations: 92.67 kB / 0.7926 GB, free: 6.609 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.006899, allocations: 0.5157 MB / 0.7931 GB, free: 6.082 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.827e-05/0.006938, allocations: 19.98 kB / 0.7932 GB, free: 6.062 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.688e-05/0.006984, allocations: 44.95 kB / 0.7932 GB, free: 6.012 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.355e-05/0.007058, allocations: 75.23 kB / 0.7933 GB, free: 5.93 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.00706, allocations: 0 / 0.7933 GB, free: 5.93 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001308/0.007191, allocations: 129.5 kB / 0.7934 GB, free: 5.797 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.007203, allocations: 5.594 kB / 0.7934 GB, free: 5.793 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.007207, allocations: 0 / 0.7934 GB, free: 5.793 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.00722, allocations: 0 / 0.7934 GB, free: 5.793 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.059e-05/0.00731, allocations: 31.92 kB / 0.7934 GB, free: 5.762 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.024e-06/0.007318, allocations: 4 kB / 0.7934 GB, free: 5.758 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.979e-05/0.007347, allocations: 16.83 kB / 0.7935 GB, free: 5.742 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.369e-05/0.007361, allocations: 8 kB / 0.7935 GB, free: 5.734 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 9.639e-05/0.007457, allocations: 184.6 kB / 0.7936 GB, free: 5.543 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.069e-05/0.007488, allocations: 19.86 kB / 0.7937 GB, free: 5.523 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001299/0.007618, allocations: 91.02 kB / 0.7937 GB, free: 5.426 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.00762, allocations: 384 / 0.7937 GB, free: 5.426 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.007623, allocations: 4.469 kB / 0.7937 GB, free: 5.422 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.007627, allocations: 5.375 kB / 0.7937 GB, free: 5.418 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000348/0.007975, allocations: 0.721 MB / 0.7945 GB, free: 4.637 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.007976, allocations: 1.156 kB / 0.7945 GB, free: 4.637 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.424e-05/0.00799, allocations: 4 kB / 0.7945 GB, free: 4.633 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.007994, allocations: 3.984 kB / 0.7945 GB, free: 4.629 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.653e-06/0.008001, allocations: 4.938 kB / 0.7945 GB, free: 4.625 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/0.008005, allocations: 7.875 kB / 0.7945 GB, free: 4.617 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.008006, allocations: 1.562 kB / 0.7945 GB, free: 4.617 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.076e-05/0.008086, allocations: 123.4 kB / 0.7946 GB, free: 4.461 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.838e-05/0.008105, allocations: 23.84 kB / 0.7946 GB, free: 4.438 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.351e-05/0.008118, allocations: 4 kB / 0.7946 GB, free: 4.434 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.032e-05/0.008138, allocations: 8.75 kB / 0.7946 GB, free: 4.426 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.111e-05/0.00816, allocations: 7.938 kB / 0.7946 GB, free: 4.418 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-06/0.008162, allocations: 0.9375 kB / 0.7946 GB, free: 4.418 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001178/0.00828, allocations: 225.1 kB / 0.7949 GB, free: 4.199 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.1e-07/0.00828, allocations: 5.281 kB / 0.7949 GB, free: 4.195 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001613/0.008441, allocations: 51.78 kB / 0.7949 GB, free: 4.145 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.883e-05/0.00852, allocations: 108.2 kB / 0.795 GB, free: 4.031 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001225/0.008642, allocations: 65.94 kB / 0.7951 GB, free: 3.965 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.008644, allocations: 2.312 kB / 0.7951 GB, free: 3.965 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.578e-05/0.00866, allocations: 19.62 kB / 0.7951 GB, free: 3.941 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001821/0.008842, allocations: 35.05 kB / 0.7951 GB, free: 3.906 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004427/0.009285, allocations: 461.6 kB / 0.7956 GB, free: 3.406 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.677e-05/0.009332, allocations: 87.41 kB / 0.7957 GB, free: 3.305 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.094e-05/0.009382, allocations: 41.53 kB / 0.7957 GB, free: 3.266 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.182e-05/0.009414, allocations: 16.5 kB / 0.7957 GB, free: 3.25 MB / 0.7448 GB Notification: Performance of SimCode: time 6.41e-07/0.009415, allocations: 0 / 0.7957 GB, free: 3.25 MB / 0.7448 GB Notification: Performance of Templates: time 0.003415/0.01283, allocations: 1.236 MB / 0.7969 GB, free: 2.059 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.6972753861919045]