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.00118/0.00118, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001114/0.001114, allocations: 193.1 kB / 16.25 MB, free: 6.637 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.2/1.2, allocations: 222.9 MB / 239.9 MB, free: 4.531 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.226/2.226, allocations: 437 MB / 0.7101 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001122/0.001122, allocations: 67.89 kB / 0.8689 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4745/0.4757, allocations: 151.6 MB / 1.017 GB, free: 2.691 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.001888/0.4776, allocations: 0.8874 MB / 1.018 GB, free: 1.805 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008749/0.4785, allocations: 0.8663 MB / 1.019 GB, free: 0.9258 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.6e-05/0.4786, allocations: 11.88 kB / 1.019 GB, free: 0.9141 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001058/0.4787, allocations: 3.938 kB / 1.019 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.659e-05/0.4787, allocations: 15.91 kB / 1.019 GB, free: 0.8945 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000138/0.4789, allocations: 27.92 kB / 1.019 GB, free: 0.8672 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001027/0.479, allocations: 71.84 kB / 1.019 GB, free: 0.7969 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.4791, allocations: 31.97 kB / 1.019 GB, free: 0.7656 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 7.674e-05/0.4792, allocations: 31.86 kB / 1.019 GB, free: 0.7344 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.105e-05/0.4793, allocations: 31.78 kB / 1.019 GB, free: 0.7031 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.696e-05/0.4793, allocations: 8 kB / 1.019 GB, free: 0.6953 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.094e-05/0.4793, allocations: 4 kB / 1.019 GB, free: 0.6914 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.942e-05/0.4793, allocations: 15.92 kB / 1.019 GB, free: 0.6758 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.397e-05/0.4794, allocations: 27.81 kB / 1.019 GB, free: 0.6484 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001024/0.4795, allocations: 85.98 kB / 1.019 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.4795, allocations: 0 / 1.019 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.092e-06/0.4795, allocations: 0 / 1.019 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.4795, allocations: 0 / 1.019 GB, free: 0.5664 MB / 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.0004421/0.4799, allocations: 383.1 kB / 1.019 GB, free: 144 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.48, allocations: 12.03 kB / 1.019 GB, free: 132 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.776e-05/0.48, allocations: 34.75 kB / 1.019 GB, free: 88 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.824e-05/0.4801, allocations: 12.75 kB / 1.019 GB, free: 76 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00018/0.4802, allocations: 197.9 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.117e-06/0.4803, allocations: 8.375 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.122e-05/0.4803, allocations: 4.375 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001302/0.4804, allocations: 62.17 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/0.4804, allocations: 3.938 kB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.4804, allocations: 11.92 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-06/0.4804, allocations: 0 / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.526e-05/0.4805, allocations: 31.98 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004118/0.481, allocations: 324.6 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001347/0.4811, allocations: 42.56 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.894e-05/0.4812, allocations: 25.03 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.669e-05/0.4812, allocations: 7.938 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.977e-05/0.4812, allocations: 30.56 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 2.054e-06/0.4812, allocations: 4 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0002185/0.4815, allocations: 69.58 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.955e-05/0.4815, allocations: 51.41 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.225e-05/0.4816, allocations: 135.4 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/0.4816, allocations: 29.7 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.596e-05/0.4817, allocations: 104 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.308e-05/0.4817, allocations: 3.906 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.389e-05/0.4817, allocations: 21.7 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.163e-05/0.4818, allocations: 322.8 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.981e-05/0.4819, allocations: 15.98 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.853e-05/0.4819, allocations: 15.94 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.398e-05/0.482, allocations: 28.83 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.482, allocations: 4 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001193/0.4821, allocations: 65.59 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/0.4822, allocations: 4 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.376e-06/0.4822, allocations: 0 / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.688e-06/0.4822, allocations: 0 / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.012e-05/0.4822, allocations: 7.984 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.018e-06/0.4822, allocations: 0 / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.998e-05/0.4823, allocations: 15.92 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/0.4823, allocations: 8.203 kB / 1.021 GB, free: 14.28 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 7.267e-05/0.4824, allocations: 118.4 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.641e-05/0.4824, allocations: 7.906 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.531e-05/0.4825, allocations: 12.23 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.4825, allocations: 0 / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.4825, allocations: 7.984 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.4825, allocations: 0 / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001574/0.4827, allocations: 185.6 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.4827, allocations: 3.938 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.033e-05/0.4827, allocations: 12 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.4827, allocations: 0 / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/0.4827, allocations: 0 / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.4827, allocations: 0 / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.4827, allocations: 0 / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001527/0.4829, allocations: 163.4 kB / 1.021 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.534e-05/0.4829, allocations: 89 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.849e-05/0.483, allocations: 4 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.461e-05/0.4831, allocations: 15.98 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.012e-05/0.4831, allocations: 7.984 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-06/0.4831, allocations: 3.938 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.774e-05/0.4832, allocations: 104.8 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4832, allocations: 0 / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002127/0.4834, allocations: 11.91 kB / 1.022 GB, free: 13.45 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.0003918/0.4838, allocations: 0.693 MB / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001363/0.484, allocations: 39.91 kB / 1.022 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.484, allocations: 0 / 1.022 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.8e-05/0.484, allocations: 15.98 kB / 1.022 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002546/0.4843, allocations: 9.719 kB / 1.022 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001165/0.4855, allocations: 1.39 MB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001994/0.4857, allocations: 0.6885 MB / 1.024 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.672e-05/0.4857, allocations: 12.31 kB / 1.025 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.65e-05/0.4858, allocations: 23.44 kB / 1.025 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.4858, allocations: 0 / 1.025 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.926/3.412, allocations: 1.787 MB / 1.026 GB, free: 8.785 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000226/3.412, allocations: 216.8 kB / 1.026 GB, free: 8.523 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.513/4.925, allocations: 3.5 kB / 1.026 GB, free: 8.523 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 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.mat","/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