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.00654/0.00654, allocations: 96.95 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0014/0.0014, allocations: 200.9 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.214/2.214, allocations: 222.9 MB / 240.4 MB, free: 4.316 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 3.687/3.687, allocations: 437 MB / 0.7105 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00338/0.00338, allocations: 67.91 kB / 1.018 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4709/0.4743, allocations: 151.6 MB / 1.166 GB, free: 7.188 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.003381/0.4777, allocations: 0.8232 MB / 1.167 GB, free: 6.363 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002005/0.4798, allocations: 0.8779 MB / 1.168 GB, free: 5.473 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001076/0.4799, allocations: 3.938 kB / 1.168 GB, free: 5.469 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001865/0.4801, allocations: 15.81 kB / 1.168 GB, free: 5.453 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.986e-05/0.4802, allocations: 11.94 kB / 1.168 GB, free: 5.441 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002299/0.4805, allocations: 27.91 kB / 1.168 GB, free: 5.414 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000202/0.4807, allocations: 71.78 kB / 1.168 GB, free: 5.344 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001802/0.4809, allocations: 35.97 kB / 1.168 GB, free: 5.309 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001364/0.481, allocations: 31.8 kB / 1.168 GB, free: 5.277 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001078/0.4812, allocations: 27.84 kB / 1.168 GB, free: 5.25 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.004e-05/0.4812, allocations: 4 kB / 1.168 GB, free: 5.246 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.99e-05/0.4812, allocations: 8 kB / 1.168 GB, free: 5.238 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.428e-05/0.4813, allocations: 11.94 kB / 1.168 GB, free: 5.227 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.76e-05/0.4814, allocations: 31.84 kB / 1.168 GB, free: 5.195 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002082/0.4816, allocations: 79.91 kB / 1.168 GB, free: 5.117 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 8.686e-06/0.4816, allocations: 0 / 1.168 GB, free: 5.117 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.984e-06/0.4816, allocations: 3.938 kB / 1.168 GB, free: 5.113 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.142e-06/0.4817, allocations: 4 kB / 1.168 GB, free: 5.109 MB / 0.92 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.000924/0.4826, allocations: 399 kB / 1.169 GB, free: 4.668 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/0.4827, allocations: 8.031 kB / 1.169 GB, free: 4.66 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.015e-05/0.4827, allocations: 34.75 kB / 1.169 GB, free: 4.617 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.584e-05/0.4828, allocations: 8.891 kB / 1.169 GB, free: 4.609 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004437/0.4833, allocations: 200.2 kB / 1.169 GB, free: 4.375 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.4833, allocations: 8.375 kB / 1.169 GB, free: 4.367 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.243e-05/0.4833, allocations: 384 / 1.169 GB, free: 4.367 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002681/0.4836, allocations: 70.16 kB / 1.169 GB, free: 4.293 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.992e-05/0.4836, allocations: 7.938 kB / 1.169 GB, free: 4.285 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.763e-05/0.4837, allocations: 4 kB / 1.169 GB, free: 4.281 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.4837, allocations: 0 / 1.169 GB, free: 4.281 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002089/0.4839, allocations: 27.98 kB / 1.169 GB, free: 4.254 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008431/0.4848, allocations: 324.7 kB / 1.169 GB, free: 3.887 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002843/0.4851, allocations: 42.55 kB / 1.169 GB, free: 3.836 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001197/0.4852, allocations: 21 kB / 1.169 GB, free: 3.812 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.572e-05/0.4852, allocations: 0 / 1.169 GB, free: 3.812 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.466e-05/0.4853, allocations: 42.56 kB / 1.169 GB, free: 3.762 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.994e-06/0.4853, allocations: 0 / 1.169 GB, free: 3.762 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.000462/0.4858, allocations: 73.66 kB / 1.169 GB, free: 3.684 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.707e-05/0.4859, allocations: 55.34 kB / 1.17 GB, free: 3.617 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002156/0.4861, allocations: 139.5 kB / 1.17 GB, free: 3.473 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.309e-05/0.4861, allocations: 25.7 kB / 1.17 GB, free: 3.441 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/0.4863, allocations: 100.1 kB / 1.17 GB, free: 3.34 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.444e-05/0.4863, allocations: 15.88 kB / 1.17 GB, free: 3.324 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.855e-05/0.4864, allocations: 21.7 kB / 1.17 GB, free: 3.297 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002346/0.4867, allocations: 322.8 kB / 1.17 GB, free: 2.973 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001038/0.4868, allocations: 15.98 kB / 1.17 GB, free: 2.957 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.811e-05/0.4869, allocations: 15.98 kB / 1.17 GB, free: 2.941 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001781/0.4871, allocations: 32.78 kB / 1.17 GB, free: 2.906 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.4871, allocations: 0 / 1.17 GB, free: 2.906 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002942/0.4874, allocations: 65.64 kB / 1.17 GB, free: 2.836 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.4874, allocations: 10.19 kB / 1.17 GB, free: 2.828 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.4875, allocations: 0 / 1.17 GB, free: 2.828 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.541e-05/0.4875, allocations: 3.984 kB / 1.17 GB, free: 2.824 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.432e-05/0.4876, allocations: 4 kB / 1.17 GB, free: 2.82 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.4876, allocations: 0 / 1.17 GB, free: 2.82 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001405/0.4878, allocations: 11.98 kB / 1.17 GB, free: 2.809 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.557e-05/0.4878, allocations: 3.938 kB / 1.17 GB, free: 2.805 MB / 0.92 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 0.0001477/0.488, allocations: 113.8 kB / 1.17 GB, free: 2.684 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.343e-05/0.4881, allocations: 11.95 kB / 1.17 GB, free: 2.672 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.277e-05/0.4881, allocations: 16.23 kB / 1.17 GB, free: 2.648 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.4882, allocations: 0 / 1.17 GB, free: 2.648 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.4882, allocations: 0 / 1.17 GB, free: 2.648 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.4882, allocations: 0 / 1.17 GB, free: 2.648 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003788/0.4886, allocations: 181.6 kB / 1.171 GB, free: 2.422 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.4886, allocations: 3.938 kB / 1.171 GB, free: 2.418 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.926e-05/0.4887, allocations: 4 kB / 1.171 GB, free: 2.414 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.4887, allocations: 0 / 1.171 GB, free: 2.414 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.4887, allocations: 0 / 1.171 GB, free: 2.414 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-05/0.4887, allocations: 7.984 kB / 1.171 GB, free: 2.406 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.4888, allocations: 4 kB / 1.171 GB, free: 2.402 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003362/0.4891, allocations: 159.4 kB / 1.171 GB, free: 2.23 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 9.244e-05/0.4892, allocations: 81.06 kB / 1.171 GB, free: 2.133 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.326e-05/0.4893, allocations: 4.375 kB / 1.171 GB, free: 2.129 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002114/0.4895, allocations: 11.98 kB / 1.171 GB, free: 2.117 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.912e-05/0.4896, allocations: 15.92 kB / 1.171 GB, free: 2.102 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.947e-06/0.4896, allocations: 4 kB / 1.171 GB, free: 2.098 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001381/0.4898, allocations: 107.2 kB / 1.171 GB, free: 1.992 MB / 0.92 GB Notification: Performance of sort global known variables: time 3.51e-07/0.4898, allocations: 0 / 1.171 GB, free: 1.992 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0004709/0.4903, allocations: 8 kB / 1.171 GB, free: 1.984 MB / 0.92 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.0009034/0.4912, allocations: 0.7045 MB / 1.172 GB, free: 1.254 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002812/0.4915, allocations: 31.98 kB / 1.172 GB, free: 1.223 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.4915, allocations: 0 / 1.172 GB, free: 1.223 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001266/0.4916, allocations: 23.92 kB / 1.172 GB, free: 1.199 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000489/0.4921, allocations: 8 kB / 1.172 GB, free: 1.191 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002814/0.495, allocations: 1.377 MB / 1.173 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005113/0.4955, allocations: 0.6924 MB / 1.174 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 7.385e-05/0.4956, allocations: 4 kB / 1.174 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.887e-05/0.4957, allocations: 27.42 kB / 1.174 GB, free: 14.99 MB / 0.9356 GB Notification: Performance of SimCode: time 7.31e-07/0.4957, allocations: 0 / 1.174 GB, free: 14.99 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03637/0.5321, allocations: 1.995 MB / 1.176 GB, free: 13.1 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.34/12.87, allocations: 6.484 kB / 1.176 GB, free: 13.09 MB / 0.9356 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