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.001384/0.001384, allocations: 84.67 kB / 19.76 MB, free: 2.023 MB / 14.72 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.001488/0.001488, allocations: 161.9 kB / 23.01 MB, free: 4.965 MB / 14.72 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.435/1.435, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.664/2.664, allocations: 359.1 MB / 0.6044 GB, free: 14.81 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002154/0.002154, allocations: 75.88 kB / 0.9515 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3389/0.3411, allocations: 169.9 MB / 1.117 GB, free: 2.512 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex): time 0.002349/0.3434, allocations: 0.8388 MB / 1.118 GB, free: 1.676 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0003432/0.3437, allocations: 95.69 kB / 1.118 GB, free: 1.582 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001163/0.3439, allocations: 3.938 kB / 1.118 GB, free: 1.578 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001432/0.344, allocations: 23.78 kB / 1.118 GB, free: 1.555 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001558/0.3442, allocations: 15.86 kB / 1.118 GB, free: 1.539 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001003/0.3443, allocations: 39.97 kB / 1.118 GB, free: 1.5 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003273/0.3446, allocations: 251.5 kB / 1.119 GB, free: 1.254 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003481/0.3449, allocations: 174.9 kB / 1.119 GB, free: 1.078 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001741/0.3451, allocations: 131.5 kB / 1.119 GB, free: 0.9492 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002172/0.3453, allocations: 151.3 kB / 1.119 GB, free: 0.8008 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 6.793e-05/0.3454, allocations: 32 kB / 1.119 GB, free: 0.7695 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 5.386e-05/0.3455, allocations: 43.94 kB / 1.119 GB, free: 0.7266 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 9.92e-05/0.3456, allocations: 83.72 kB / 1.119 GB, free: 0.6445 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001308/0.3457, allocations: 111.3 kB / 1.119 GB, free: 0.5352 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004799/0.3462, allocations: 470 kB / 1.12 GB, free: 76 kB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.3462, allocations: 4 kB / 1.12 GB, free: 72 kB / 1.061 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3462, allocations: 0 / 1.12 GB, free: 72 kB / 1.061 GB Notification: Performance of Transformations before backend: time 1.241e-05/0.3462, allocations: 0 / 1.12 GB, free: 72 kB / 1.061 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.0008535/0.347, allocations: 0.5325 MB / 1.12 GB, free: 15.5 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.3471, allocations: 8.031 kB / 1.12 GB, free: 15.49 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.119e-05/0.3472, allocations: 44.66 kB / 1.12 GB, free: 15.45 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004458/0.3476, allocations: 270.5 kB / 1.121 GB, free: 15.16 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.06e-05/0.3477, allocations: 37.02 kB / 1.121 GB, free: 15.12 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.8e-05/0.3477, allocations: 36.31 kB / 1.121 GB, free: 15.09 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006531/0.3484, allocations: 404.2 kB / 1.121 GB, free: 14.68 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.809e-05/0.3484, allocations: 192 / 1.121 GB, free: 14.68 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.161e-05/0.3484, allocations: 15.94 kB / 1.121 GB, free: 14.67 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.144e-05/0.3484, allocations: 8 kB / 1.121 GB, free: 14.66 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004939/0.3489, allocations: 303.5 kB / 1.121 GB, free: 14.36 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001354/0.3503, allocations: 0.8263 MB / 1.122 GB, free: 13.5 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001659/0.3504, allocations: 93.16 kB / 1.122 GB, free: 13.39 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.372e-05/0.3505, allocations: 41.8 kB / 1.122 GB, free: 13.34 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.61e-05/0.3505, allocations: 7.984 kB / 1.122 GB, free: 13.34 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.751e-05/0.3506, allocations: 38.56 kB / 1.122 GB, free: 13.29 MB / 1.076 GB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.3506, allocations: 0 / 1.122 GB, free: 13.29 MB / 1.076 GB Notification: Performance of matching and sorting (n=6): time 0.0003388/0.3509, allocations: 153.8 kB / 1.123 GB, free: 13.13 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.932e-05/0.351, allocations: 81.11 kB / 1.123 GB, free: 13.04 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000377/0.3514, allocations: 345.5 kB / 1.123 GB, free: 12.69 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.226e-05/0.3514, allocations: 25.7 kB / 1.123 GB, free: 12.66 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001559/0.3515, allocations: 220.3 kB / 1.123 GB, free: 12.44 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.89e-05/0.3516, allocations: 15.89 kB / 1.123 GB, free: 12.42 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001067/0.3517, allocations: 81.62 kB / 1.123 GB, free: 12.34 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.3518, allocations: 326.8 kB / 1.124 GB, free: 12.01 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000122/0.3519, allocations: 67.95 kB / 1.124 GB, free: 11.94 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001279/0.3521, allocations: 92.72 kB / 1.124 GB, free: 11.85 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001723/0.3522, allocations: 113.6 kB / 1.124 GB, free: 11.73 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3522, allocations: 0 / 1.124 GB, free: 11.73 MB / 1.076 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003102/0.3525, allocations: 197.4 kB / 1.124 GB, free: 11.53 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.3526, allocations: 4 kB / 1.124 GB, free: 11.53 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.3526, allocations: 0 / 1.124 GB, free: 11.53 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.3526, allocations: 4.047 kB / 1.124 GB, free: 11.52 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001512/0.3527, allocations: 35.97 kB / 1.124 GB, free: 11.49 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.3527, allocations: 7.875 kB / 1.124 GB, free: 11.48 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.009e-05/0.3528, allocations: 19.84 kB / 1.124 GB, free: 11.46 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.891e-05/0.3528, allocations: 8 kB / 1.124 GB, free: 11.45 MB / 1.076 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.000216/0.353, allocations: 199.8 kB / 1.124 GB, free: 11.25 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.59e-05/0.3531, allocations: 15.91 kB / 1.124 GB, free: 11.23 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002107/0.3533, allocations: 116.6 kB / 1.124 GB, free: 11.11 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.3533, allocations: 4 kB / 1.124 GB, free: 11.11 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.585e-06/0.3533, allocations: 3.938 kB / 1.124 GB, free: 11.1 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.3533, allocations: 0 / 1.124 GB, free: 11.1 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005357/0.3539, allocations: 0.5547 MB / 1.125 GB, free: 10.5 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.3539, allocations: 0 / 1.125 GB, free: 10.5 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.652e-05/0.3539, allocations: 4 kB / 1.125 GB, free: 10.49 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.97e-06/0.3539, allocations: 3.938 kB / 1.125 GB, free: 10.49 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.3539, allocations: 4 kB / 1.125 GB, free: 10.48 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.3539, allocations: 8.141 kB / 1.125 GB, free: 10.48 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.3539, allocations: 0 / 1.125 GB, free: 10.48 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001425/0.354, allocations: 115.5 kB / 1.125 GB, free: 10.34 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 4.329e-05/0.3541, allocations: 23.8 kB / 1.125 GB, free: 10.31 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.171e-05/0.3541, allocations: 4 kB / 1.125 GB, free: 10.31 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.118e-05/0.3542, allocations: 4 kB / 1.125 GB, free: 10.3 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.466e-05/0.3542, allocations: 7.984 kB / 1.125 GB, free: 10.3 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-06/0.3542, allocations: 3.938 kB / 1.125 GB, free: 10.29 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002736/0.3545, allocations: 237.2 kB / 1.125 GB, free: 10.06 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.3545, allocations: 192 / 1.125 GB, free: 10.06 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.00027/0.3547, allocations: 63.67 kB / 1.125 GB, free: 10 MB / 1.076 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.0001111/0.3548, allocations: 103.2 kB / 1.126 GB, free: 9.887 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002293/0.3551, allocations: 103.8 kB / 1.126 GB, free: 9.785 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3551, allocations: 0 / 1.126 GB, free: 9.785 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 2.821e-05/0.3551, allocations: 12 kB / 1.126 GB, free: 9.773 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002489/0.3553, allocations: 26.69 kB / 1.126 GB, free: 9.75 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008043/0.3561, allocations: 497.6 kB / 1.126 GB, free: 9.227 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002031/0.3564, allocations: 183.4 kB / 1.126 GB, free: 9.031 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 9.561e-05/0.3564, allocations: 37.61 kB / 1.126 GB, free: 8.988 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.437e-05/0.3565, allocations: 24.5 kB / 1.126 GB, free: 8.965 MB / 1.076 GB Notification: Performance of SimCode: time 5.71e-07/0.3565, allocations: 0 / 1.126 GB, free: 8.965 MB / 1.076 GB Notification: Performance of Templates: time 0.005056/0.3616, allocations: 1.203 MB / 1.128 GB, free: 7.777 MB / 1.076 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=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.pipe 2>&1) [Timeout 400] 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/jenkins1/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: 8.713387391995639]