Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 114 kB / 17.6 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 186.7 kB / 20.78 MB, free: 1.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.497/1.497, allocations: 225.6 MB / 249.4 MB, free: 3.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.796/2.796, allocations: 476.7 MB / 0.7629 GB, free: 15.13 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001992/0.001992, allocations: 63.91 kB / 1.107 GB, free: 5.012 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9892/0.9912, allocations: 168.7 MB / 1.272 GB, free: 7.684 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.001966/0.9932, allocations: 0.8352 MB / 1.272 GB, free: 7.156 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001026/0.9942, allocations: 0.8761 MB / 1.273 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.919e-05/0.9943, allocations: 2.438 kB / 1.273 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001239/0.9944, allocations: 11.53 kB / 1.273 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.931e-05/0.9944, allocations: 18 kB / 1.273 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001801/0.9946, allocations: 30.78 kB / 1.273 GB, free: 6.453 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001232/0.9948, allocations: 73 kB / 1.273 GB, free: 6.418 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.9949, allocations: 18.86 kB / 1.273 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.711e-05/0.995, allocations: 34.55 kB / 1.273 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.651e-05/0.995, allocations: 32.58 kB / 1.273 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.095e-05/0.9951, allocations: 6.375 kB / 1.273 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.352e-05/0.9951, allocations: 4.875 kB / 1.273 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.21e-05/0.9951, allocations: 20.33 kB / 1.273 GB, free: 6.355 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.861e-05/0.9951, allocations: 32.25 kB / 1.274 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001437/0.9953, allocations: 78.83 kB / 1.274 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.9953, allocations: 0.9375 kB / 1.274 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.603e-06/0.9953, allocations: 0 / 1.274 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.67e-06/0.9953, allocations: 0 / 1.274 GB, free: 6.301 MB / 0.9981 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.0004732/0.9958, allocations: 388.2 kB / 1.274 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.9958, allocations: 9.281 kB / 1.274 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.579e-05/0.9958, allocations: 37.83 kB / 1.274 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.929e-05/0.9959, allocations: 17.2 kB / 1.274 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002182/0.9961, allocations: 209.4 kB / 1.274 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.9961, allocations: 9.969 kB / 1.274 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.177e-05/0.9961, allocations: 3.062 kB / 1.274 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001437/0.9962, allocations: 63.11 kB / 1.274 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.9963, allocations: 3.938 kB / 1.274 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.9963, allocations: 1.828 kB / 1.274 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.9963, allocations: 1.031 kB / 1.274 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001099/0.9964, allocations: 41.86 kB / 1.274 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004057/0.9968, allocations: 309.4 kB / 1.275 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001616/0.997, allocations: 51.02 kB / 1.275 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.346e-05/0.997, allocations: 27.45 kB / 1.275 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.856e-05/0.997, allocations: 0.75 kB / 1.275 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.706e-05/0.997, allocations: 31.41 kB / 1.275 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.243e-06/0.997, allocations: 0 / 1.275 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0002454/0.9973, allocations: 72.89 kB / 1.275 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.451e-05/0.9973, allocations: 52.44 kB / 1.275 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.407e-05/0.9974, allocations: 139.8 kB / 1.275 GB, free: 4.961 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.11e-05/0.9974, allocations: 30.98 kB / 1.275 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.854e-05/0.9975, allocations: 95.33 kB / 1.275 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.374e-05/0.9975, allocations: 5.516 kB / 1.275 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.356e-05/0.9975, allocations: 18.52 kB / 1.275 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.823e-05/0.9975, allocations: 323.8 kB / 1.275 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.467e-05/0.9976, allocations: 15.95 kB / 1.275 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.4e-05/0.9976, allocations: 14.08 kB / 1.275 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.067e-05/0.9977, allocations: 30.58 kB / 1.276 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.9977, allocations: 0 / 1.276 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001445/0.9979, allocations: 66.7 kB / 1.276 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.9979, allocations: 10.62 kB / 1.276 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.9979, allocations: 0.875 kB / 1.276 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.9979, allocations: 0.9062 kB / 1.276 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.449e-05/0.998, allocations: 11.47 kB / 1.276 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.998, allocations: 0 / 1.276 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.35e-05/0.9981, allocations: 21.78 kB / 1.276 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.894e-06/0.9981, allocations: 4.938 kB / 1.276 GB, free: 4.402 MB / 0.9981 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 5.408e-05/0.9981, allocations: 114.7 kB / 1.276 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.849e-05/0.9981, allocations: 2.594 kB / 1.276 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.744e-05/0.9982, allocations: 10.5 kB / 1.276 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.9982, allocations: 3.938 kB / 1.276 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.9982, allocations: 3.328 kB / 1.276 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.9982, allocations: 0 / 1.276 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001419/0.9983, allocations: 185.9 kB / 1.276 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.9983, allocations: 7.938 kB / 1.276 GB, free: 4.055 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.001e-05/0.9984, allocations: 2.969 kB / 1.276 GB, free: 4.055 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.9984, allocations: 0 / 1.276 GB, free: 4.055 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-06/0.9984, allocations: 0.875 kB / 1.276 GB, free: 4.055 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.9984, allocations: 5 kB / 1.276 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.9984, allocations: 0 / 1.276 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001432/0.9985, allocations: 159.1 kB / 1.276 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.125e-05/0.9985, allocations: 87.45 kB / 1.276 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.01e-05/0.9986, allocations: 7.109 kB / 1.276 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.9987, allocations: 9.656 kB / 1.276 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.549e-05/0.9987, allocations: 6.812 kB / 1.276 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.9987, allocations: 2.656 kB / 1.276 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.264e-05/0.9988, allocations: 107.6 kB / 1.276 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.9988, allocations: 0 / 1.276 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002293/0.999, allocations: 11.64 kB / 1.276 GB, free: 3.711 MB / 0.9981 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.0003382/0.9993, allocations: 0.6985 MB / 1.277 GB, free: 3.035 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001549/0.9995, allocations: 33.14 kB / 1.277 GB, free: 3.027 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.9995, allocations: 0 / 1.277 GB, free: 3.027 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 5.676e-05/0.9995, allocations: 17.42 kB / 1.277 GB, free: 3.023 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002712/0.9998, allocations: 13.59 kB / 1.277 GB, free: 3.016 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001263/1.001, allocations: 1.415 MB / 1.278 GB, free: 17.75 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003079/1.001, allocations: 0.6891 MB / 1.279 GB, free: 17.05 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.13e-05/1.001, allocations: 8.828 kB / 1.279 GB, free: 17.05 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.179e-05/1.001, allocations: 25.58 kB / 1.279 GB, free: 17.03 MB / 1.014 GB Notification: Performance of SimCode: time 3.01e-07/1.001, allocations: 0 / 1.279 GB, free: 17.03 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02545/1.027, allocations: 1.977 MB / 1.281 GB, free: 16.64 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.928/8.955, allocations: 14.88 kB / 1.281 GB, free: 16.63 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,les.u,les.t,les.y,lesHys.y Variables in the result:les.h,les.pre_y_start,les.t,les.u,les.y,lesHys.h,lesHys.pre_y_start,lesHys.t,lesHys.u,lesHys.y,sin.amplitude,sin.freqHz,sin.offset,sin.phase,sin.startTime,sin.y,time [Calling sys.exit(0), Time elapsed: 15.104701390984701]