Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.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.0008382/0.0008382, allocations: 80.52 kB / 19.95 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.0008745/0.0008745, allocations: 173.2 kB / 23.24 MB, free: 1.324 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.9177/0.9177, allocations: 177.1 MB / 203.5 MB, free: 5.73 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.926/1.926, allocations: 389.5 MB / 0.6343 GB, free: 12.59 MB / 0.6042 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.Controls.OBC.CDL.Integers.Validation.LessThreshold,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 1.001 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.171e-05/1.311e-05, allocations: 2.281 kB / 1.001 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.001242/0.001256, allocations: 0.6902 MB / 1.001 GB, free: 12.82 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0008035/0.002059, allocations: 0.8595 MB / 1.002 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.834e-05/0.002097, allocations: 0 / 1.002 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.646e-05/0.002124, allocations: 3.938 kB / 1.002 GB, free: 11.94 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.764e-05/0.002191, allocations: 0 / 1.002 GB, free: 11.94 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001384/0.00233, allocations: 23.86 kB / 1.002 GB, free: 11.92 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0003266/0.002657, allocations: 55.78 kB / 1.002 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.737e-05/0.002754, allocations: 11.98 kB / 1.002 GB, free: 11.85 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 7.346e-05/0.002827, allocations: 23.97 kB / 1.002 GB, free: 11.83 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.167e-05/0.002879, allocations: 19.92 kB / 1.002 GB, free: 11.81 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.912e-05/0.002898, allocations: 4 kB / 1.002 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 9.749e-06/0.002908, allocations: 8 kB / 1.002 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.875e-05/0.002927, allocations: 15.97 kB / 1.002 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.305e-05/0.00295, allocations: 11.94 kB / 1.002 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 9.226e-05/0.003042, allocations: 51.84 kB / 1.002 GB, free: 11.72 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.933e-06/0.003044, allocations: 0 / 1.002 GB, free: 11.72 MB / 0.9636 GB Notification: Performance of FrontEnd: time 7.62e-07/0.003045, allocations: 0 / 1.002 GB, free: 11.72 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.166e-06/0.003048, allocations: 0 / 1.002 GB, free: 11.72 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003811/0.003429, allocations: 286.2 kB / 1.003 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.003465, allocations: 9.344 kB / 1.003 GB, free: 11.4 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.234e-05/0.003497, allocations: 42.69 kB / 1.003 GB, free: 11.35 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.191e-05/0.003519, allocations: 4.891 kB / 1.003 GB, free: 11.35 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.086e-05/0.00361, allocations: 109.8 kB / 1.003 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.003623, allocations: 8.375 kB / 1.003 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.025e-06/0.003631, allocations: 384 / 1.003 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001369/0.003768, allocations: 73.95 kB / 1.003 GB, free: 11.13 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.003775, allocations: 3.938 kB / 1.003 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.417e-06/0.003785, allocations: 0 / 1.003 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.003789, allocations: 0 / 1.003 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001167/0.003905, allocations: 59.94 kB / 1.003 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003373/0.004243, allocations: 263.8 kB / 1.003 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001312/0.004374, allocations: 58.55 kB / 1.003 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.998e-05/0.004434, allocations: 28.91 kB / 1.003 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.276e-05/0.004447, allocations: 0 / 1.003 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.88e-05/0.004465, allocations: 34.56 kB / 1.003 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.004467, allocations: 0 / 1.003 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4): time 0.0002575/0.004724, allocations: 121.7 kB / 1.003 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.623e-05/0.00475, allocations: 51.41 kB / 1.004 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.331e-05/0.004814, allocations: 105.8 kB / 1.004 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.122e-05/0.004825, allocations: 25.7 kB / 1.004 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.956e-05/0.004864, allocations: 88.14 kB / 1.004 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.96e-05/0.004884, allocations: 15.89 kB / 1.004 GB, free: 10.19 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.625e-05/0.00491, allocations: 13.72 kB / 1.004 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.615e-05/0.004986, allocations: 322.8 kB / 1.004 GB, free: 9.844 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.818e-05/0.005045, allocations: 27.97 kB / 1.004 GB, free: 9.816 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.552e-05/0.0051, allocations: 23.97 kB / 1.004 GB, free: 9.793 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001018/0.005202, allocations: 52.75 kB / 1.004 GB, free: 9.738 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.005204, allocations: 0 / 1.004 GB, free: 9.738 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001286/0.005332, allocations: 85.59 kB / 1.004 GB, free: 9.648 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.005344, allocations: 8 kB / 1.004 GB, free: 9.641 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.005348, allocations: 0 / 1.004 GB, free: 9.641 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.005358, allocations: 4 kB / 1.004 GB, free: 9.637 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.241e-05/0.005431, allocations: 11.98 kB / 1.004 GB, free: 9.625 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.927e-06/0.005435, allocations: 0 / 1.004 GB, free: 9.625 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.631e-05/0.005471, allocations: 11.98 kB / 1.004 GB, free: 9.613 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-06/0.005477, allocations: 4 kB / 1.004 GB, free: 9.609 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (reaToInt.y,intLesThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 5.707e-05/0.005534, allocations: 120.4 kB / 1.004 GB, free: 9.484 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.402e-05/0.005548, allocations: 7.953 kB / 1.004 GB, free: 9.477 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.787e-05/0.005566, allocations: 7.938 kB / 1.004 GB, free: 9.461 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.005567, allocations: 3.938 kB / 1.004 GB, free: 9.457 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.005571, allocations: 4 kB / 1.004 GB, free: 9.453 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.005573, allocations: 0 / 1.004 GB, free: 9.453 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001096/0.005682, allocations: 144.6 kB / 1.005 GB, free: 9.27 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.005684, allocations: 3.984 kB / 1.005 GB, free: 9.266 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.484e-05/0.005719, allocations: 11.98 kB / 1.005 GB, free: 9.254 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-06/0.00572, allocations: 0 / 1.005 GB, free: 9.254 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.353e-06/0.005727, allocations: 4 kB / 1.005 GB, free: 9.25 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.005729, allocations: 4 kB / 1.005 GB, free: 9.246 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.00573, allocations: 0 / 1.005 GB, free: 9.246 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000156/0.005886, allocations: 179.4 kB / 1.005 GB, free: 9.055 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 8.345e-06/0.005894, allocations: 7.953 kB / 1.005 GB, free: 9.047 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.026e-05/0.005904, allocations: 4 kB / 1.005 GB, free: 9.043 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.883e-05/0.005953, allocations: 7.984 kB / 1.005 GB, free: 9.035 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.899e-05/0.006002, allocations: 11.98 kB / 1.005 GB, free: 9.023 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.518e-06/0.006007, allocations: 3.938 kB / 1.005 GB, free: 9.02 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.41e-05/0.006041, allocations: 91.27 kB / 1.005 GB, free: 8.93 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.006041, allocations: 0 / 1.005 GB, free: 8.93 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001497/0.006191, allocations: 4 kB / 1.005 GB, free: 8.926 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (intLesThr.y,reaToInt.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.0003157/0.006506, allocations: 0.7126 MB / 1.006 GB, free: 8.188 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001475/0.006654, allocations: 63.91 kB / 1.006 GB, free: 8.125 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.223e-06/0.006655, allocations: 0 / 1.006 GB, free: 8.125 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 5.803e-05/0.006713, allocations: 27.98 kB / 1.006 GB, free: 8.098 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000202/0.006915, allocations: 14.11 kB / 1.006 GB, free: 8.086 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001066/0.007981, allocations: 1.331 MB / 1.007 GB, free: 6.672 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.074e-05/0.008022, allocations: 67.28 kB / 1.007 GB, free: 6.586 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.157e-05/0.008054, allocations: 8 kB / 1.007 GB, free: 6.578 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.536e-05/0.008099, allocations: 20.48 kB / 1.007 GB, free: 6.559 MB / 0.9636 GB Notification: Performance of SimCode: time 6.61e-07/0.0081, allocations: 0 / 1.007 GB, free: 6.559 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07656/0.08466, allocations: 2.557 MB / 1.01 GB, free: 4.148 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.043/7.128, allocations: 7.094 kB / 1.01 GB, free: 4.145 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_fmpy.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_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_Controls_OBC_CDL_Integers_Validation_LessThreshold.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.787590641528368]