Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001211/0.001211, allocations: 115.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 193.3 kB / 22.17 MB, free: 5.652 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.919/2.919, allocations: 497.2 MB / 0.7845 GB, free: 33.68 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_latest_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_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001884/0.001884, allocations: 66.55 kB / 1.139 GB, free: 33.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3192/0.3211, allocations: 173.9 MB / 1.309 GB, free: 64 kB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex): time 0.002133/0.3232, allocations: 0.8695 MB / 1.31 GB, free: 15.19 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0002715/0.3235, allocations: 91.69 kB / 1.31 GB, free: 15.1 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.572e-05/0.3235, allocations: 4 kB / 1.31 GB, free: 15.1 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001273/0.3237, allocations: 27.72 kB / 1.31 GB, free: 15.07 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001291/0.3238, allocations: 19.81 kB / 1.31 GB, free: 15.05 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 8.063e-05/0.3239, allocations: 43.95 kB / 1.31 GB, free: 15.01 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0003016/0.3242, allocations: 251.5 kB / 1.311 GB, free: 14.76 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003084/0.3245, allocations: 174.3 kB / 1.311 GB, free: 14.59 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001242/0.3246, allocations: 135.5 kB / 1.311 GB, free: 14.46 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001724/0.3248, allocations: 143.3 kB / 1.311 GB, free: 14.32 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 5.52e-05/0.3248, allocations: 32 kB / 1.311 GB, free: 14.29 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 4.307e-05/0.3249, allocations: 32 kB / 1.311 GB, free: 14.25 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 8.693e-05/0.325, allocations: 83.77 kB / 1.311 GB, free: 14.17 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001377/0.3251, allocations: 151.1 kB / 1.311 GB, free: 14.02 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0004566/0.3256, allocations: 470 kB / 1.312 GB, free: 13.56 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.3256, allocations: 0 / 1.312 GB, free: 13.56 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.002e-06/0.3256, allocations: 0 / 1.312 GB, free: 13.56 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.194e-05/0.3256, allocations: 0 / 1.312 GB, free: 13.56 MB / 1.014 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.0007848/0.3264, allocations: 0.6077 MB / 1.312 GB, free: 12.9 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.3264, allocations: 12.62 kB / 1.312 GB, free: 12.89 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.639e-05/0.3265, allocations: 40.66 kB / 1.312 GB, free: 12.85 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004628/0.3269, allocations: 332.3 kB / 1.313 GB, free: 12.48 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.458e-05/0.327, allocations: 41.03 kB / 1.313 GB, free: 12.45 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.495e-05/0.327, allocations: 28.38 kB / 1.313 GB, free: 12.42 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006051/0.3277, allocations: 400.2 kB / 1.313 GB, free: 12.02 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.3277, allocations: 192 / 1.313 GB, free: 12.02 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.063e-05/0.3277, allocations: 11.94 kB / 1.313 GB, free: 12 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.768e-06/0.3277, allocations: 8 kB / 1.313 GB, free: 12 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004642/0.3282, allocations: 315.3 kB / 1.313 GB, free: 11.69 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001478/0.3296, allocations: 1.058 MB / 1.314 GB, free: 10.57 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001481/0.3298, allocations: 81.22 kB / 1.315 GB, free: 10.48 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.445e-05/0.3299, allocations: 49.72 kB / 1.315 GB, free: 10.42 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.177e-05/0.3299, allocations: 0 / 1.315 GB, free: 10.42 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.262e-05/0.3299, allocations: 42.55 kB / 1.315 GB, free: 10.37 MB / 1.014 GB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.3299, allocations: 0 / 1.315 GB, free: 10.37 MB / 1.014 GB Notification: Performance of matching and sorting (n=6): time 0.0003684/0.3303, allocations: 165.4 kB / 1.315 GB, free: 10.2 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.026e-05/0.3304, allocations: 81.05 kB / 1.315 GB, free: 10.11 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005721/0.3309, allocations: 0.5053 MB / 1.315 GB, free: 9.594 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.734e-05/0.3309, allocations: 25.7 kB / 1.315 GB, free: 9.562 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001689/0.3311, allocations: 211.7 kB / 1.316 GB, free: 9.352 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.022e-05/0.3311, allocations: 19.89 kB / 1.316 GB, free: 9.332 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.119e-05/0.3312, allocations: 53.69 kB / 1.316 GB, free: 9.273 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001654/0.3314, allocations: 342.8 kB / 1.316 GB, free: 8.93 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001066/0.3315, allocations: 67.95 kB / 1.316 GB, free: 8.863 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001227/0.3316, allocations: 86.75 kB / 1.316 GB, free: 8.773 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001573/0.3318, allocations: 117.5 kB / 1.316 GB, free: 8.652 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.3318, allocations: 0 / 1.316 GB, free: 8.652 MB / 1.014 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003028/0.3321, allocations: 213.3 kB / 1.316 GB, free: 8.438 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.3321, allocations: 13.72 kB / 1.316 GB, free: 8.426 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.3321, allocations: 0 / 1.316 GB, free: 8.426 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.3321, allocations: 0 / 1.316 GB, free: 8.426 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001496/0.3323, allocations: 35.92 kB / 1.316 GB, free: 8.391 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.3323, allocations: 0 / 1.316 GB, free: 8.391 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.168e-05/0.3323, allocations: 35.67 kB / 1.317 GB, free: 8.355 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.565e-05/0.3324, allocations: 11.94 kB / 1.317 GB, free: 8.344 MB / 1.014 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.0002186/0.3326, allocations: 212.1 kB / 1.317 GB, free: 8.125 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.418e-05/0.3327, allocations: 35.77 kB / 1.317 GB, free: 8.09 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000213/0.3329, allocations: 121.9 kB / 1.317 GB, free: 7.957 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.648e-06/0.3329, allocations: 3.938 kB / 1.317 GB, free: 7.953 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.3329, allocations: 0 / 1.317 GB, free: 7.953 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.3329, allocations: 0 / 1.317 GB, free: 7.953 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006254/0.3335, allocations: 0.6565 MB / 1.318 GB, free: 7.227 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.3335, allocations: 0 / 1.318 GB, free: 7.227 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.747e-05/0.3335, allocations: 8 kB / 1.318 GB, free: 7.219 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.3335, allocations: 0 / 1.318 GB, free: 7.219 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.3336, allocations: 4 kB / 1.318 GB, free: 7.215 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3336, allocations: 0 / 1.318 GB, free: 7.215 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.3336, allocations: 0 / 1.318 GB, free: 7.215 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001567/0.3337, allocations: 143.5 kB / 1.318 GB, free: 7.047 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001207/0.3338, allocations: 116.9 kB / 1.318 GB, free: 6.914 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.197e-05/0.3339, allocations: 7.938 kB / 1.318 GB, free: 6.906 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.026e-05/0.3339, allocations: 4 kB / 1.318 GB, free: 6.902 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.118e-05/0.3339, allocations: 4 kB / 1.318 GB, free: 6.898 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.621e-06/0.3339, allocations: 8.422 kB / 1.318 GB, free: 6.891 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004391/0.3344, allocations: 387 kB / 1.318 GB, free: 6.516 MB / 1.014 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3344, allocations: 0 / 1.318 GB, free: 6.516 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002256/0.3346, allocations: 36 kB / 1.318 GB, free: 6.48 MB / 1.014 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.0001185/0.3347, allocations: 103.2 kB / 1.318 GB, free: 6.371 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002133/0.3349, allocations: 103.9 kB / 1.318 GB, free: 6.27 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.3349, allocations: 3.938 kB / 1.318 GB, free: 6.266 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 2.734e-05/0.335, allocations: 16 kB / 1.318 GB, free: 6.25 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002542/0.3352, allocations: 41.47 kB / 1.318 GB, free: 6.207 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007323/0.336, allocations: 0.5094 MB / 1.319 GB, free: 5.66 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004336/0.3364, allocations: 0.7954 MB / 1.32 GB, free: 4.84 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001005/0.3365, allocations: 54.94 kB / 1.32 GB, free: 4.789 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.621e-05/0.3365, allocations: 23.44 kB / 1.32 GB, free: 4.766 MB / 1.014 GB Notification: Performance of SimCode: time 2.7e-07/0.3365, allocations: 0 / 1.32 GB, free: 4.766 MB / 1.014 GB Notification: Performance of Templates: time 0.005516/0.3421, allocations: 2.028 MB / 1.322 GB, free: 2.758 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.sim & ./Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex -abortSlowSimulation -alarm=800 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_Utilities_Validation_FirstTrueIndex.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 7.91213336866349]