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) 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 11.1.0-maint.11.x/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004751/0.004751, allocations: 104 kB / 15.74 MB, free: 6.02 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.001286/0.001286, allocations: 193.2 kB / 16.67 MB, free: 5.938 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.401/1.401, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.714/2.714, allocations: 469.8 MB / 0.7425 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002851/0.002851, allocations: 67.91 kB / 1.065 GB, free: 14 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7258/0.7286, allocations: 159.1 MB / 1.22 GB, free: 2.027 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.001888/0.7306, allocations: 0.8208 MB / 1.221 GB, free: 1.207 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001051/0.7316, allocations: 0.8741 MB / 1.222 GB, free: 328 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.604e-05/0.7317, allocations: 4 kB / 1.222 GB, free: 324 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.000114/0.7318, allocations: 11.86 kB / 1.222 GB, free: 312 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.441e-05/0.7319, allocations: 11.88 kB / 1.222 GB, free: 300 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001599/0.732, allocations: 27.89 kB / 1.222 GB, free: 272 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001183/0.7322, allocations: 75.78 kB / 1.222 GB, free: 196 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001341/0.7323, allocations: 31.98 kB / 1.222 GB, free: 164 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.428e-05/0.7324, allocations: 31.8 kB / 1.222 GB, free: 132 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.76e-05/0.7325, allocations: 35.83 kB / 1.222 GB, free: 96 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.99e-05/0.7325, allocations: 4 kB / 1.222 GB, free: 92 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.569e-05/0.7325, allocations: 12 kB / 1.222 GB, free: 80 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.242e-05/0.7326, allocations: 11.94 kB / 1.222 GB, free: 68 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.159e-05/0.7326, allocations: 31.8 kB / 1.222 GB, free: 36 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001394/0.7328, allocations: 75.39 kB / 1.222 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.7328, allocations: 0 / 1.222 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.213e-06/0.7328, allocations: 4 kB / 1.222 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.85e-06/0.7328, allocations: 0 / 1.222 GB, free: 15.96 MB / 0.9512 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.0005543/0.7334, allocations: 387 kB / 1.223 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.7334, allocations: 8.031 kB / 1.223 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.838e-05/0.7335, allocations: 50.73 kB / 1.223 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.818e-05/0.7335, allocations: 8.891 kB / 1.223 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000254/0.7337, allocations: 200.1 kB / 1.223 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.7338, allocations: 4.375 kB / 1.223 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.36e-05/0.7338, allocations: 8.312 kB / 1.223 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001485/0.7339, allocations: 62.17 kB / 1.223 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.734, allocations: 3.938 kB / 1.223 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.734, allocations: 8 kB / 1.223 GB, free: 15.13 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.464e-05/0.734, allocations: 4 kB / 1.223 GB, free: 15.13 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001145/0.7341, allocations: 35.91 kB / 1.223 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004859/0.7346, allocations: 316.7 kB / 1.223 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001623/0.7348, allocations: 54.58 kB / 1.223 GB, free: 14.67 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.36e-05/0.7348, allocations: 21 kB / 1.223 GB, free: 14.65 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.605e-05/0.7349, allocations: 0 / 1.223 GB, free: 14.65 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/0.7349, allocations: 34.56 kB / 1.223 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 8.41e-07/0.7349, allocations: 0 / 1.223 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.000251/0.7352, allocations: 69.61 kB / 1.223 GB, free: 14.53 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.849e-05/0.7352, allocations: 51.41 kB / 1.223 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/0.7353, allocations: 143.5 kB / 1.224 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.974e-05/0.7354, allocations: 29.7 kB / 1.224 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.162e-05/0.7354, allocations: 96.12 kB / 1.224 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.353e-05/0.7355, allocations: 3.953 kB / 1.224 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.854e-05/0.7355, allocations: 17.72 kB / 1.224 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.7357, allocations: 326.8 kB / 1.224 GB, free: 13.83 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.674e-05/0.7357, allocations: 15.98 kB / 1.224 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.845e-05/0.7358, allocations: 16 kB / 1.224 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.657e-05/0.7359, allocations: 24.84 kB / 1.224 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.7359, allocations: 3.984 kB / 1.224 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001542/0.736, allocations: 69.86 kB / 1.224 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.7361, allocations: 4 kB / 1.224 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.7361, allocations: 0 / 1.224 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.7361, allocations: 4.031 kB / 1.224 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.269e-05/0.7362, allocations: 7.984 kB / 1.224 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.7362, allocations: 0 / 1.224 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.061e-05/0.7362, allocations: 19.92 kB / 1.224 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.114e-05/0.7363, allocations: 3.938 kB / 1.224 GB, free: 13.66 MB / 0.9512 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 8.907e-05/0.7364, allocations: 113.8 kB / 1.224 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.24e-05/0.7364, allocations: 7.953 kB / 1.224 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.852e-05/0.7364, allocations: 8.25 kB / 1.224 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.7365, allocations: 4 kB / 1.224 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.7365, allocations: 3.938 kB / 1.224 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.7365, allocations: 3.984 kB / 1.224 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000205/0.7367, allocations: 185.6 kB / 1.225 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.7367, allocations: 3.938 kB / 1.225 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.118e-05/0.7367, allocations: 4 kB / 1.225 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.7367, allocations: 0 / 1.225 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.798e-06/0.7368, allocations: 4 kB / 1.225 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.7368, allocations: 0 / 1.225 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.7368, allocations: 0 / 1.225 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000199/0.737, allocations: 167.4 kB / 1.225 GB, free: 13.08 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.303e-05/0.737, allocations: 89.05 kB / 1.225 GB, free: 12.97 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.929e-05/0.7371, allocations: 4 kB / 1.225 GB, free: 12.97 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.7372, allocations: 11.98 kB / 1.225 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.544e-05/0.7372, allocations: 7.984 kB / 1.225 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.599e-06/0.7372, allocations: 0 / 1.225 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 7.536e-05/0.7373, allocations: 109.5 kB / 1.225 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7373, allocations: 4 kB / 1.225 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002261/0.7376, allocations: 4 kB / 1.225 GB, free: 12.84 MB / 0.9512 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.0005381/0.7381, allocations: 0.7012 MB / 1.226 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001465/0.7383, allocations: 35.97 kB / 1.226 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.614e-06/0.7383, allocations: 0 / 1.226 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 6.075e-05/0.7383, allocations: 19.98 kB / 1.226 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002621/0.7386, allocations: 8 kB / 1.226 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001511/0.7401, allocations: 1.389 MB / 1.227 GB, free: 10.58 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003278/0.7405, allocations: 0.6885 MB / 1.228 GB, free: 9.867 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 4.214e-05/0.7405, allocations: 11.98 kB / 1.228 GB, free: 9.855 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.497e-05/0.7406, allocations: 23.42 kB / 1.228 GB, free: 9.832 MB / 0.9512 GB Notification: Performance of SimCode: time 2.5e-07/0.7406, allocations: 0 / 1.228 GB, free: 9.832 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02276/0.7633, allocations: 1.989 MB / 1.23 GB, free: 7.941 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.845/8.609, allocations: 14.7 kB / 1.23 GB, free: 7.93 MB / 0.9512 GB (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 50 --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) 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) Reference file matches