Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.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.00131/0.00131, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001546/0.001546, allocations: 214.6 kB / 22.24 MB, free: 4.852 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.538/1.538, allocations: 230.6 MB / 256 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.193/3.193, allocations: 0.4892 GB / 0.7943 GB, free: 35.56 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.Reals.Validation.LessThreshold,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_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.002097/0.002097, allocations: 78.42 kB / 1.153 GB, free: 25.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3682/0.3703, allocations: 176.1 MB / 1.325 GB, free: 2.32 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.002772/0.373, allocations: 0.8016 MB / 1.326 GB, free: 1.523 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001489/0.3745, allocations: 0.9133 MB / 1.327 GB, free: 0.5977 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001149/0.3746, allocations: 7.938 kB / 1.327 GB, free: 0.5898 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001369/0.3748, allocations: 7.875 kB / 1.327 GB, free: 0.582 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.291e-05/0.3748, allocations: 11.88 kB / 1.327 GB, free: 0.5703 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002289/0.3751, allocations: 27.97 kB / 1.327 GB, free: 0.543 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001452/0.3752, allocations: 79.7 kB / 1.327 GB, free: 476 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/0.3753, allocations: 20.27 kB / 1.327 GB, free: 456 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001522/0.3755, allocations: 31.86 kB / 1.327 GB, free: 424 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 8.736e-05/0.3756, allocations: 39.83 kB / 1.327 GB, free: 384 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.703e-05/0.3756, allocations: 7.938 kB / 1.327 GB, free: 376 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 4.142e-05/0.3756, allocations: 8 kB / 1.327 GB, free: 368 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.366e-05/0.3757, allocations: 15.94 kB / 1.327 GB, free: 352 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.118e-05/0.3757, allocations: 19.86 kB / 1.327 GB, free: 332 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001662/0.3759, allocations: 91.55 kB / 1.327 GB, free: 240 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.3759, allocations: 0 / 1.327 GB, free: 240 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.392e-06/0.3759, allocations: 0 / 1.327 GB, free: 240 kB / 1.014 GB Notification: Performance of Transformations before backend: time 9.568e-06/0.3759, allocations: 0 / 1.327 GB, free: 240 kB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005857/0.3765, allocations: 314 kB / 1.327 GB, free: 15.89 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.3765, allocations: 15.97 kB / 1.327 GB, free: 15.88 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.081e-05/0.3766, allocations: 30.75 kB / 1.327 GB, free: 15.84 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001618/0.3767, allocations: 24.83 kB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000304/0.377, allocations: 150.2 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.276e-06/0.377, allocations: 384 / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.177e-05/0.3771, allocations: 8.375 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001651/0.3772, allocations: 58.23 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.3772, allocations: 11.94 kB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.3772, allocations: 0 / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.3773, allocations: 4 kB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001085/0.3774, allocations: 31.92 kB / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005226/0.3779, allocations: 283.8 kB / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001733/0.3781, allocations: 46.59 kB / 1.328 GB, free: 15.15 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.78e-05/0.3781, allocations: 21 kB / 1.328 GB, free: 15.13 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.629e-05/0.3781, allocations: 4 kB / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.463e-05/0.3782, allocations: 30.56 kB / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.3782, allocations: 0 / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0002638/0.3784, allocations: 73.62 kB / 1.328 GB, free: 15.01 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.987e-05/0.3785, allocations: 51.41 kB / 1.328 GB, free: 14.95 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/0.3786, allocations: 135.7 kB / 1.328 GB, free: 14.8 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/0.3786, allocations: 33.62 kB / 1.328 GB, free: 14.77 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.133e-05/0.3787, allocations: 100.1 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.537e-05/0.3787, allocations: 3.953 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.35e-05/0.3787, allocations: 25.7 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.3789, allocations: 318.8 kB / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.481e-05/0.3789, allocations: 15.98 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.691e-05/0.379, allocations: 15.98 kB / 1.329 GB, free: 14.28 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.181e-05/0.3791, allocations: 28.84 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.3791, allocations: 0 / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001437/0.3792, allocations: 73.56 kB / 1.329 GB, free: 14.17 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.3792, allocations: 4 kB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.3792, allocations: 0 / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.3792, allocations: 8.328 kB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.253e-05/0.3793, allocations: 3.938 kB / 1.329 GB, free: 14.15 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.3793, allocations: 0 / 1.329 GB, free: 14.15 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.204e-05/0.3794, allocations: 11.98 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.3794, allocations: 7.875 kB / 1.329 GB, free: 14.13 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (lesHys.lesHys.y,$PRE.lesHys.lesHys.y,les.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.805e-05/0.3795, allocations: 116.1 kB / 1.329 GB, free: 14.01 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.212e-05/0.3795, allocations: 11.94 kB / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.75e-05/0.3796, allocations: 16.33 kB / 1.329 GB, free: 13.97 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.3796, allocations: 0 / 1.329 GB, free: 13.97 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.3796, allocations: 4 kB / 1.329 GB, free: 13.97 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.3796, allocations: 0 / 1.329 GB, free: 13.97 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001865/0.3798, allocations: 148.7 kB / 1.329 GB, free: 13.78 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.3798, allocations: 4 kB / 1.329 GB, free: 13.78 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.681e-05/0.3798, allocations: 0 / 1.329 GB, free: 13.78 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.3798, allocations: 0 / 1.329 GB, free: 13.78 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.3798, allocations: 7.984 kB / 1.329 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.3798, allocations: 0 / 1.329 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3798, allocations: 0 / 1.329 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001894/0.38, allocations: 163.4 kB / 1.329 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.036e-05/0.38, allocations: 19.89 kB / 1.329 GB, free: 13.57 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.075e-05/0.38, allocations: 4 kB / 1.329 GB, free: 13.57 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.3801, allocations: 11.98 kB / 1.329 GB, free: 13.56 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.48e-05/0.3802, allocations: 7.984 kB / 1.329 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.642e-06/0.3802, allocations: 4 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.752e-05/0.3803, allocations: 104.6 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3803, allocations: 0 / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002239/0.3805, allocations: 8 kB / 1.33 GB, free: 13.44 MB / 1.029 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 (les.y,lesHys.lesHys.y) * Number of discrete states: 1 (lesHys.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0005227/0.381, allocations: 0.6968 MB / 1.33 GB, free: 12.71 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001446/0.3812, allocations: 27.98 kB / 1.33 GB, free: 12.69 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3812, allocations: 4 kB / 1.33 GB, free: 12.68 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 6.032e-05/0.3812, allocations: 15.98 kB / 1.33 GB, free: 12.67 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002606/0.3815, allocations: 8 kB / 1.33 GB, free: 12.66 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001503/0.383, allocations: 1.39 MB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.183e-05/0.3831, allocations: 76.64 kB / 1.332 GB, free: 11.1 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.12e-05/0.3831, allocations: 12.3 kB / 1.332 GB, free: 11.09 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.85e-05/0.3832, allocations: 23.44 kB / 1.332 GB, free: 11.07 MB / 1.029 GB Notification: Performance of SimCode: time 3.7e-07/0.3832, allocations: 0 / 1.332 GB, free: 11.07 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03086/0.414, allocations: 2.563 MB / 1.334 GB, free: 8.641 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/11.95, allocations: 7.016 kB / 1.334 GB, free: 8.637 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable les.u in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.csv. Warning: Get data of variable les.u from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.csv failed! Error: Could not read variable les.y in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.csv. Warning: Get data of variable les.y from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.csv failed! Error: Could not read variable lesHys.y in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.csv. Warning: Get data of variable lesHys.y from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.901853343937546]