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.001494/0.001494, allocations: 107.6 kB / 16.45 MB, free: 6.5 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.00175/0.00175, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.461/1.461, allocations: 230.6 MB / 252.8 MB, free: 8.953 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.293/3.293, allocations: 0.505 GB / 0.8066 GB, free: 23.05 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.002369/0.002369, allocations: 73.8 kB / 1.172 GB, free: 17.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3484/0.3508, allocations: 180.2 MB / 1.348 GB, free: 10 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.002368/0.3531, allocations: 0.717 MB / 1.348 GB, free: 9.285 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001116/0.3543, allocations: 0.8631 MB / 1.349 GB, free: 8.41 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.405e-05/0.3543, allocations: 4 kB / 1.349 GB, free: 8.406 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.133e-05/0.3543, allocations: 3.938 kB / 1.349 GB, free: 8.402 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.946e-05/0.3544, allocations: 11.92 kB / 1.349 GB, free: 8.391 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001574/0.3546, allocations: 15.98 kB / 1.349 GB, free: 8.375 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001097/0.3547, allocations: 51.84 kB / 1.349 GB, free: 8.324 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.3548, allocations: 11.94 kB / 1.349 GB, free: 8.312 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 7.551e-05/0.3549, allocations: 19.97 kB / 1.349 GB, free: 8.293 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.816e-05/0.3549, allocations: 27.84 kB / 1.349 GB, free: 8.266 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.983e-05/0.355, allocations: 4 kB / 1.349 GB, free: 8.262 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.179e-05/0.355, allocations: 4 kB / 1.349 GB, free: 8.258 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.991e-05/0.355, allocations: 8 kB / 1.349 GB, free: 8.25 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.556e-05/0.355, allocations: 23.86 kB / 1.349 GB, free: 8.227 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001167/0.3551, allocations: 52 kB / 1.35 GB, free: 8.176 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3551, allocations: 4 kB / 1.35 GB, free: 8.172 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3551, allocations: 0 / 1.35 GB, free: 8.172 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.481e-06/0.3552, allocations: 0 / 1.35 GB, free: 8.172 MB / 1.045 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.000573/0.3557, allocations: 359.3 kB / 1.35 GB, free: 7.773 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.3558, allocations: 15.98 kB / 1.35 GB, free: 7.758 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.147e-05/0.3558, allocations: 30.75 kB / 1.35 GB, free: 7.719 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.557e-05/0.3558, allocations: 0.9375 kB / 1.35 GB, free: 7.719 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000157/0.356, allocations: 176.3 kB / 1.35 GB, free: 7.508 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.838e-05/0.356, allocations: 8.375 kB / 1.35 GB, free: 7.5 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.435e-05/0.356, allocations: 8.125 kB / 1.35 GB, free: 7.492 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000211/0.3562, allocations: 73.58 kB / 1.35 GB, free: 7.414 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.3562, allocations: 0 / 1.35 GB, free: 7.414 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.3563, allocations: 0 / 1.35 GB, free: 7.414 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.3563, allocations: 3.938 kB / 1.35 GB, free: 7.41 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002212/0.3565, allocations: 47.95 kB / 1.35 GB, free: 7.363 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004596/0.3569, allocations: 292.8 kB / 1.351 GB, free: 7.027 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000215/0.3572, allocations: 66.52 kB / 1.351 GB, free: 6.953 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000111/0.3573, allocations: 28.88 kB / 1.351 GB, free: 6.922 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.739e-05/0.3573, allocations: 0 / 1.351 GB, free: 6.922 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.11e-05/0.3573, allocations: 38.56 kB / 1.351 GB, free: 6.875 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 8.61e-07/0.3573, allocations: 0 / 1.351 GB, free: 6.875 MB / 1.045 GB Notification: Performance of matching and sorting (n=4): time 0.0004235/0.3577, allocations: 101.6 kB / 1.351 GB, free: 6.77 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.562e-05/0.3578, allocations: 51.41 kB / 1.351 GB, free: 6.707 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.543e-05/0.3579, allocations: 121.8 kB / 1.351 GB, free: 6.578 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.3579, allocations: 25.7 kB / 1.351 GB, free: 6.547 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.7e-05/0.358, allocations: 88.08 kB / 1.351 GB, free: 6.457 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.961e-05/0.358, allocations: 15.95 kB / 1.351 GB, free: 6.441 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.606e-05/0.358, allocations: 17.72 kB / 1.351 GB, free: 6.418 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.3582, allocations: 318.8 kB / 1.351 GB, free: 6.098 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001093/0.3583, allocations: 19.98 kB / 1.351 GB, free: 6.078 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000116/0.3584, allocations: 23.97 kB / 1.351 GB, free: 6.055 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000205/0.3586, allocations: 60.81 kB / 1.351 GB, free: 5.992 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.3586, allocations: 0 / 1.351 GB, free: 5.992 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002504/0.3588, allocations: 77.89 kB / 1.352 GB, free: 5.91 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.3588, allocations: 11.94 kB / 1.352 GB, free: 5.898 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.3589, allocations: 0 / 1.352 GB, free: 5.898 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.3589, allocations: 4.031 kB / 1.352 GB, free: 5.895 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/0.359, allocations: 19.91 kB / 1.352 GB, free: 5.875 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.359, allocations: 0 / 1.352 GB, free: 5.875 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.947e-05/0.3591, allocations: 11.94 kB / 1.352 GB, free: 5.863 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.481e-05/0.3591, allocations: 11.92 kB / 1.352 GB, free: 5.852 MB / 1.045 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 9.173e-05/0.3592, allocations: 109.8 kB / 1.352 GB, free: 5.734 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.801e-05/0.3592, allocations: 4 kB / 1.352 GB, free: 5.73 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.24e-05/0.3592, allocations: 7.906 kB / 1.352 GB, free: 5.711 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.3592, allocations: 0 / 1.352 GB, free: 5.711 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.3592, allocations: 0 / 1.352 GB, free: 5.711 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.3593, allocations: 3.938 kB / 1.352 GB, free: 5.707 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001943/0.3594, allocations: 181.6 kB / 1.352 GB, free: 5.48 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3594, allocations: 0 / 1.352 GB, free: 5.48 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.405e-05/0.3595, allocations: 15.98 kB / 1.352 GB, free: 5.465 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.225e-06/0.3595, allocations: 0 / 1.352 GB, free: 5.465 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.3596, allocations: 4 kB / 1.352 GB, free: 5.461 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3596, allocations: 0 / 1.352 GB, free: 5.461 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3596, allocations: 4 kB / 1.352 GB, free: 5.457 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003164/0.3599, allocations: 187.3 kB / 1.352 GB, free: 5.258 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 4.789e-05/0.3599, allocations: 81.11 kB / 1.352 GB, free: 5.16 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.903e-05/0.3599, allocations: 7.984 kB / 1.352 GB, free: 5.152 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.36, allocations: 4 kB / 1.352 GB, free: 5.148 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.332e-05/0.3601, allocations: 11.98 kB / 1.352 GB, free: 5.137 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/0.3601, allocations: 4 kB / 1.352 GB, free: 5.133 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.828e-05/0.3602, allocations: 87.2 kB / 1.352 GB, free: 5.047 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3602, allocations: 0 / 1.352 GB, free: 5.047 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002269/0.3604, allocations: 12 kB / 1.352 GB, free: 5.035 MB / 1.045 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.0006504/0.361, allocations: 0.7163 MB / 1.353 GB, free: 4.293 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002718/0.3613, allocations: 55.94 kB / 1.353 GB, free: 4.238 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.3613, allocations: 0 / 1.353 GB, free: 4.238 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001238/0.3614, allocations: 35.97 kB / 1.353 GB, free: 4.203 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003059/0.3617, allocations: 4 kB / 1.353 GB, free: 4.199 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001779/0.3635, allocations: 1.323 MB / 1.354 GB, free: 2.797 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003208/0.3638, allocations: 0.6845 MB / 1.355 GB, free: 2.086 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 4.175e-05/0.3639, allocations: 11.94 kB / 1.355 GB, free: 2.074 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.517e-05/0.364, allocations: 23.36 kB / 1.355 GB, free: 2.051 MB / 1.045 GB Notification: Performance of SimCode: time 4.51e-07/0.364, allocations: 0 / 1.355 GB, free: 2.051 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02489/0.3888, allocations: 1.845 MB / 1.357 GB, free: 332 kB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.195/8.584, allocations: 5.656 kB / 1.357 GB, free: 328 kB / 1.045 GB " [Timeout remaining time 291] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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] "Error: Could not read variable intLesThr.t in file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.csv. Warning: Get data of variable intLesThr.t from file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.csv failed! Error: Could not read variable intLesThr.u in file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.csv. Warning: Get data of variable intLesThr.u from file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.csv failed! Error: Could not read variable intLesThr.y in file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.csv. Warning: Get data of variable intLesThr.y from file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.562504793982953]