Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 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: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|les.u1|les.u2|les.y|lesHys.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|les.u1|les.u2|les.y|lesHys.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001504/0.001504, allocations: 102.6 kB / 15.98 MB, free: 6.344 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.001467/0.001467, allocations: 199.5 kB / 16.91 MB, free: 6.184 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.335/1.335, allocations: 222.9 MB / 240.6 MB, free: 15.42 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.561/2.561, allocations: 469.8 MB / 0.7427 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001833/0.001833, allocations: 69.73 kB / 0.9087 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.298/0.2998, allocations: 159.1 MB / 1.064 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.00241/0.3023, allocations: 0.9245 MB / 1.065 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001174/0.3035, allocations: 0.8896 MB / 1.066 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.106e-05/0.3036, allocations: 0 / 1.066 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.000121/0.3037, allocations: 11.88 kB / 1.066 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.042e-05/0.3038, allocations: 15.92 kB / 1.066 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001633/0.304, allocations: 27.98 kB / 1.066 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001442/0.3041, allocations: 107.7 kB / 1.066 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000142/0.3043, allocations: 47.97 kB / 1.066 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001104/0.3044, allocations: 39.78 kB / 1.066 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.514e-05/0.3045, allocations: 39.83 kB / 1.066 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.01e-05/0.3045, allocations: 8 kB / 1.066 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.977e-05/0.3045, allocations: 11.94 kB / 1.066 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.51e-05/0.3046, allocations: 19.92 kB / 1.066 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.775e-05/0.3046, allocations: 39.73 kB / 1.066 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.000116/0.3047, allocations: 79.84 kB / 1.066 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.3047, allocations: 0 / 1.066 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of FrontEnd: time 9.52e-07/0.3047, allocations: 0 / 1.066 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.496e-06/0.3048, allocations: 0 / 1.066 GB, free: 12.84 MB / 0.8419 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.0006431/0.3054, allocations: 411.4 kB / 1.067 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.3054, allocations: 8.031 kB / 1.067 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.937e-05/0.3055, allocations: 8.844 kB / 1.067 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002488/0.3058, allocations: 208 kB / 1.067 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.3058, allocations: 4.375 kB / 1.067 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.633e-05/0.3058, allocations: 8.375 kB / 1.067 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002488/0.306, allocations: 86.2 kB / 1.067 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.3061, allocations: 192 / 1.067 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.3061, allocations: 3.938 kB / 1.067 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.3061, allocations: 4 kB / 1.067 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002401/0.3063, allocations: 71.94 kB / 1.067 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005724/0.3069, allocations: 352.5 kB / 1.067 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002346/0.3072, allocations: 70.53 kB / 1.068 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001175/0.3073, allocations: 36.88 kB / 1.068 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.504e-05/0.3073, allocations: 0 / 1.068 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.818e-05/0.3074, allocations: 34.55 kB / 1.068 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=4): time 7.41e-07/0.3074, allocations: 0 / 1.068 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4): time 0.0004624/0.3078, allocations: 117.5 kB / 1.068 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.325e-05/0.3079, allocations: 55.39 kB / 1.068 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001229/0.308, allocations: 140 kB / 1.068 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.621e-05/0.308, allocations: 33.7 kB / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.222e-05/0.3081, allocations: 99.95 kB / 1.068 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.107e-05/0.3081, allocations: 11.83 kB / 1.068 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.467e-05/0.3082, allocations: 21.72 kB / 1.068 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.3083, allocations: 322.8 kB / 1.068 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001197/0.3085, allocations: 31.91 kB / 1.068 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001022/0.3086, allocations: 27.98 kB / 1.068 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002084/0.3088, allocations: 64.92 kB / 1.068 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.3088, allocations: 0 / 1.068 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002564/0.3091, allocations: 93.56 kB / 1.069 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.3091, allocations: 7.984 kB / 1.069 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.3091, allocations: 0 / 1.069 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.3091, allocations: 4 kB / 1.069 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.3092, allocations: 11.98 kB / 1.069 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.727e-06/0.3093, allocations: 7.875 kB / 1.069 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.905e-05/0.3094, allocations: 19.92 kB / 1.069 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.3094, allocations: 4 kB / 1.069 GB, free: 10.28 MB / 0.8419 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 9.936e-05/0.3095, allocations: 116 kB / 1.069 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.969e-05/0.3095, allocations: 11.89 kB / 1.069 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.33e-05/0.3096, allocations: 12.44 kB / 1.069 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.3096, allocations: 3.984 kB / 1.069 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.3096, allocations: 3.938 kB / 1.069 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.3096, allocations: 0 / 1.069 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002082/0.3098, allocations: 189.6 kB / 1.069 GB, free: 9.883 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3098, allocations: 0 / 1.069 GB, free: 9.883 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.143e-05/0.3099, allocations: 11.98 kB / 1.069 GB, free: 9.871 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.3099, allocations: 0 / 1.069 GB, free: 9.871 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.3099, allocations: 8 kB / 1.069 GB, free: 9.863 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.3099, allocations: 0 / 1.069 GB, free: 9.863 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.3099, allocations: 3.938 kB / 1.069 GB, free: 9.859 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003052/0.3103, allocations: 191.3 kB / 1.069 GB, free: 9.656 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.049e-05/0.3103, allocations: 85.02 kB / 1.069 GB, free: 9.555 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.52e-05/0.3103, allocations: 4 kB / 1.069 GB, free: 9.551 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001313/0.3105, allocations: 16.05 kB / 1.069 GB, free: 9.535 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.344e-05/0.3105, allocations: 19.91 kB / 1.069 GB, free: 9.516 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.3106, allocations: 3.938 kB / 1.069 GB, free: 9.512 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.692e-05/0.3106, allocations: 101.6 kB / 1.069 GB, free: 9.414 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3106, allocations: 4 kB / 1.069 GB, free: 9.41 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002228/0.3109, allocations: 15.94 kB / 1.069 GB, free: 9.395 MB / 0.8419 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.000144/0.311, allocations: 99.25 kB / 1.069 GB, free: 9.289 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002864/0.3113, allocations: 67.94 kB / 1.07 GB, free: 9.223 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3113, allocations: 3.938 kB / 1.07 GB, free: 9.219 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001209/0.3114, allocations: 39.97 kB / 1.07 GB, free: 9.18 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003002/0.3118, allocations: 7.938 kB / 1.07 GB, free: 9.172 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004357/0.3122, allocations: 240.9 kB / 1.07 GB, free: 8.906 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000315/0.3125, allocations: 0.6961 MB / 1.071 GB, free: 8.184 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.755e-05/0.3126, allocations: 15.42 kB / 1.071 GB, free: 8.168 MB / 0.8419 GB Notification: Performance of SimCode: time 2.2e-07/0.3126, allocations: 0 / 1.071 GB, free: 8.168 MB / 0.8419 GB Notification: Performance of Templates: time 0.002766/0.3154, allocations: 1.119 MB / 1.072 GB, free: 7.051 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Less.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches