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.001276/0.001276, 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.001304/0.001304, allocations: 193.4 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.295/1.295, allocations: 222.9 MB / 240.2 MB, free: 4.414 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.423/2.423, allocations: 437 MB / 0.7104 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.00133, allocations: 71.89 kB / 0.8694 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5117/0.513, allocations: 151.6 MB / 1.017 GB, free: 2.473 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.001904/0.5149, allocations: 0.8615 MB / 1.018 GB, free: 1.609 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009108/0.5159, allocations: 0.8896 MB / 1.019 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.382e-05/0.516, allocations: 4 kB / 1.019 GB, free: 0.7031 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001048/0.5161, allocations: 15.81 kB / 1.019 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.717e-05/0.5161, allocations: 11.86 kB / 1.019 GB, free: 0.6758 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000154/0.5163, allocations: 39.89 kB / 1.019 GB, free: 0.6367 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001199/0.5164, allocations: 99.77 kB / 1.019 GB, free: 0.5391 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.5166, allocations: 47.97 kB / 1.019 GB, free: 0.4922 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 9.979e-05/0.5167, allocations: 51.77 kB / 1.019 GB, free: 452 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.825e-05/0.5167, allocations: 35.84 kB / 1.019 GB, free: 416 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.191e-05/0.5168, allocations: 8 kB / 1.019 GB, free: 408 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.43e-05/0.5168, allocations: 4 kB / 1.019 GB, free: 404 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.325e-05/0.5168, allocations: 19.92 kB / 1.019 GB, free: 384 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.456e-05/0.5169, allocations: 43.73 kB / 1.02 GB, free: 340 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001128/0.517, allocations: 97.89 kB / 1.02 GB, free: 244 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.517, allocations: 0 / 1.02 GB, free: 244 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.433e-06/0.517, allocations: 0 / 1.02 GB, free: 244 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.517, allocations: 4 kB / 1.02 GB, free: 240 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.000564/0.5176, allocations: 411.7 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.142e-05/0.5176, allocations: 12.03 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.815e-05/0.5177, allocations: 38.73 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.114e-05/0.5177, allocations: 12.84 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001778/0.5179, allocations: 204 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.558e-06/0.5179, allocations: 8.312 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.473e-05/0.5179, allocations: 8.375 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002278/0.5181, allocations: 94.2 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.5182, allocations: 3.938 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.5182, allocations: 4 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.5182, allocations: 0 / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002374/0.5184, allocations: 75.86 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004584/0.5189, allocations: 348.7 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002171/0.5191, allocations: 66.47 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001212/0.5193, allocations: 40.92 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.546e-05/0.5193, allocations: 0 / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.958e-05/0.5193, allocations: 30.56 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 9.61e-07/0.5193, allocations: 4 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0004242/0.5197, allocations: 117.5 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.24e-05/0.5198, allocations: 55.41 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.988e-05/0.5199, allocations: 139.5 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/0.5199, allocations: 25.7 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.331e-05/0.52, allocations: 104 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.894e-05/0.52, allocations: 15.81 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.733e-05/0.52, allocations: 17.72 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.644e-05/0.5201, allocations: 318.8 kB / 1.022 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001197/0.5202, allocations: 31.97 kB / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001117/0.5204, allocations: 31.97 kB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002063/0.5206, allocations: 56.81 kB / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.5206, allocations: 0 / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002622/0.5208, allocations: 101.5 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.5209, allocations: 8 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.5209, allocations: 0 / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.5209, allocations: 0 / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.981e-05/0.521, allocations: 11.98 kB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.351e-06/0.521, allocations: 3.938 kB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.5211, allocations: 11.98 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.5211, allocations: 4 kB / 1.022 GB, free: 13.63 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 (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 8.482e-05/0.5212, allocations: 129.7 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.107e-05/0.5213, allocations: 11.91 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.797e-05/0.5213, allocations: 8.25 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-06/0.5213, allocations: 3.938 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.5213, allocations: 4.125 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.5213, allocations: 4 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000169/0.5215, allocations: 193.6 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.5215, allocations: 0 / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.198e-05/0.5216, allocations: 11.98 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.5216, allocations: 4 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-06/0.5216, allocations: 0 / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.5216, allocations: 0 / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.5216, allocations: 7.875 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002818/0.5219, allocations: 187.4 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.605e-05/0.522, allocations: 81.11 kB / 1.023 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.971e-05/0.522, allocations: 4 kB / 1.023 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001332/0.5221, allocations: 19.97 kB / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.343e-05/0.5222, allocations: 11.92 kB / 1.023 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/0.5222, allocations: 4 kB / 1.023 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.459e-05/0.5222, allocations: 104.6 kB / 1.023 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5222, allocations: 0 / 1.023 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002256/0.5225, allocations: 12 kB / 1.023 GB, free: 12.75 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 (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.0005423/0.523, allocations: 0.7321 MB / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002648/0.5233, allocations: 67.94 kB / 1.023 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.5233, allocations: 4 kB / 1.023 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001186/0.5234, allocations: 35.91 kB / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002757/0.5237, allocations: 15.39 kB / 1.024 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001561/0.5253, allocations: 1.467 MB / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002024/0.5255, allocations: 0.6963 MB / 1.026 GB, free: 9.602 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.249e-05/0.5256, allocations: 3.984 kB / 1.026 GB, free: 9.598 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.402e-05/0.5256, allocations: 23.44 kB / 1.026 GB, free: 9.574 MB / 0.7794 GB Notification: Performance of SimCode: time 3.2e-07/0.5256, allocations: 0 / 1.026 GB, free: 9.574 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01723/0.5429, allocations: 2.158 MB / 1.028 GB, free: 7.488 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.723/7.266, allocations: 12.11 kB / 1.028 GB, free: 7.48 MB / 0.7794 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