Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001375/0.001375, allocations: 103.6 kB / 18.95 MB, free: 2.688 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.001666/0.001666, allocations: 216 kB / 22.24 MB, free: 5.242 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.556/1.556, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.44/3.44, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold",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.002107/0.002107, allocations: 63.19 kB / 1.186 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3743/0.3764, allocations: 181.9 MB / 1.363 GB, free: 14.05 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.001947/0.3783, allocations: 0.6965 MB / 1.364 GB, free: 13.36 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001082/0.3794, allocations: 0.8587 MB / 1.365 GB, free: 12.48 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.058e-05/0.3795, allocations: 0 / 1.365 GB, free: 12.48 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.19e-05/0.3795, allocations: 3.938 kB / 1.365 GB, free: 12.48 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.054e-05/0.3796, allocations: 7.938 kB / 1.365 GB, free: 12.47 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001595/0.3797, allocations: 23.97 kB / 1.365 GB, free: 12.45 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 8.851e-05/0.3798, allocations: 39.91 kB / 1.365 GB, free: 12.41 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.3799, allocations: 15.98 kB / 1.365 GB, free: 12.39 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.535e-05/0.38, allocations: 23.92 kB / 1.365 GB, free: 12.37 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.106e-05/0.3801, allocations: 19.92 kB / 1.365 GB, free: 12.35 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.013e-05/0.3801, allocations: 4 kB / 1.365 GB, free: 12.35 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.252e-05/0.3801, allocations: 7.938 kB / 1.365 GB, free: 12.34 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.448e-05/0.3801, allocations: 15.97 kB / 1.365 GB, free: 12.32 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.091e-05/0.3801, allocations: 15.88 kB / 1.365 GB, free: 12.31 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000105/0.3802, allocations: 55.95 kB / 1.365 GB, free: 12.25 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3803, allocations: 0 / 1.365 GB, free: 12.25 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3803, allocations: 0 / 1.365 GB, free: 12.25 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.636e-06/0.3803, allocations: 0 / 1.365 GB, free: 12.25 MB / 1.061 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.0005264/0.3808, allocations: 278.3 kB / 1.365 GB, free: 11.95 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.3808, allocations: 12.03 kB / 1.365 GB, free: 11.94 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.699e-05/0.3809, allocations: 34.75 kB / 1.365 GB, free: 11.9 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.939e-05/0.3809, allocations: 8.891 kB / 1.365 GB, free: 11.89 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001298/0.381, allocations: 110.5 kB / 1.366 GB, free: 11.76 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.3811, allocations: 4.375 kB / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.7e-05/0.3811, allocations: 8.125 kB / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002086/0.3813, allocations: 73.58 kB / 1.366 GB, free: 11.67 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.3813, allocations: 0 / 1.366 GB, free: 11.67 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.238e-06/0.3813, allocations: 0 / 1.366 GB, free: 11.67 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.3813, allocations: 11.98 kB / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001993/0.3815, allocations: 43.95 kB / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004792/0.382, allocations: 255.9 kB / 1.366 GB, free: 11.32 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002026/0.3822, allocations: 62.48 kB / 1.366 GB, free: 11.25 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001083/0.3823, allocations: 28.91 kB / 1.366 GB, free: 11.22 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.893e-05/0.3823, allocations: 4 kB / 1.366 GB, free: 11.21 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.171e-05/0.3824, allocations: 30.56 kB / 1.366 GB, free: 11.18 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.3824, allocations: 4 kB / 1.366 GB, free: 11.17 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.0004129/0.3828, allocations: 105.6 kB / 1.366 GB, free: 11.06 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.369e-05/0.3828, allocations: 51.41 kB / 1.366 GB, free: 11 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.776e-05/0.3829, allocations: 109.8 kB / 1.366 GB, free: 10.88 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.3829, allocations: 25.7 kB / 1.366 GB, free: 10.85 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.056e-05/0.383, allocations: 96.08 kB / 1.366 GB, free: 10.75 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.979e-05/0.383, allocations: 11.95 kB / 1.366 GB, free: 10.74 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.454e-05/0.3831, allocations: 21.72 kB / 1.366 GB, free: 10.71 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.3832, allocations: 326.8 kB / 1.367 GB, free: 10.39 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001049/0.3833, allocations: 19.98 kB / 1.367 GB, free: 10.37 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.553e-05/0.3834, allocations: 27.97 kB / 1.367 GB, free: 10.34 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001878/0.3836, allocations: 52.81 kB / 1.367 GB, free: 10.29 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.3836, allocations: 3.938 kB / 1.367 GB, free: 10.28 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002505/0.3838, allocations: 93.59 kB / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.3838, allocations: 4 kB / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.3839, allocations: 0 / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.3839, allocations: 3.938 kB / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.384, allocations: 11.98 kB / 1.367 GB, free: 10.16 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.384, allocations: 0 / 1.367 GB, free: 10.16 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.426e-05/0.3841, allocations: 7.984 kB / 1.367 GB, free: 10.16 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.193e-05/0.3841, allocations: 7.938 kB / 1.367 GB, free: 10.15 MB / 1.061 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 8.704e-05/0.3842, allocations: 113.8 kB / 1.367 GB, free: 10.03 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.38e-05/0.3842, allocations: 4 kB / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.86e-05/0.3842, allocations: 8 kB / 1.367 GB, free: 10 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.3842, allocations: 0 / 1.367 GB, free: 10 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.3842, allocations: 4 kB / 1.367 GB, free: 10 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.3842, allocations: 0 / 1.367 GB, free: 10 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001774/0.3844, allocations: 144.6 kB / 1.367 GB, free: 9.816 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3844, allocations: 0 / 1.367 GB, free: 9.816 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.758e-05/0.3845, allocations: 12.31 kB / 1.367 GB, free: 9.805 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.3845, allocations: 0 / 1.367 GB, free: 9.805 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.3845, allocations: 4 kB / 1.367 GB, free: 9.801 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3845, allocations: 0 / 1.367 GB, free: 9.801 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3845, allocations: 4 kB / 1.367 GB, free: 9.797 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003057/0.3848, allocations: 191.4 kB / 1.367 GB, free: 9.594 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.254e-05/0.3848, allocations: 7.953 kB / 1.367 GB, free: 9.586 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.341e-05/0.3848, allocations: 0 / 1.367 GB, free: 9.586 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.3849, allocations: 7.984 kB / 1.367 GB, free: 9.578 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.661e-05/0.385, allocations: 11.98 kB / 1.367 GB, free: 9.566 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/0.385, allocations: 0 / 1.367 GB, free: 9.566 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.185e-05/0.3851, allocations: 99.5 kB / 1.368 GB, free: 9.469 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3851, allocations: 0 / 1.368 GB, free: 9.469 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002156/0.3853, allocations: 12 kB / 1.368 GB, free: 9.457 MB / 1.061 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.0005916/0.3859, allocations: 0.7046 MB / 1.368 GB, free: 8.727 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002623/0.3861, allocations: 59.94 kB / 1.368 GB, free: 8.668 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3861, allocations: 0 / 1.368 GB, free: 8.668 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001125/0.3862, allocations: 27.97 kB / 1.368 GB, free: 8.641 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003033/0.3865, allocations: 14.19 kB / 1.368 GB, free: 8.629 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001684/0.3882, allocations: 1.331 MB / 1.37 GB, free: 7.219 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.06e-05/0.3883, allocations: 67.34 kB / 1.37 GB, free: 7.133 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.549e-05/0.3883, allocations: 4 kB / 1.37 GB, free: 7.129 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.529e-05/0.3884, allocations: 19.42 kB / 1.37 GB, free: 7.109 MB / 1.061 GB Notification: Performance of SimCode: time 5.62e-07/0.3884, allocations: 0 / 1.37 GB, free: 7.109 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02979/0.4182, allocations: 2.422 MB / 1.372 GB, free: 4.836 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.78, allocations: 2.891 kB / 1.372 GB, free: 4.836 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.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: 18.825164071749896]