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.001445/0.001445, allocations: 111.9 kB / 17.54 MB, free: 4.641 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.001428/0.001428, allocations: 189.9 kB / 20.71 MB, free: 1.484 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.32/1.32, allocations: 225.6 MB / 249.3 MB, free: 3.043 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.506/2.506, allocations: 476.7 MB / 0.7628 GB, free: 15.2 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.001873/0.001873, allocations: 71.89 kB / 1.107 GB, free: 5.113 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8134/0.8152, allocations: 168.7 MB / 1.271 GB, free: 7.699 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.001693/0.8169, allocations: 0.8414 MB / 1.272 GB, free: 7.184 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0007948/0.8177, allocations: 0.8693 MB / 1.273 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.461e-05/0.8178, allocations: 2.438 kB / 1.273 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001105/0.8179, allocations: 14.7 kB / 1.273 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.428e-05/0.8179, allocations: 14.33 kB / 1.273 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001634/0.8181, allocations: 31.64 kB / 1.273 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001187/0.8182, allocations: 75.98 kB / 1.273 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.8183, allocations: 22.75 kB / 1.273 GB, free: 6.438 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.623e-05/0.8184, allocations: 34.2 kB / 1.273 GB, free: 6.418 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.096e-05/0.8185, allocations: 33.39 kB / 1.273 GB, free: 6.398 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.863e-05/0.8185, allocations: 5.781 kB / 1.273 GB, free: 6.398 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.308e-05/0.8185, allocations: 5.625 kB / 1.273 GB, free: 6.398 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.883e-05/0.8185, allocations: 11.56 kB / 1.273 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.443e-05/0.8186, allocations: 28.61 kB / 1.273 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001268/0.8187, allocations: 79.33 kB / 1.273 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.8187, allocations: 0 / 1.273 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.162e-06/0.8187, allocations: 0.875 kB / 1.273 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.8187, allocations: 4 kB / 1.273 GB, free: 6.336 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.0004377/0.8191, allocations: 391.6 kB / 1.274 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.8192, allocations: 9.562 kB / 1.274 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.952e-05/0.8192, allocations: 33.3 kB / 1.274 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.659e-05/0.8192, allocations: 9.047 kB / 1.274 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001772/0.8194, allocations: 210.9 kB / 1.274 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.798e-06/0.8194, allocations: 10.34 kB / 1.274 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.103e-05/0.8194, allocations: 3.094 kB / 1.274 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000135/0.8196, allocations: 65.31 kB / 1.274 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.8196, allocations: 4.719 kB / 1.274 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.8196, allocations: 0.7188 kB / 1.274 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.8196, allocations: 0.7188 kB / 1.274 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.906e-05/0.8197, allocations: 34.25 kB / 1.274 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003642/0.8201, allocations: 320.8 kB / 1.275 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000141/0.8202, allocations: 46.23 kB / 1.275 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.687e-05/0.8202, allocations: 18.77 kB / 1.275 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.395e-05/0.8203, allocations: 3.938 kB / 1.275 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.493e-05/0.8203, allocations: 42.06 kB / 1.275 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.633e-06/0.8203, allocations: 4.828 kB / 1.275 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0002157/0.8205, allocations: 68.88 kB / 1.275 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.741e-05/0.8205, allocations: 57.19 kB / 1.275 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.688e-05/0.8206, allocations: 134.6 kB / 1.275 GB, free: 4.996 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.937e-06/0.8206, allocations: 26.8 kB / 1.275 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.165e-05/0.8206, allocations: 94.52 kB / 1.275 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.26e-05/0.8206, allocations: 7.312 kB / 1.275 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.883e-05/0.8207, allocations: 21.97 kB / 1.275 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.293e-05/0.8207, allocations: 326 kB / 1.275 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.81e-05/0.8208, allocations: 12.53 kB / 1.275 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.889e-05/0.8208, allocations: 14.81 kB / 1.275 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.436e-05/0.8209, allocations: 30.83 kB / 1.275 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.8209, allocations: 0 / 1.275 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001189/0.821, allocations: 73.34 kB / 1.275 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.821, allocations: 9.641 kB / 1.275 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.821, allocations: 1.094 kB / 1.275 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.821, allocations: 1.688 kB / 1.275 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.637e-05/0.8211, allocations: 3.781 kB / 1.275 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.8211, allocations: 1.828 kB / 1.275 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.2e-05/0.8212, allocations: 16.5 kB / 1.275 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.673e-06/0.8212, allocations: 7.094 kB / 1.275 GB, free: 4.438 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 4.661e-05/0.8212, allocations: 118.4 kB / 1.276 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.509e-05/0.8212, allocations: 2.656 kB / 1.276 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.44e-05/0.8213, allocations: 11.53 kB / 1.276 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.8213, allocations: 4.719 kB / 1.276 GB, free: 4.297 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.8213, allocations: 0 / 1.276 GB, free: 4.297 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.8213, allocations: 1.75 kB / 1.276 GB, free: 4.297 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000119/0.8214, allocations: 186.5 kB / 1.276 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.8214, allocations: 0 / 1.276 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.784e-05/0.8214, allocations: 5.422 kB / 1.276 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.8214, allocations: 1.125 kB / 1.276 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.8214, allocations: 4 kB / 1.276 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.8214, allocations: 1.156 kB / 1.276 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.8214, allocations: 2.438 kB / 1.276 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001233/0.8216, allocations: 160 kB / 1.276 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.786e-05/0.8216, allocations: 83.12 kB / 1.276 GB, free: 3.844 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/0.8216, allocations: 1.031 kB / 1.276 GB, free: 3.844 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.556e-05/0.8217, allocations: 8.812 kB / 1.276 GB, free: 3.844 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.976e-05/0.8217, allocations: 15 kB / 1.276 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.599e-06/0.8217, allocations: 2.312 kB / 1.276 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.508e-05/0.8218, allocations: 111.9 kB / 1.276 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.8218, allocations: 0 / 1.276 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002061/0.822, allocations: 10.98 kB / 1.276 GB, free: 3.742 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.0002821/0.8223, allocations: 0.6993 MB / 1.277 GB, free: 3.07 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001307/0.8224, allocations: 30.45 kB / 1.277 GB, free: 3.062 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.8224, allocations: 1.062 kB / 1.277 GB, free: 3.062 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 4.864e-05/0.8224, allocations: 16.98 kB / 1.277 GB, free: 3.059 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002369/0.8227, allocations: 14.81 kB / 1.277 GB, free: 3.051 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.8237, allocations: 1.402 MB / 1.278 GB, free: 17.78 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002739/0.824, allocations: 0.6892 MB / 1.279 GB, free: 17.09 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.284e-05/0.824, allocations: 3.906 kB / 1.279 GB, free: 17.09 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.819e-05/0.8241, allocations: 26.38 kB / 1.279 GB, free: 17.07 MB / 1.014 GB Notification: Performance of SimCode: time 3.21e-07/0.8241, allocations: 0 / 1.279 GB, free: 17.07 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0237/0.8478, allocations: 1.981 MB / 1.281 GB, free: 16.68 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.97/7.818, allocations: 14.19 kB / 1.281 GB, free: 16.67 MB / 1.014 GB " [Timeout remaining time 292] (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 & python3 -m fmpy simulate --output-file Buildings_11_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_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.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.csv. Warning: Get data of variable les.u from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.csv failed! Error: Could not read variable les.y in file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.csv. Warning: Get data of variable les.y from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.csv failed! Error: Could not read variable lesHys.y in file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.csv. Warning: Get data of variable lesHys.y from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.250956796997343]