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.001429/0.001429, allocations: 106.1 kB / 16.45 MB, free: 6.453 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.001448/0.001448, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.503/1.503, 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 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.216/3.216, allocations: 0.49 GB / 0.7916 GB, free: 33.39 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.002054/0.002054, allocations: 73.58 kB / 1.149 GB, free: 26.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3652/0.3672, allocations: 176.1 MB / 1.321 GB, free: 3.23 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.002228/0.3695, allocations: 0.8183 MB / 1.322 GB, free: 2.41 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001304/0.3708, allocations: 0.9171 MB / 1.323 GB, free: 1.48 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001123/0.3709, allocations: 11.94 kB / 1.323 GB, free: 1.469 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001348/0.371, allocations: 15.86 kB / 1.323 GB, free: 1.453 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.287e-05/0.3711, allocations: 15.86 kB / 1.323 GB, free: 1.438 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002175/0.3713, allocations: 23.97 kB / 1.323 GB, free: 1.414 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000152/0.3714, allocations: 79.72 kB / 1.323 GB, free: 1.336 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.3716, allocations: 15.98 kB / 1.323 GB, free: 1.32 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001605/0.3717, allocations: 35.91 kB / 1.323 GB, free: 1.285 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 8.833e-05/0.3718, allocations: 35.78 kB / 1.323 GB, free: 1.25 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.01e-05/0.3718, allocations: 4 kB / 1.323 GB, free: 1.246 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 5.023e-05/0.3719, allocations: 15.94 kB / 1.323 GB, free: 1.23 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.312e-05/0.3719, allocations: 15.98 kB / 1.323 GB, free: 1.215 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.078e-05/0.3719, allocations: 23.81 kB / 1.323 GB, free: 1.191 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001922/0.3721, allocations: 87.83 kB / 1.323 GB, free: 1.105 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3721, allocations: 0 / 1.323 GB, free: 1.105 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3721, allocations: 0 / 1.323 GB, free: 1.105 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.3722, allocations: 0 / 1.323 GB, free: 1.105 MB / 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.0006635/0.3728, allocations: 395.1 kB / 1.323 GB, free: 0.668 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 7.211e-05/0.3729, allocations: 15.98 kB / 1.323 GB, free: 0.6523 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.024e-05/0.3729, allocations: 34.75 kB / 1.323 GB, free: 0.6094 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001969/0.3731, allocations: 20.83 kB / 1.323 GB, free: 0.5898 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003101/0.3734, allocations: 204.2 kB / 1.324 GB, free: 360 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.868e-06/0.3735, allocations: 4.375 kB / 1.324 GB, free: 356 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.495e-05/0.3735, allocations: 384 / 1.324 GB, free: 356 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001736/0.3736, allocations: 70.16 kB / 1.324 GB, free: 280 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.3737, allocations: 7.938 kB / 1.324 GB, free: 272 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.3737, allocations: 4 kB / 1.324 GB, free: 268 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.3737, allocations: 0 / 1.324 GB, free: 268 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001182/0.3738, allocations: 35.92 kB / 1.324 GB, free: 232 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005765/0.3744, allocations: 320.7 kB / 1.324 GB, free: 15.86 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001761/0.3745, allocations: 46.59 kB / 1.324 GB, free: 15.81 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.367e-05/0.3746, allocations: 21 kB / 1.324 GB, free: 15.79 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.3746, allocations: 0 / 1.324 GB, free: 15.79 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.487e-05/0.3747, allocations: 34.56 kB / 1.324 GB, free: 15.74 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.223e-06/0.3747, allocations: 0 / 1.324 GB, free: 15.74 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0002767/0.3749, allocations: 73.62 kB / 1.324 GB, free: 15.66 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.584e-05/0.375, allocations: 55.41 kB / 1.324 GB, free: 15.6 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001375/0.3751, allocations: 141.7 kB / 1.324 GB, free: 15.45 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.3751, allocations: 25.7 kB / 1.324 GB, free: 15.42 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.369e-05/0.3752, allocations: 100.1 kB / 1.324 GB, free: 15.32 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.968e-05/0.3752, allocations: 7.938 kB / 1.324 GB, free: 15.31 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.82e-05/0.3753, allocations: 21.7 kB / 1.324 GB, free: 15.28 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.3754, allocations: 322.8 kB / 1.325 GB, free: 14.96 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.193e-05/0.3755, allocations: 19.92 kB / 1.325 GB, free: 14.94 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.64e-05/0.3755, allocations: 19.98 kB / 1.325 GB, free: 14.92 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.12e-05/0.3756, allocations: 24.84 kB / 1.325 GB, free: 14.89 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.3756, allocations: 0 / 1.325 GB, free: 14.89 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001517/0.3758, allocations: 65.64 kB / 1.325 GB, free: 14.82 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.3758, allocations: 4 kB / 1.325 GB, free: 14.82 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.3758, allocations: 0 / 1.325 GB, free: 14.82 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.3758, allocations: 7.922 kB / 1.325 GB, free: 14.81 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.106e-05/0.3759, allocations: 8 kB / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.3759, allocations: 4 kB / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.012e-05/0.376, allocations: 11.98 kB / 1.325 GB, free: 14.79 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.296e-05/0.376, allocations: 3.938 kB / 1.325 GB, free: 14.78 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.606e-05/0.3761, allocations: 115.6 kB / 1.325 GB, free: 14.66 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.438e-05/0.3761, allocations: 7.953 kB / 1.325 GB, free: 14.65 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.607e-05/0.3762, allocations: 12.56 kB / 1.325 GB, free: 14.63 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.3762, allocations: 4 kB / 1.325 GB, free: 14.63 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.3762, allocations: 4 kB / 1.325 GB, free: 14.62 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.3762, allocations: 7.984 kB / 1.325 GB, free: 14.62 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002037/0.3764, allocations: 181.6 kB / 1.325 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3764, allocations: 0 / 1.325 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.263e-05/0.3764, allocations: 7.938 kB / 1.325 GB, free: 14.38 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.3764, allocations: 0 / 1.325 GB, free: 14.38 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.3764, allocations: 3.984 kB / 1.325 GB, free: 14.38 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.3764, allocations: 0 / 1.325 GB, free: 14.38 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3764, allocations: 0 / 1.325 GB, free: 14.38 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002282/0.3767, allocations: 167.4 kB / 1.325 GB, free: 14.2 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.408e-05/0.3767, allocations: 89 kB / 1.326 GB, free: 14.09 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.865e-05/0.3767, allocations: 0 / 1.326 GB, free: 14.09 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.3769, allocations: 11.98 kB / 1.326 GB, free: 14.08 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.378e-05/0.3769, allocations: 11.98 kB / 1.326 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-06/0.3769, allocations: 0 / 1.326 GB, free: 14.07 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.921e-05/0.377, allocations: 105.1 kB / 1.326 GB, free: 13.97 MB / 1.029 GB Notification: Performance of sort global known variables: time 7.1e-08/0.377, allocations: 0 / 1.326 GB, free: 13.97 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002288/0.3772, allocations: 8 kB / 1.326 GB, free: 13.96 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.0005631/0.3778, allocations: 0.7007 MB / 1.326 GB, free: 13.23 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001631/0.3779, allocations: 27.98 kB / 1.326 GB, free: 13.21 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3779, allocations: 7.938 kB / 1.326 GB, free: 13.2 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 6.104e-05/0.378, allocations: 19.98 kB / 1.326 GB, free: 13.18 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003015/0.3783, allocations: 9.547 kB / 1.326 GB, free: 13.17 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001743/0.3801, allocations: 1.381 MB / 1.328 GB, free: 11.71 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003804/0.3804, allocations: 0.6885 MB / 1.328 GB, free: 11 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.441e-05/0.3805, allocations: 8 kB / 1.328 GB, free: 10.99 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.08e-05/0.3805, allocations: 27.42 kB / 1.328 GB, free: 10.96 MB / 1.029 GB Notification: Performance of SimCode: time 4.4e-07/0.3805, allocations: 0 / 1.328 GB, free: 10.96 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0262/0.4067, allocations: 2.008 MB / 1.33 GB, free: 9.059 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.026/8.433, allocations: 7.516 kB / 1.33 GB, free: 9.055 MB / 1.029 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.192623671144247]