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.006514/0.006514, allocations: 100.2 kB / 15.73 MB, free: 6.012 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.001769/0.001769, allocations: 195.1 kB / 16.67 MB, free: 5.926 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.292/1.292, 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.453/2.453, allocations: 469.8 MB / 0.7425 GB, free: 3.297 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001739/0.001739, allocations: 71.89 kB / 1.065 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5963/0.598, allocations: 159.1 MB / 1.22 GB, free: 1.977 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.001688/0.5997, allocations: 0.8078 MB / 1.221 GB, free: 1.172 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0009048/0.6006, allocations: 0.8702 MB / 1.222 GB, free: 296 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.58e-05/0.6007, allocations: 0 / 1.222 GB, free: 296 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001046/0.6008, allocations: 23.81 kB / 1.222 GB, free: 272 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.354e-05/0.6009, allocations: 15.84 kB / 1.222 GB, free: 256 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001258/0.601, allocations: 19.98 kB / 1.222 GB, free: 236 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001093/0.6011, allocations: 79.7 kB / 1.222 GB, free: 156 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.6012, allocations: 31.98 kB / 1.222 GB, free: 124 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.468e-05/0.6013, allocations: 35.84 kB / 1.222 GB, free: 88 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.396e-05/0.6014, allocations: 23.86 kB / 1.222 GB, free: 64 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.049e-05/0.6014, allocations: 8 kB / 1.222 GB, free: 56 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.197e-05/0.6014, allocations: 4 kB / 1.222 GB, free: 52 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.1e-05/0.6015, allocations: 15.92 kB / 1.222 GB, free: 36 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.481e-05/0.6015, allocations: 27.81 kB / 1.222 GB, free: 8 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001241/0.6016, allocations: 78.34 kB / 1.222 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.6016, allocations: 4 kB / 1.222 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.142e-06/0.6016, allocations: 0 / 1.222 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.6017, allocations: 0 / 1.222 GB, free: 15.93 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.0004947/0.6021, allocations: 396 kB / 1.223 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.164e-05/0.6022, allocations: 12.03 kB / 1.223 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.576e-05/0.6022, allocations: 30.75 kB / 1.223 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.497e-05/0.6023, allocations: 8.891 kB / 1.223 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002181/0.6025, allocations: 212.2 kB / 1.223 GB, free: 15.19 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.6025, allocations: 8.375 kB / 1.223 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.115e-05/0.6025, allocations: 4.375 kB / 1.223 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001398/0.6027, allocations: 70.11 kB / 1.223 GB, free: 15.1 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.6027, allocations: 3.938 kB / 1.223 GB, free: 15.1 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-06/0.6027, allocations: 0 / 1.223 GB, free: 15.1 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.6027, allocations: 0 / 1.223 GB, free: 15.1 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.984e-05/0.6028, allocations: 35.97 kB / 1.223 GB, free: 15.06 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004305/0.6032, allocations: 320.7 kB / 1.223 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001443/0.6034, allocations: 50.48 kB / 1.223 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.728e-05/0.6034, allocations: 16.92 kB / 1.223 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.437e-05/0.6035, allocations: 0 / 1.223 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/0.6035, allocations: 42.59 kB / 1.223 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 8.22e-07/0.6035, allocations: 0 / 1.223 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0002195/0.6037, allocations: 69.75 kB / 1.223 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.915e-05/0.6038, allocations: 55.41 kB / 1.223 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.6039, allocations: 135.5 kB / 1.224 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.6039, allocations: 25.7 kB / 1.224 GB, free: 14.26 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.885e-05/0.604, allocations: 96.12 kB / 1.224 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.511e-05/0.604, allocations: 15.95 kB / 1.224 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.245e-05/0.604, allocations: 13.72 kB / 1.224 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.6042, allocations: 322.8 kB / 1.224 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.826e-05/0.6042, allocations: 12 kB / 1.224 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.133e-05/0.6043, allocations: 15.98 kB / 1.224 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.574e-05/0.6043, allocations: 36.78 kB / 1.224 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.6044, allocations: 0 / 1.224 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001286/0.6045, allocations: 69.62 kB / 1.224 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.6045, allocations: 8 kB / 1.224 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-06/0.6045, allocations: 0 / 1.224 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.797e-06/0.6045, allocations: 0 / 1.224 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.322e-05/0.6046, allocations: 4.328 kB / 1.224 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.6046, allocations: 0 / 1.224 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.992e-05/0.6047, allocations: 11.92 kB / 1.224 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.749e-06/0.6047, allocations: 7.938 kB / 1.224 GB, free: 13.63 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.766e-05/0.6048, allocations: 125.8 kB / 1.224 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.422e-05/0.6048, allocations: 3.953 kB / 1.224 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.354e-05/0.6048, allocations: 16.23 kB / 1.224 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.6048, allocations: 0 / 1.224 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.6049, allocations: 0 / 1.224 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.6049, allocations: 3.938 kB / 1.224 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001776/0.605, allocations: 181.6 kB / 1.225 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.6051, allocations: 4 kB / 1.225 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.678e-05/0.6051, allocations: 3.984 kB / 1.225 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.6051, allocations: 0 / 1.225 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.6051, allocations: 8 kB / 1.225 GB, free: 13.22 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.6051, allocations: 0 / 1.225 GB, free: 13.22 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.6051, allocations: 4 kB / 1.225 GB, free: 13.22 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001657/0.6053, allocations: 159.4 kB / 1.225 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.683e-05/0.6054, allocations: 81.06 kB / 1.225 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.685e-05/0.6054, allocations: 4 kB / 1.225 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.364e-05/0.6055, allocations: 7.984 kB / 1.225 GB, free: 12.94 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.236e-05/0.6055, allocations: 23.86 kB / 1.225 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.6055, allocations: 0 / 1.225 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 7.079e-05/0.6056, allocations: 117.1 kB / 1.225 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1e-07/0.6056, allocations: 0 / 1.225 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002054/0.6058, allocations: 8 kB / 1.225 GB, free: 12.79 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.0004538/0.6063, allocations: 0.6895 MB / 1.226 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001424/0.6064, allocations: 35.92 kB / 1.226 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.6064, allocations: 4 kB / 1.226 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 5.06e-05/0.6065, allocations: 15.98 kB / 1.226 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002261/0.6067, allocations: 11.98 kB / 1.226 GB, free: 12.01 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001284/0.608, allocations: 1.389 MB / 1.227 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002752/0.6083, allocations: 0.6962 MB / 1.228 GB, free: 9.824 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.184e-05/0.6083, allocations: 4.312 kB / 1.228 GB, free: 9.82 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.828e-05/0.6084, allocations: 27.42 kB / 1.228 GB, free: 9.793 MB / 0.9512 GB Notification: Performance of SimCode: time 2.3e-07/0.6084, allocations: 0 / 1.228 GB, free: 9.793 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.587/3.195, allocations: 1.984 MB / 1.23 GB, free: 7.91 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.63/15.82, allocations: 19.64 kB / 1.23 GB, free: 7.895 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 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.mat","/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