Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.001262/0.001262, allocations: 108.3 kB / 19.73 MB, free: 420 kB / 13.93 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.001003/0.001003, allocations: 212.6 kB / 23.02 MB, free: 2.969 MB / 13.93 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.9972/0.9972, allocations: 230.6 MB / 256.8 MB, free: 9.602 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.986/1.986, allocations: 0.5045 GB / 0.8104 GB, free: 2.77 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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_13_Buildings_Templates_Plants_Controls_Utilities_Validation_FirstTrueIndex",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex,fileNamePrefix="Buildings_13_Buildings_Templates_Plants_Controls_Utilities_Validation_FirstTrueIndex",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001019/0.001019, allocations: 79.88 kB / 1.177 GB, free: 12.01 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7652/0.7662, allocations: 180 MB / 1.352 GB, free: 1.684 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex): time 0.002034/0.7683, allocations: 0.8472 MB / 1.353 GB, free: 0.8398 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.0002764/0.7685, allocations: 91.69 kB / 1.353 GB, free: 0.75 MB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001053/0.7686, allocations: 7.938 kB / 1.353 GB, free: 0.7422 MB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 0.0001405/0.7688, allocations: 19.8 kB / 1.353 GB, free: 0.7227 MB / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 0.0001583/0.7689, allocations: 15.86 kB / 1.353 GB, free: 0.707 MB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 7.183e-05/0.769, allocations: 35.97 kB / 1.353 GB, free: 0.6719 MB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 0.0002302/0.7692, allocations: 255.4 kB / 1.354 GB, free: 432 kB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002975/0.7695, allocations: 178.8 kB / 1.354 GB, free: 252 kB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 9.68e-05/0.7696, allocations: 135.5 kB / 1.354 GB, free: 116 kB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001588/0.7698, allocations: 143.3 kB / 1.354 GB, free: 15.97 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 4.498e-05/0.7698, allocations: 36 kB / 1.354 GB, free: 15.94 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 3.363e-05/0.7699, allocations: 35.94 kB / 1.354 GB, free: 15.9 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 7.153e-05/0.7699, allocations: 83.77 kB / 1.354 GB, free: 15.82 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 8.679e-05/0.77, allocations: 119.3 kB / 1.354 GB, free: 15.7 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003391/0.7704, allocations: 468.4 kB / 1.355 GB, free: 15.25 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.7704, allocations: 0 / 1.355 GB, free: 15.25 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.765e-06/0.7704, allocations: 0 / 1.355 GB, free: 15.25 MB / 1.042 GB Notification: Performance of Transformations before backend: time 7.644e-06/0.7704, allocations: 4 kB / 1.355 GB, free: 15.24 MB / 1.042 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.0006141/0.771, allocations: 0.5324 MB / 1.355 GB, free: 14.68 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 5.261e-05/0.771, allocations: 8.922 kB / 1.355 GB, free: 14.67 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.173e-05/0.7711, allocations: 70.72 kB / 1.355 GB, free: 14.59 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.175e-05/0.7712, allocations: 40.7 kB / 1.355 GB, free: 14.55 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003385/0.7715, allocations: 278.4 kB / 1.356 GB, free: 14.25 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.754e-05/0.7715, allocations: 40.95 kB / 1.356 GB, free: 14.21 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.748e-05/0.7716, allocations: 32.38 kB / 1.356 GB, free: 14.18 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004309/0.772, allocations: 400 kB / 1.356 GB, free: 13.78 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.772, allocations: 15.86 kB / 1.356 GB, free: 13.77 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.312e-05/0.772, allocations: 16 kB / 1.356 GB, free: 13.75 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.7721, allocations: 8 kB / 1.356 GB, free: 13.74 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003672/0.7724, allocations: 295.8 kB / 1.356 GB, free: 13.45 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001064/0.7735, allocations: 0.9538 MB / 1.357 GB, free: 12.45 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001308/0.7736, allocations: 85.16 kB / 1.358 GB, free: 12.35 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.868e-05/0.7737, allocations: 45.78 kB / 1.358 GB, free: 12.3 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.333e-05/0.7737, allocations: 0 / 1.358 GB, free: 12.3 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/0.7737, allocations: 38.56 kB / 1.358 GB, free: 12.25 MB / 1.042 GB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.7737, allocations: 4 kB / 1.358 GB, free: 12.25 MB / 1.042 GB Notification: Performance of matching and sorting (n=6): time 0.0003165/0.774, allocations: 169.6 kB / 1.358 GB, free: 12.07 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.898e-05/0.7741, allocations: 81.11 kB / 1.358 GB, free: 11.98 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003869/0.7745, allocations: 0.513 MB / 1.358 GB, free: 11.45 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.245e-05/0.7745, allocations: 25.7 kB / 1.358 GB, free: 11.42 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/0.7746, allocations: 207.7 kB / 1.359 GB, free: 11.21 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 1.253e-05/0.7746, allocations: 11.91 kB / 1.359 GB, free: 11.2 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.204e-05/0.7747, allocations: 61.62 kB / 1.359 GB, free: 11.14 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 9.588e-05/0.7748, allocations: 342.8 kB / 1.359 GB, free: 10.79 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.809e-05/0.7748, allocations: 71.84 kB / 1.359 GB, free: 10.72 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.469e-05/0.7749, allocations: 89.61 kB / 1.359 GB, free: 10.63 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001131/0.775, allocations: 121.5 kB / 1.359 GB, free: 10.5 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.775, allocations: 4 kB / 1.359 GB, free: 10.5 MB / 1.042 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002009/0.7752, allocations: 201.3 kB / 1.359 GB, free: 10.3 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.7753, allocations: 8 kB / 1.359 GB, free: 10.29 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.7753, allocations: 0 / 1.359 GB, free: 10.29 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.7753, allocations: 3.938 kB / 1.359 GB, free: 10.29 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001209/0.7754, allocations: 39.92 kB / 1.359 GB, free: 10.25 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.7754, allocations: 0 / 1.359 GB, free: 10.25 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.941e-05/0.7754, allocations: 39.66 kB / 1.36 GB, free: 10.21 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.715e-05/0.7755, allocations: 11.98 kB / 1.36 GB, free: 10.2 MB / 1.042 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.0001485/0.7756, allocations: 199.8 kB / 1.36 GB, free: 9.992 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.22e-05/0.7757, allocations: 35.77 kB / 1.36 GB, free: 9.957 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001715/0.7758, allocations: 114.1 kB / 1.36 GB, free: 9.832 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.7758, allocations: 3.938 kB / 1.36 GB, free: 9.828 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.289e-06/0.7758, allocations: 0 / 1.36 GB, free: 9.828 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.7758, allocations: 7.984 kB / 1.36 GB, free: 9.82 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000385/0.7762, allocations: 0.6126 MB / 1.36 GB, free: 9.145 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.7762, allocations: 0 / 1.36 GB, free: 9.145 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.788e-05/0.7762, allocations: 4 kB / 1.36 GB, free: 9.141 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.7762, allocations: 4 kB / 1.36 GB, free: 9.137 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-06/0.7763, allocations: 0 / 1.36 GB, free: 9.137 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.7763, allocations: 0 / 1.36 GB, free: 9.137 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.7763, allocations: 4 kB / 1.36 GB, free: 9.133 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.333e-05/0.7764, allocations: 135.3 kB / 1.361 GB, free: 8.973 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.605e-05/0.7764, allocations: 43.75 kB / 1.361 GB, free: 8.93 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.801e-05/0.7764, allocations: 4.125 kB / 1.361 GB, free: 8.926 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.76e-05/0.7765, allocations: 8 kB / 1.361 GB, free: 8.918 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.036e-05/0.7765, allocations: 7.984 kB / 1.361 GB, free: 8.91 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-06/0.7765, allocations: 4 kB / 1.361 GB, free: 8.906 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.0002784/0.7768, allocations: 387.2 kB / 1.361 GB, free: 8.535 MB / 1.042 GB Notification: Performance of sort global known variables: time 6e-08/0.7768, allocations: 0 / 1.361 GB, free: 8.535 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0001693/0.7769, allocations: 47.83 kB / 1.361 GB, free: 8.488 MB / 1.042 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.0003332/0.7773, allocations: 0.6694 MB / 1.362 GB, free: 7.777 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0001746/0.7774, allocations: 107.8 kB / 1.362 GB, free: 7.672 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.7774, allocations: 0 / 1.362 GB, free: 7.672 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 1.695e-05/0.7775, allocations: 15.94 kB / 1.362 GB, free: 7.656 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002232/0.7777, allocations: 32.08 kB / 1.362 GB, free: 7.625 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002326/0.78, allocations: 2.903 MB / 1.365 GB, free: 4.621 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001217/0.7801, allocations: 183.8 kB / 1.365 GB, free: 4.422 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 7.686e-05/0.7802, allocations: 58.92 kB / 1.365 GB, free: 4.367 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001034/0.7803, allocations: 95.41 kB / 1.365 GB, free: 4.273 MB / 1.042 GB Notification: Performance of SimCode: time 8.02e-07/0.7803, allocations: 0 / 1.365 GB, free: 4.273 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08495/0.8653, allocations: 6.325 MB / 1.371 GB, free: 14.1 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.16/8.025, allocations: 12.12 kB / 1.371 GB, free: 14.09 MB / 1.057 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.pipe ; mkfifo Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.pipe ; head -c 1048576 < Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.pipe >> ../files/Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Templates_Plants_Controls_Utilities_Validation_FirstTrueIndex_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Templates_Plants_Controls_Utilities_Validation_FirstTrueIndex.fmu) > Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex_fmpy.pipe ; mkfifo Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ../Buildings_13_Buildings_Templates_Plants_Controls_Utilities_Validation_FirstTrueIndex.fmu) > Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.00125478208065]