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.001294/0.001294, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001424/0.001424, allocations: 210.7 kB / 22.25 MB, free: 5.262 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.516/1.516, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.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.738/2.738, allocations: 476 MB / 0.7699 GB, free: 4.734 MB / 0.6231 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: "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex,fileNamePrefix="Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_FirstTrueIndex",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex,fileNamePrefix="Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_FirstTrueIndex",fmuType="me",version="2.0",platforms={"static"}) [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.002139/0.002139, allocations: 65.97 kB / 1.117 GB, free: 41.06 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3065/0.3087, allocations: 170 MB / 1.283 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex): time 0.002297/0.311, allocations: 0.8416 MB / 1.283 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0002964/0.3113, allocations: 89.48 kB / 1.283 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.32e-05/0.3114, allocations: 7.938 kB / 1.283 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001261/0.3115, allocations: 23.78 kB / 1.283 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001475/0.3116, allocations: 15.86 kB / 1.284 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 9.119e-05/0.3117, allocations: 43.95 kB / 1.284 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003082/0.312, allocations: 251.4 kB / 1.284 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003134/0.3124, allocations: 166.8 kB / 1.284 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001385/0.3125, allocations: 135.6 kB / 1.284 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001877/0.3127, allocations: 147.3 kB / 1.284 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.243e-05/0.3127, allocations: 32 kB / 1.284 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 5.243e-05/0.3128, allocations: 32 kB / 1.284 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.304e-05/0.3129, allocations: 91.7 kB / 1.284 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001325/0.313, allocations: 119.3 kB / 1.284 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004987/0.3135, allocations: 467.4 kB / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.3135, allocations: 0 / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.114e-06/0.3135, allocations: 0 / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.716e-06/0.3135, allocations: 3.938 kB / 1.285 GB, free: 10.04 MB / 0.9825 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.0007723/0.3143, allocations: 0.5324 MB / 1.285 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.3144, allocations: 16.02 kB / 1.285 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.256e-05/0.3144, allocations: 70.72 kB / 1.286 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.141e-05/0.3145, allocations: 44.66 kB / 1.286 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004855/0.315, allocations: 270.5 kB / 1.286 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.17e-05/0.3151, allocations: 37.02 kB / 1.286 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.694e-05/0.3151, allocations: 32.38 kB / 1.286 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006535/0.3158, allocations: 400.2 kB / 1.286 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.984e-05/0.3158, allocations: 7.875 kB / 1.286 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.812e-05/0.3158, allocations: 12 kB / 1.286 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.3158, allocations: 8 kB / 1.286 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004783/0.3163, allocations: 303.6 kB / 1.287 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001549/0.3178, allocations: 0.962 MB / 1.288 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001797/0.318, allocations: 89.16 kB / 1.288 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.842e-05/0.3181, allocations: 41.8 kB / 1.288 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.606e-05/0.3181, allocations: 0 / 1.288 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.655e-05/0.3182, allocations: 38.55 kB / 1.288 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 9.82e-07/0.3182, allocations: 0 / 1.288 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.000359/0.3185, allocations: 169.3 kB / 1.288 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.53e-05/0.3186, allocations: 77.11 kB / 1.288 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005865/0.3192, allocations: 0.5208 MB / 1.288 GB, free: 6.246 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.081e-05/0.3192, allocations: 25.7 kB / 1.288 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001684/0.3194, allocations: 203.7 kB / 1.289 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.814e-05/0.3194, allocations: 11.95 kB / 1.289 GB, free: 6 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.516e-05/0.3195, allocations: 57.66 kB / 1.289 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001661/0.3196, allocations: 342.8 kB / 1.289 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001103/0.3197, allocations: 71.89 kB / 1.289 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001296/0.3199, allocations: 93.56 kB / 1.289 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001747/0.32, allocations: 113.6 kB / 1.289 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.32, allocations: 3.938 kB / 1.289 GB, free: 5.305 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003195/0.3204, allocations: 209.4 kB / 1.29 GB, free: 5.094 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.3204, allocations: 5.875 kB / 1.29 GB, free: 5.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.3204, allocations: 4 kB / 1.29 GB, free: 5.086 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.3204, allocations: 3.938 kB / 1.29 GB, free: 5.082 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001604/0.3206, allocations: 31.92 kB / 1.29 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.3206, allocations: 0 / 1.29 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.788e-05/0.3207, allocations: 43.62 kB / 1.29 GB, free: 5.008 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.987e-05/0.3207, allocations: 7.938 kB / 1.29 GB, free: 5 MB / 0.9825 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.0002728/0.3209, allocations: 208.1 kB / 1.29 GB, free: 4.789 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.322e-05/0.321, allocations: 27.81 kB / 1.29 GB, free: 4.762 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002488/0.3213, allocations: 118.1 kB / 1.29 GB, free: 4.637 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.3213, allocations: 3.938 kB / 1.29 GB, free: 4.633 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.3213, allocations: 0 / 1.29 GB, free: 4.633 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.3213, allocations: 0 / 1.29 GB, free: 4.633 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007062/0.322, allocations: 0.6126 MB / 1.291 GB, free: 3.957 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/0.322, allocations: 4 kB / 1.291 GB, free: 3.953 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.782e-05/0.322, allocations: 8.188 kB / 1.291 GB, free: 3.945 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.322, allocations: 0 / 1.291 GB, free: 3.945 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.322, allocations: 4 kB / 1.291 GB, free: 3.941 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.322, allocations: 0 / 1.291 GB, free: 3.941 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.322, allocations: 0 / 1.291 GB, free: 3.941 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001671/0.3222, allocations: 135.6 kB / 1.291 GB, free: 3.781 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001055/0.3223, allocations: 51.75 kB / 1.291 GB, free: 3.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.19e-05/0.3223, allocations: 7.875 kB / 1.291 GB, free: 3.723 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.505e-05/0.3224, allocations: 4 kB / 1.291 GB, free: 3.719 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.421e-05/0.3224, allocations: 7.984 kB / 1.291 GB, free: 3.711 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-06/0.3224, allocations: 4 kB / 1.291 GB, free: 3.707 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004789/0.3229, allocations: 391 kB / 1.291 GB, free: 3.328 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3229, allocations: 0 / 1.291 GB, free: 3.328 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002539/0.3232, allocations: 39.95 kB / 1.291 GB, free: 3.289 MB / 0.9825 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.0005259/0.3237, allocations: 0.6655 MB / 1.292 GB, free: 2.582 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002245/0.3239, allocations: 103.9 kB / 1.292 GB, free: 2.48 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 7.174e-06/0.3239, allocations: 0 / 1.292 GB, free: 2.48 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.635e-05/0.324, allocations: 16.12 kB / 1.292 GB, free: 2.465 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002881/0.3242, allocations: 37.7 kB / 1.292 GB, free: 2.43 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003437/0.3277, allocations: 2.897 MB / 1.295 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002077/0.3279, allocations: 179.5 kB / 1.295 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001285/0.328, allocations: 55.31 kB / 1.295 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001552/0.3282, allocations: 99.39 kB / 1.295 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of SimCode: time 1.002e-06/0.3282, allocations: 0 / 1.295 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03507/0.3632, allocations: 6.335 MB / 1.301 GB, free: 8.91 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.82, allocations: 11.92 kB / 1.301 GB, free: 8.902 MB / 0.9981 GB " [Timeout remaining time 287] (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_FirstTrueIndex.fmu > Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex_res.csv","/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] "Error: Could not read variable idxFirTru.y in file Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex_res.csv. Warning: Get data of variable idxFirTru.y from file Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex_res.csv failed! Error: Could not read variable idxFirTruAllFal.y in file Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex_res.csv. Warning: Get data of variable idxFirTruAllFal.y from file Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.486267735250294]