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.001301/0.001301, allocations: 115.6 kB / 17.16 MB, free: 5.895 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.001431/0.001431, allocations: 215 kB / 20.13 MB, free: 2.949 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.512/1.512, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.88/2.88, allocations: 476.7 MB / 0.7678 GB, free: 9.371 MB / 0.6075 GB " [Timeout remaining time 176] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex,fileNamePrefix="Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_FirstTrueIndex",fmuType="cs",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.002179/0.002179, allocations: 67.89 kB / 1.113 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.026/1.028, allocations: 169.9 MB / 1.279 GB, free: 11.6 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex): time 0.002394/1.031, allocations: 0.8633 MB / 1.28 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0002885/1.031, allocations: 93.22 kB / 1.28 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.55e-05/1.031, allocations: 3.594 kB / 1.28 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001509/1.031, allocations: 26.83 kB / 1.28 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001393/1.031, allocations: 20.73 kB / 1.28 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 8.599e-05/1.031, allocations: 44.12 kB / 1.28 GB, free: 10.92 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003351/1.032, allocations: 245.7 kB / 1.28 GB, free: 10.81 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004279/1.032, allocations: 233.6 kB / 1.28 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002342/1.032, allocations: 136.2 kB / 1.281 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001919/1.033, allocations: 139.5 kB / 1.281 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 6.086e-05/1.033, allocations: 32.72 kB / 1.281 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.706e-05/1.033, allocations: 36 kB / 1.281 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001052/1.033, allocations: 87.06 kB / 1.281 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002268/1.033, allocations: 158.6 kB / 1.281 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006276/1.034, allocations: 455.6 kB / 1.281 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/1.034, allocations: 0 / 1.281 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.423e-06/1.034, allocations: 0.5 kB / 1.281 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.516e-06/1.034, allocations: 0 / 1.281 GB, free: 10.22 MB / 0.9981 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.0009477/1.035, allocations: 0.6016 MB / 1.282 GB, free: 9.691 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/1.035, allocations: 10.84 kB / 1.282 GB, free: 9.691 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.982e-05/1.035, allocations: 12.56 kB / 1.282 GB, free: 9.688 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.511e-05/1.035, allocations: 74.81 kB / 1.282 GB, free: 9.625 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.984e-05/1.035, allocations: 44.84 kB / 1.282 GB, free: 9.602 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005153/1.035, allocations: 348.2 kB / 1.282 GB, free: 9.316 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.779e-05/1.035, allocations: 32.44 kB / 1.283 GB, free: 9.305 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.862e-05/1.035, allocations: 37.06 kB / 1.283 GB, free: 9.289 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006643/1.036, allocations: 402.6 kB / 1.283 GB, free: 9.121 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/1.036, allocations: 4 kB / 1.283 GB, free: 9.117 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.099e-05/1.036, allocations: 11.75 kB / 1.283 GB, free: 9.109 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/1.036, allocations: 12.17 kB / 1.283 GB, free: 9.105 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004821/1.037, allocations: 306 kB / 1.283 GB, free: 9.012 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001542/1.038, allocations: 1.044 MB / 1.284 GB, free: 8.371 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001779/1.038, allocations: 89 kB / 1.284 GB, free: 8.301 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.274e-05/1.038, allocations: 44.2 kB / 1.284 GB, free: 8.273 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.654e-05/1.038, allocations: 10.06 kB / 1.284 GB, free: 8.266 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/1.038, allocations: 36.33 kB / 1.284 GB, free: 8.223 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=6): time 1.563e-06/1.038, allocations: 0 / 1.284 GB, free: 8.223 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6): time 0.0004026/1.039, allocations: 168 kB / 1.285 GB, free: 8.137 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.991e-05/1.039, allocations: 82.86 kB / 1.285 GB, free: 8.039 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006456/1.04, allocations: 0.508 MB / 1.285 GB, free: 7.812 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/1.04, allocations: 25.7 kB / 1.285 GB, free: 7.781 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000206/1.04, allocations: 205.7 kB / 1.285 GB, free: 7.609 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.876e-05/1.04, allocations: 16.75 kB / 1.285 GB, free: 7.598 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.083e-05/1.04, allocations: 52.73 kB / 1.285 GB, free: 7.566 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002427/1.04, allocations: 351.3 kB / 1.286 GB, free: 7.234 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000123/1.04, allocations: 66.75 kB / 1.286 GB, free: 7.215 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001305/1.04, allocations: 95.28 kB / 1.286 GB, free: 7.168 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001799/1.041, allocations: 119.6 kB / 1.286 GB, free: 7.105 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/1.041, allocations: 0 / 1.286 GB, free: 7.105 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000351/1.041, allocations: 211.8 kB / 1.286 GB, free: 7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/1.041, allocations: 5.188 kB / 1.286 GB, free: 7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/1.041, allocations: 0.9062 kB / 1.286 GB, free: 7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/1.041, allocations: 5.703 kB / 1.286 GB, free: 6.996 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001677/1.041, allocations: 30.42 kB / 1.286 GB, free: 6.992 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.886e-06/1.041, allocations: 5.75 kB / 1.286 GB, free: 6.988 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.346e-05/1.041, allocations: 33.67 kB / 1.286 GB, free: 6.965 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.009e-05/1.041, allocations: 5.969 kB / 1.286 GB, free: 6.965 MB / 0.9981 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.000232/1.042, allocations: 206.6 kB / 1.287 GB, free: 6.816 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.697e-05/1.042, allocations: 34.86 kB / 1.287 GB, free: 6.797 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000232/1.042, allocations: 125.9 kB / 1.287 GB, free: 6.711 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/1.042, allocations: 1.969 kB / 1.287 GB, free: 6.711 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/1.042, allocations: 1.031 kB / 1.287 GB, free: 6.711 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/1.042, allocations: 0.5625 kB / 1.287 GB, free: 6.711 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000665/1.043, allocations: 0.6465 MB / 1.287 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/1.043, allocations: 1.469 kB / 1.287 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.375e-05/1.043, allocations: 11.91 kB / 1.287 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-06/1.043, allocations: 1.469 kB / 1.287 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/1.043, allocations: 5.281 kB / 1.287 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/1.043, allocations: 1.219 kB / 1.287 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/1.043, allocations: 1.125 kB / 1.287 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001599/1.043, allocations: 138.6 kB / 1.287 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001119/1.043, allocations: 120.5 kB / 1.288 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.21e-05/1.043, allocations: 6.312 kB / 1.288 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.414e-05/1.043, allocations: 2.812 kB / 1.288 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.193e-05/1.043, allocations: 7.906 kB / 1.288 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-06/1.043, allocations: 1.656 kB / 1.288 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000457/1.043, allocations: 386.8 kB / 1.288 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/1.043, allocations: 3.938 kB / 1.288 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002505/1.044, allocations: 45.78 kB / 1.288 GB, free: 5.707 MB / 0.9981 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.0005063/1.044, allocations: 0.6669 MB / 1.289 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002362/1.044, allocations: 107.8 kB / 1.289 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/1.044, allocations: 1.469 kB / 1.289 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.917e-05/1.044, allocations: 17.16 kB / 1.289 GB, free: 5.008 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002756/1.045, allocations: 29.53 kB / 1.289 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003805/1.049, allocations: 2.908 MB / 1.292 GB, free: 3.246 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004571/1.049, allocations: 0.7874 MB / 1.292 GB, free: 2.539 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001242/1.049, allocations: 57.33 kB / 1.292 GB, free: 2.539 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001449/1.049, allocations: 94.56 kB / 1.293 GB, free: 2.469 MB / 0.9981 GB Notification: Performance of SimCode: time 8.01e-07/1.049, allocations: 0 / 1.293 GB, free: 2.469 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02506/1.074, allocations: 5.753 MB / 1.298 GB, free: 1.75 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.645/9.72, allocations: 3.688 kB / 1.298 GB, free: 1.75 MB / 0.9981 GB " [Timeout remaining time 290] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex_res.mat --tempDir=temp_Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_FirstTrueIndex_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.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: 16.090107692987658]