Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less.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.Less,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Less,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Less",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.008337/0.008337, allocations: 101 kB / 15.73 MB, free: 6.059 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.002511/0.002511, allocations: 192.3 kB / 16.67 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.575/2.575, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 4.256/4.256, allocations: 437 MB / 0.7105 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002971/0.002972, allocations: 63.91 kB / 1.018 GB, free: 9.879 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.08/1.083, allocations: 151.6 MB / 1.166 GB, free: 3.934 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.003065/1.086, allocations: 0.8654 MB / 1.167 GB, free: 3.078 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001862/1.088, allocations: 0.8935 MB / 1.168 GB, free: 2.172 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001137/1.088, allocations: 3.938 kB / 1.168 GB, free: 2.168 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001689/1.089, allocations: 15.86 kB / 1.168 GB, free: 2.152 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.5e-05/1.089, allocations: 15.81 kB / 1.168 GB, free: 2.137 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002376/1.089, allocations: 39.95 kB / 1.168 GB, free: 2.098 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002196/1.089, allocations: 99.7 kB / 1.168 GB, free: 2 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000212/1.089, allocations: 47.97 kB / 1.168 GB, free: 1.953 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001441/1.089, allocations: 39.84 kB / 1.168 GB, free: 1.914 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001118/1.09, allocations: 39.78 kB / 1.168 GB, free: 1.875 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.097e-05/1.09, allocations: 8 kB / 1.168 GB, free: 1.867 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 2.763e-05/1.09, allocations: 8 kB / 1.168 GB, free: 1.859 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.102e-05/1.09, allocations: 23.91 kB / 1.168 GB, free: 1.836 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 7.533e-05/1.09, allocations: 35.8 kB / 1.168 GB, free: 1.801 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002219/1.09, allocations: 99.72 kB / 1.168 GB, free: 1.707 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/1.09, allocations: 3.938 kB / 1.168 GB, free: 1.703 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.342e-06/1.09, allocations: 0 / 1.168 GB, free: 1.703 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.089e-06/1.09, allocations: 0 / 1.168 GB, free: 1.703 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0009416/1.091, allocations: 415 kB / 1.169 GB, free: 1.246 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/1.091, allocations: 12.92 kB / 1.169 GB, free: 1.234 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.445e-05/1.091, allocations: 38.73 kB / 1.169 GB, free: 1.188 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.892e-05/1.091, allocations: 12.89 kB / 1.169 GB, free: 1.176 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003574/1.092, allocations: 204.1 kB / 1.169 GB, free: 0.9375 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/1.092, allocations: 8.375 kB / 1.169 GB, free: 0.9297 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.677e-05/1.092, allocations: 4.375 kB / 1.169 GB, free: 0.9258 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000381/1.092, allocations: 90.2 kB / 1.169 GB, free: 0.832 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/1.092, allocations: 7.938 kB / 1.169 GB, free: 0.8242 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.993e-05/1.092, allocations: 4 kB / 1.169 GB, free: 0.8203 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/1.092, allocations: 0 / 1.169 GB, free: 0.8203 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004247/1.093, allocations: 67.94 kB / 1.169 GB, free: 0.7539 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008065/1.093, allocations: 348.5 kB / 1.17 GB, free: 372 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003922/1.094, allocations: 78.47 kB / 1.17 GB, free: 284 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002011/1.094, allocations: 32.92 kB / 1.17 GB, free: 248 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.916e-05/1.094, allocations: 0 / 1.17 GB, free: 248 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.263e-05/1.094, allocations: 30.56 kB / 1.17 GB, free: 208 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 1.533e-06/1.094, allocations: 0 / 1.17 GB, free: 208 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4): time 0.0007761/1.095, allocations: 129.5 kB / 1.17 GB, free: 72 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.434e-05/1.095, allocations: 51.41 kB / 1.17 GB, free: 8 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002172/1.095, allocations: 144.2 kB / 1.17 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.437e-05/1.095, allocations: 29.7 kB / 1.17 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 9.947e-05/1.095, allocations: 104 kB / 1.17 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.696e-05/1.095, allocations: 11.95 kB / 1.17 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.121e-05/1.095, allocations: 17.7 kB / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002157/1.096, allocations: 318.8 kB / 1.17 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002149/1.096, allocations: 31.97 kB / 1.17 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002029/1.096, allocations: 27.97 kB / 1.171 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003684/1.097, allocations: 56.81 kB / 1.171 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/1.097, allocations: 0 / 1.171 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0004873/1.097, allocations: 101.8 kB / 1.171 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/1.097, allocations: 8 kB / 1.171 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/1.097, allocations: 4 kB / 1.171 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.114e-05/1.097, allocations: 7.875 kB / 1.171 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001693/1.097, allocations: 11.98 kB / 1.171 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/1.097, allocations: 7.938 kB / 1.171 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001779/1.098, allocations: 19.92 kB / 1.171 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.31e-05/1.098, allocations: 0 / 1.171 GB, free: 15.08 MB / 0.9044 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 (5): * Single equations (assignments): 5 * 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.0001408/1.098, allocations: 117.8 kB / 1.171 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.96e-05/1.098, allocations: 0 / 1.171 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.086e-05/1.098, allocations: 12.25 kB / 1.171 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/1.098, allocations: 0 / 1.171 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/1.098, allocations: 7.938 kB / 1.171 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/1.098, allocations: 3.984 kB / 1.171 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003724/1.098, allocations: 189.6 kB / 1.171 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/1.098, allocations: 0 / 1.171 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001374/1.098, allocations: 11.98 kB / 1.171 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/1.098, allocations: 0 / 1.171 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.603e-05/1.098, allocations: 7.984 kB / 1.171 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/1.098, allocations: 0 / 1.171 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/1.099, allocations: 3.938 kB / 1.171 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005108/1.099, allocations: 191.4 kB / 1.171 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 7.792e-05/1.099, allocations: 81.11 kB / 1.171 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.025e-05/1.099, allocations: 0 / 1.171 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002441/1.099, allocations: 19.91 kB / 1.171 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.918e-05/1.1, allocations: 15.92 kB / 1.171 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.271e-05/1.1, allocations: 4 kB / 1.171 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001251/1.1, allocations: 103.3 kB / 1.171 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.1e-07/1.1, allocations: 0 / 1.171 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004835/1.1, allocations: 19.89 kB / 1.171 GB, free: 14.2 MB / 0.9044 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 (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 Backend phase and start with SimCode phase: time 0.001077/1.101, allocations: 0.7241 MB / 1.172 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005015/1.102, allocations: 64.06 kB / 1.172 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/1.102, allocations: 4 kB / 1.172 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002348/1.102, allocations: 35.97 kB / 1.172 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000509/1.103, allocations: 22.55 kB / 1.172 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003063/1.106, allocations: 1.477 MB / 1.174 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004804/1.106, allocations: 0.6963 MB / 1.174 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 8.191e-05/1.106, allocations: 15.91 kB / 1.174 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.917e-05/1.106, allocations: 23.44 kB / 1.174 GB, free: 11.01 MB / 0.9044 GB Notification: Performance of SimCode: time 4.51e-07/1.106, allocations: 4 kB / 1.174 GB, free: 11.01 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03348/1.14, allocations: 2.182 MB / 1.177 GB, free: 8.914 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.05/13.19, allocations: 2.25 kB / 1.177 GB, free: 8.914 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less_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_Less.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Less.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches