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.0008418/0.0008418, allocations: 80.55 kB / 19.96 MB, free: 4.602 MB / 18.57 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.001007/0.001007, allocations: 173.6 kB / 23.24 MB, free: 1.32 MB / 18.57 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.9864/0.9864, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.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.876/1.876, allocations: 389.5 MB / 0.6343 GB, free: 12.61 MB / 0.6042 GB " [Timeout remaining time 178] 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 3.026e-06/3.026e-06, allocations: 0 / 1.001 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.956e-05/2.258e-05, allocations: 5.938 kB / 1.001 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex): time 0.001532/0.001554, allocations: 0.8405 MB / 1.001 GB, free: 12.7 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0002812/0.001835, allocations: 91.69 kB / 1.002 GB, free: 12.61 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.246e-05/0.001928, allocations: 7.938 kB / 1.002 GB, free: 12.6 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001702/0.002098, allocations: 19.8 kB / 1.002 GB, free: 12.58 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001643/0.002262, allocations: 19.8 kB / 1.002 GB, free: 12.56 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001039/0.002366, allocations: 43.95 kB / 1.002 GB, free: 12.52 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0003013/0.002668, allocations: 251.4 kB / 1.002 GB, free: 12.27 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003165/0.002984, allocations: 170.9 kB / 1.002 GB, free: 12.1 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002049/0.003189, allocations: 183.6 kB / 1.002 GB, free: 11.92 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001743/0.003363, allocations: 127.7 kB / 1.002 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 5.161e-05/0.003415, allocations: 32 kB / 1.002 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 3.887e-05/0.003454, allocations: 40 kB / 1.002 GB, free: 11.73 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 8.17e-05/0.003536, allocations: 91.67 kB / 1.003 GB, free: 11.64 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 9.283e-05/0.003628, allocations: 91.69 kB / 1.003 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0004242/0.004053, allocations: 466.4 kB / 1.003 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.004056, allocations: 0 / 1.003 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.593e-06/0.004058, allocations: 0 / 1.003 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 6.072e-06/0.004064, allocations: 0 / 1.003 GB, free: 11.09 MB / 0.9636 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.000732/0.004796, allocations: 0.5246 MB / 1.004 GB, free: 10.53 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.004839, allocations: 13.34 kB / 1.004 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.298e-05/0.004912, allocations: 70.72 kB / 1.004 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.962e-05/0.004981, allocations: 44.66 kB / 1.004 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000392/0.005373, allocations: 281.7 kB / 1.004 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.335e-05/0.005427, allocations: 33.03 kB / 1.004 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.679e-05/0.005463, allocations: 32.38 kB / 1.004 GB, free: 10.03 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005326/0.005996, allocations: 404 kB / 1.004 GB, free: 9.625 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.006009, allocations: 192 / 1.004 GB, free: 9.625 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.663e-05/0.006036, allocations: 12.38 kB / 1.004 GB, free: 9.613 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.949e-06/0.006046, allocations: 12.12 kB / 1.004 GB, free: 9.602 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003974/0.006444, allocations: 303.8 kB / 1.005 GB, free: 9.305 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001204/0.007647, allocations: 0.9615 MB / 1.006 GB, free: 8.293 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001391/0.007786, allocations: 89.16 kB / 1.006 GB, free: 8.188 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.534e-05/0.007842, allocations: 45.8 kB / 1.006 GB, free: 8.137 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.295e-05/0.007865, allocations: 3.938 kB / 1.006 GB, free: 8.133 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.00789, allocations: 34.56 kB / 1.006 GB, free: 8.09 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=6): time 1.813e-06/0.007892, allocations: 4 kB / 1.006 GB, free: 8.086 MB / 0.9636 GB Notification: Performance of matching and sorting (n=6): time 0.0003068/0.008199, allocations: 169.3 kB / 1.006 GB, free: 7.914 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.008239, allocations: 81.05 kB / 1.006 GB, free: 7.816 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004752/0.008714, allocations: 0.5208 MB / 1.007 GB, free: 7.289 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.326e-05/0.008727, allocations: 25.7 kB / 1.007 GB, free: 7.258 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001268/0.008854, allocations: 207.7 kB / 1.007 GB, free: 7.051 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.378e-05/0.008868, allocations: 15.94 kB / 1.007 GB, free: 7.035 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.137e-05/0.008939, allocations: 53.66 kB / 1.007 GB, free: 6.977 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.009043, allocations: 346.8 kB / 1.007 GB, free: 6.629 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.052e-05/0.009134, allocations: 63.95 kB / 1.007 GB, free: 6.566 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001041/0.009238, allocations: 95.91 kB / 1.007 GB, free: 6.469 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001393/0.009377, allocations: 117.6 kB / 1.007 GB, free: 6.348 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.00938, allocations: 3.938 kB / 1.007 GB, free: 6.344 MB / 0.9636 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002485/0.009629, allocations: 205.3 kB / 1.008 GB, free: 6.137 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.009645, allocations: 4 kB / 1.008 GB, free: 6.133 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.009651, allocations: 0 / 1.008 GB, free: 6.133 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.009667, allocations: 8 kB / 1.008 GB, free: 6.125 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001318/0.009798, allocations: 35.92 kB / 1.008 GB, free: 6.09 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.009805, allocations: 0 / 1.008 GB, free: 6.09 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.029e-05/0.009876, allocations: 35.61 kB / 1.008 GB, free: 6.055 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.755e-05/0.009893, allocations: 12 kB / 1.008 GB, free: 6.043 MB / 0.9636 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.0001709/0.01006, allocations: 199.8 kB / 1.008 GB, free: 5.84 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.695e-05/0.01012, allocations: 31.77 kB / 1.008 GB, free: 5.809 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001842/0.01031, allocations: 118.1 kB / 1.008 GB, free: 5.684 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.01031, allocations: 4 kB / 1.008 GB, free: 5.68 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.01031, allocations: 0 / 1.008 GB, free: 5.68 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.01032, allocations: 3.938 kB / 1.008 GB, free: 5.676 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004419/0.01076, allocations: 0.6009 MB / 1.009 GB, free: 5.012 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.885e-06/0.01077, allocations: 8 kB / 1.009 GB, free: 5.004 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.104e-05/0.01079, allocations: 7.984 kB / 1.009 GB, free: 4.996 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.01079, allocations: 3.938 kB / 1.009 GB, free: 4.992 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-06/0.0108, allocations: 4.188 kB / 1.009 GB, free: 4.988 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.0108, allocations: 4 kB / 1.009 GB, free: 4.984 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.0108, allocations: 0 / 1.009 GB, free: 4.984 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001076/0.01091, allocations: 123.5 kB / 1.009 GB, free: 4.836 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 5.951e-05/0.01097, allocations: 51.69 kB / 1.009 GB, free: 4.785 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.606e-05/0.011, allocations: 7.938 kB / 1.009 GB, free: 4.777 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.951e-05/0.01105, allocations: 4 kB / 1.009 GB, free: 4.773 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.136e-05/0.01107, allocations: 0 / 1.009 GB, free: 4.773 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.01107, allocations: 4 kB / 1.009 GB, free: 4.77 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0003444/0.01142, allocations: 391 kB / 1.009 GB, free: 4.387 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.01142, allocations: 0 / 1.009 GB, free: 4.387 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002422/0.01166, allocations: 43.95 kB / 1.009 GB, free: 4.344 MB / 0.9636 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.0003322/0.01199, allocations: 0.6737 MB / 1.01 GB, free: 3.633 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001801/0.01217, allocations: 108.1 kB / 1.01 GB, free: 3.527 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.01217, allocations: 4 kB / 1.01 GB, free: 3.523 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 1.927e-05/0.01219, allocations: 12 kB / 1.01 GB, free: 3.512 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002518/0.01244, allocations: 29.69 kB / 1.01 GB, free: 3.484 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002991/0.01543, allocations: 2.914 MB / 1.013 GB, free: 472 kB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001502/0.01558, allocations: 183.5 kB / 1.013 GB, free: 268 kB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0001086/0.01569, allocations: 62.92 kB / 1.013 GB, free: 208 kB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001213/0.01581, allocations: 92.47 kB / 1.013 GB, free: 116 kB / 0.9636 GB Notification: Performance of SimCode: time 1.202e-06/0.01582, allocations: 0 / 1.013 GB, free: 116 kB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09778/0.1136, allocations: 6.461 MB / 1.02 GB, free: 9.816 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.152/7.266, allocations: 7.547 kB / 1.02 GB, free: 9.812 MB / 0.9792 GB " [Timeout remaining time 293] (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: 11.900902370922267]