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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001577/0.001577, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001514/0.001514, allocations: 194.1 kB / 16.14 MB, free: 6.691 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.27/1.27, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.344/2.344, allocations: 437 MB / 0.71 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 67.91 kB / 0.8687 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5846/0.5858, allocations: 151.6 MB / 1.017 GB, free: 2.812 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.001962/0.5878, allocations: 0.8874 MB / 1.018 GB, free: 1.926 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009134/0.5887, allocations: 0.8701 MB / 1.018 GB, free: 1.043 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.75e-05/0.5889, allocations: 3.938 kB / 1.018 GB, free: 1.039 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001393/0.589, allocations: 7.938 kB / 1.018 GB, free: 1.031 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.584e-05/0.5891, allocations: 11.88 kB / 1.018 GB, free: 1.02 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001663/0.5892, allocations: 23.98 kB / 1.019 GB, free: 0.9961 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001402/0.5894, allocations: 67.84 kB / 1.019 GB, free: 0.9297 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001334/0.5895, allocations: 35.86 kB / 1.019 GB, free: 0.8945 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001035/0.5896, allocations: 31.8 kB / 1.019 GB, free: 0.8633 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 9.353e-05/0.5897, allocations: 31.84 kB / 1.019 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.676e-05/0.5898, allocations: 4 kB / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 2.094e-05/0.5898, allocations: 4 kB / 1.019 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.32e-05/0.5898, allocations: 11.92 kB / 1.019 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.264e-05/0.5899, allocations: 27.8 kB / 1.019 GB, free: 0.7852 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001057/0.59, allocations: 77.98 kB / 1.019 GB, free: 0.7109 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.217e-06/0.59, allocations: 0 / 1.019 GB, free: 0.7109 MB / 0.7637 GB Notification: Performance of FrontEnd: time 9.52e-07/0.59, allocations: 0 / 1.019 GB, free: 0.7109 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.59, allocations: 0 / 1.019 GB, free: 0.7109 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.0005102/0.5905, allocations: 383.2 kB / 1.019 GB, free: 292 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.5906, allocations: 12.03 kB / 1.019 GB, free: 280 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.023e-05/0.5906, allocations: 46.61 kB / 1.019 GB, free: 224 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.06e-05/0.5907, allocations: 8.844 kB / 1.019 GB, free: 216 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002026/0.5909, allocations: 192.4 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.678e-06/0.5909, allocations: 4.375 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.231e-05/0.5909, allocations: 4.375 kB / 1.019 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001498/0.5911, allocations: 62.23 kB / 1.019 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.5911, allocations: 3.938 kB / 1.019 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.5911, allocations: 7.938 kB / 1.019 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.5911, allocations: 4 kB / 1.019 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001101/0.5912, allocations: 35.91 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004551/0.5917, allocations: 316.5 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001524/0.5918, allocations: 54.56 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.983e-05/0.5919, allocations: 16.92 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.518e-05/0.5919, allocations: 4 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.434e-05/0.592, allocations: 34.56 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.592, allocations: 0 / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0002448/0.5922, allocations: 77.59 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.395e-05/0.5923, allocations: 51.41 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.5924, allocations: 135.7 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.5924, allocations: 29.7 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.595e-05/0.5924, allocations: 104 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.499e-05/0.5925, allocations: 3.906 kB / 1.02 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.511e-05/0.5925, allocations: 21.72 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.5926, allocations: 326.8 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.405e-05/0.5927, allocations: 12 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.245e-05/0.5927, allocations: 15.98 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.571e-05/0.5928, allocations: 24.84 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.5928, allocations: 0 / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001384/0.593, allocations: 73.52 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.593, allocations: 8 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.593, allocations: 0 / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/0.593, allocations: 4 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.534e-05/0.5931, allocations: 0 / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.5931, allocations: 0 / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.04e-05/0.5932, allocations: 15.92 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.355e-06/0.5932, allocations: 3.938 kB / 1.021 GB, free: 14.42 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.712e-05/0.5933, allocations: 122.3 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.812e-05/0.5933, allocations: 11.91 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.68e-05/0.5934, allocations: 12.25 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.5934, allocations: 0 / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.656e-06/0.5934, allocations: 0 / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.5934, allocations: 0 / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001719/0.5936, allocations: 181.6 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.5936, allocations: 7.938 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.279e-05/0.5936, allocations: 7.984 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.5936, allocations: 0 / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.664e-06/0.5936, allocations: 0 / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.5936, allocations: 3.938 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.5936, allocations: 8 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001639/0.5938, allocations: 163.4 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.358e-05/0.5939, allocations: 77.11 kB / 1.021 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.912e-05/0.5939, allocations: 4.375 kB / 1.021 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.594, allocations: 11.98 kB / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.853e-05/0.594, allocations: 7.984 kB / 1.021 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/0.5941, allocations: 4 kB / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.275e-05/0.5941, allocations: 116.3 kB / 1.021 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5941, allocations: 0 / 1.021 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002143/0.5943, allocations: 8 kB / 1.022 GB, free: 13.59 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.0004419/0.5948, allocations: 0.7006 MB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000132/0.5949, allocations: 35.97 kB / 1.022 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.634e-06/0.5949, allocations: 0 / 1.022 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.263e-05/0.595, allocations: 16 kB / 1.022 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003026/0.5953, allocations: 17.58 kB / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00127/0.5966, allocations: 1.38 MB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002345/0.5968, allocations: 0.6926 MB / 1.024 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.119e-05/0.5969, allocations: 0 / 1.024 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.132e-05/0.597, allocations: 23.42 kB / 1.024 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of SimCode: time 2.51e-07/0.597, allocations: 4 kB / 1.024 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01172/0.6087, allocations: 1.737 MB / 1.026 GB, free: 8.961 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002292/0.6089, allocations: 208.5 kB / 1.026 GB, free: 8.707 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.635/2.244, allocations: 0 / 1.026 GB, free: 8.707 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