Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 192.9 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.281/1.281, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.425/2.425, allocations: 437 MB / 0.7104 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 59.91 kB / 0.8694 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4827/0.4839, allocations: 151.6 MB / 1.017 GB, free: 2.48 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.001947/0.4859, allocations: 0.8148 MB / 1.018 GB, free: 1.664 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009224/0.4868, allocations: 0.8741 MB / 1.019 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.929e-05/0.4869, allocations: 0 / 1.019 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001063/0.487, allocations: 15.81 kB / 1.019 GB, free: 0.7617 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.48e-05/0.4871, allocations: 11.88 kB / 1.019 GB, free: 0.75 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001481/0.4872, allocations: 31.91 kB / 1.019 GB, free: 0.7188 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001008/0.4874, allocations: 71.84 kB / 1.019 GB, free: 0.6484 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.4875, allocations: 31.95 kB / 1.019 GB, free: 0.6172 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 7.842e-05/0.4876, allocations: 39.73 kB / 1.019 GB, free: 0.5781 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.501e-05/0.4876, allocations: 27.86 kB / 1.019 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.702e-05/0.4877, allocations: 8 kB / 1.019 GB, free: 0.543 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.399e-05/0.4877, allocations: 8 kB / 1.019 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.062e-05/0.4877, allocations: 15.92 kB / 1.019 GB, free: 0.5195 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.86e-05/0.4877, allocations: 35.78 kB / 1.019 GB, free: 496 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001022/0.4878, allocations: 70.02 kB / 1.019 GB, free: 428 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.257e-06/0.4879, allocations: 0 / 1.019 GB, free: 428 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.202e-06/0.4879, allocations: 0 / 1.019 GB, free: 428 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.4879, allocations: 0 / 1.019 GB, free: 428 kB / 0.7637 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.0004838/0.4884, allocations: 395.2 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.4884, allocations: 8.031 kB / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.092e-05/0.4884, allocations: 38.69 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.886e-05/0.4885, allocations: 12.75 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001689/0.4886, allocations: 198 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.4887, allocations: 4.375 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.197e-05/0.4887, allocations: 4.375 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001396/0.4888, allocations: 62.23 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.4888, allocations: 3.938 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.4889, allocations: 4 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.4889, allocations: 7.938 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001025/0.489, allocations: 31.92 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004221/0.4894, allocations: 320.7 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001527/0.4896, allocations: 54.66 kB / 1.021 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.002e-05/0.4896, allocations: 16.94 kB / 1.021 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.387e-05/0.4896, allocations: 4 kB / 1.021 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/0.4897, allocations: 30.56 kB / 1.021 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.533e-06/0.4897, allocations: 0 / 1.021 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.000229/0.4899, allocations: 73.77 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.893e-05/0.4899, allocations: 63.33 kB / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.609e-05/0.49, allocations: 135.9 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.334e-05/0.4901, allocations: 25.7 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.828e-05/0.4901, allocations: 96.05 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.478e-05/0.4901, allocations: 7.891 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.333e-05/0.4902, allocations: 17.72 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.04e-05/0.4903, allocations: 326.8 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.454e-05/0.4903, allocations: 19.94 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.495e-05/0.4904, allocations: 19.97 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.72e-05/0.4905, allocations: 24.84 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.4905, allocations: 0 / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001298/0.4906, allocations: 69.58 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.4906, allocations: 4 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.4906, allocations: 3.938 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.4907, allocations: 4 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.767e-05/0.4907, allocations: 4 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.4907, allocations: 4 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.351e-05/0.4908, allocations: 11.92 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/0.4908, allocations: 7.938 kB / 1.021 GB, free: 14.11 MB / 0.7794 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 6.876e-05/0.4909, allocations: 109.8 kB / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.032e-05/0.4909, allocations: 15.89 kB / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.486e-05/0.491, allocations: 8.25 kB / 1.022 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.491, allocations: 4 kB / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.491, allocations: 0 / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.491, allocations: 0 / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001581/0.4912, allocations: 185.6 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.4912, allocations: 0 / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.17e-05/0.4912, allocations: 11.92 kB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.4912, allocations: 0 / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.4912, allocations: 0 / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.4912, allocations: 4 kB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.4912, allocations: 0 / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001568/0.4914, allocations: 167.4 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.204e-05/0.4914, allocations: 81.02 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.875e-05/0.4915, allocations: 4 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.4916, allocations: 11.98 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.292e-05/0.4916, allocations: 7.984 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-06/0.4916, allocations: 0 / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.92e-05/0.4917, allocations: 107.2 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4917, allocations: 4 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002219/0.4919, allocations: 15.91 kB / 1.022 GB, free: 13.29 MB / 0.7794 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.0003958/0.4923, allocations: 0.689 MB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001345/0.4925, allocations: 32.22 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.4925, allocations: 4 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.519e-05/0.4926, allocations: 24.06 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002678/0.4928, allocations: 17.33 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0012/0.494, allocations: 1.378 MB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001933/0.4942, allocations: 0.6885 MB / 1.025 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.155e-05/0.4943, allocations: 4 kB / 1.025 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.265e-05/0.4944, allocations: 27.42 kB / 1.025 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.4944, allocations: 0 / 1.025 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01701/0.5114, allocations: 1.943 MB / 1.027 GB, free: 8.434 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.759/7.27, allocations: 10.52 kB / 1.027 GB, free: 8.426 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches