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: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|les.u|les.t|les.y|lesHys.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|les.u|les.t|les.y|lesHys.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001888/0.001888, 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.002196/0.002197, allocations: 189.5 kB / 16.25 MB, free: 6.633 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.432/1.432, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.827/2.827, allocations: 469.8 MB / 0.742 GB, free: 7.609 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001874/0.001874, allocations: 68.14 kB / 0.9081 GB, free: 34.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3386/0.3405, allocations: 159.2 MB / 1.063 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.002073/0.3426, allocations: 0.8759 MB / 1.064 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001003/0.3436, allocations: 0.874 MB / 1.065 GB, free: 12.83 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.726e-05/0.3437, allocations: 4 kB / 1.065 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001203/0.3438, allocations: 11.86 kB / 1.065 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.395e-05/0.3439, allocations: 11.92 kB / 1.065 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001423/0.344, allocations: 23.98 kB / 1.065 GB, free: 12.78 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001154/0.3441, allocations: 67.84 kB / 1.065 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.3443, allocations: 35.92 kB / 1.065 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.881e-05/0.3444, allocations: 35.84 kB / 1.065 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.6e-05/0.3444, allocations: 27.86 kB / 1.065 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.679e-05/0.3445, allocations: 4 kB / 1.065 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.415e-05/0.3445, allocations: 8 kB / 1.065 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.155e-05/0.3445, allocations: 11.92 kB / 1.065 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.045e-05/0.3445, allocations: 31.81 kB / 1.065 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001117/0.3447, allocations: 72.02 kB / 1.066 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.3447, allocations: 0 / 1.066 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.032e-06/0.3447, allocations: 0 / 1.066 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.499e-06/0.3447, allocations: 4 kB / 1.066 GB, free: 12.48 MB / 0.8262 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.000562/0.3452, allocations: 391.1 kB / 1.066 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.182e-05/0.3453, allocations: 11.97 kB / 1.066 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.244e-05/0.3453, allocations: 8.844 kB / 1.066 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002241/0.3456, allocations: 200.1 kB / 1.066 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.3456, allocations: 4.375 kB / 1.066 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.579e-05/0.3456, allocations: 4.375 kB / 1.066 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001659/0.3458, allocations: 62.23 kB / 1.066 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.3458, allocations: 4.125 kB / 1.066 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.174e-05/0.3458, allocations: 7.938 kB / 1.066 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.3458, allocations: 0 / 1.066 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000109/0.3459, allocations: 39.91 kB / 1.066 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004887/0.3464, allocations: 316.7 kB / 1.067 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000154/0.3466, allocations: 50.58 kB / 1.067 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.398e-05/0.3467, allocations: 21 kB / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.3467, allocations: 3.984 kB / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.061e-05/0.3467, allocations: 38.56 kB / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.3467, allocations: 0 / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0002452/0.347, allocations: 73.52 kB / 1.067 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.899e-05/0.347, allocations: 51.41 kB / 1.067 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001206/0.3472, allocations: 135.4 kB / 1.067 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.991e-05/0.3472, allocations: 29.7 kB / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.286e-05/0.3473, allocations: 104 kB / 1.067 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.395e-05/0.3473, allocations: 3.906 kB / 1.067 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.809e-05/0.3473, allocations: 21.72 kB / 1.067 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.3475, allocations: 326.8 kB / 1.067 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.253e-05/0.3475, allocations: 15.98 kB / 1.067 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.985e-05/0.3476, allocations: 12 kB / 1.067 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.677e-05/0.3476, allocations: 24.84 kB / 1.067 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.3477, allocations: 0 / 1.067 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000149/0.3478, allocations: 73.52 kB / 1.067 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.3478, allocations: 8 kB / 1.067 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.3478, allocations: 0 / 1.067 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.3479, allocations: 0 / 1.067 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.277e-05/0.3479, allocations: 7.984 kB / 1.067 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.3479, allocations: 0 / 1.067 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.092e-05/0.348, allocations: 11.98 kB / 1.068 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.348, allocations: 0 / 1.068 GB, free: 10.24 MB / 0.8262 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 9.189e-05/0.3481, allocations: 125.7 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.814e-05/0.3482, allocations: 11.91 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.762e-05/0.3482, allocations: 8.25 kB / 1.068 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.3482, allocations: 4 kB / 1.068 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.3482, allocations: 0 / 1.068 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.38e-05/0.3482, allocations: 3.984 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001843/0.3484, allocations: 185.5 kB / 1.068 GB, free: 9.844 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3484, allocations: 0 / 1.068 GB, free: 9.844 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.041e-05/0.3485, allocations: 4 kB / 1.068 GB, free: 9.84 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.3485, allocations: 0 / 1.068 GB, free: 9.84 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.3485, allocations: 0 / 1.068 GB, free: 9.84 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.3485, allocations: 0 / 1.068 GB, free: 9.84 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.3485, allocations: 4 kB / 1.068 GB, free: 9.836 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001768/0.3487, allocations: 163.3 kB / 1.068 GB, free: 9.66 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.789e-05/0.3487, allocations: 89 kB / 1.068 GB, free: 9.555 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.899e-05/0.3488, allocations: 4 kB / 1.068 GB, free: 9.551 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.659e-05/0.3489, allocations: 11.98 kB / 1.068 GB, free: 9.539 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.907e-05/0.3489, allocations: 8.359 kB / 1.068 GB, free: 9.531 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-06/0.3489, allocations: 4 kB / 1.068 GB, free: 9.527 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.998e-05/0.349, allocations: 101.5 kB / 1.068 GB, free: 9.43 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.349, allocations: 0 / 1.068 GB, free: 9.43 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002117/0.3492, allocations: 11.94 kB / 1.068 GB, free: 9.418 MB / 0.8262 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.0001672/0.3494, allocations: 107.2 kB / 1.068 GB, free: 9.305 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001594/0.3496, allocations: 39.91 kB / 1.068 GB, free: 9.266 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3496, allocations: 0 / 1.068 GB, free: 9.266 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 6.189e-05/0.3497, allocations: 20 kB / 1.068 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002802/0.3499, allocations: 13.47 kB / 1.068 GB, free: 9.234 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003789/0.3503, allocations: 190.6 kB / 1.069 GB, free: 9.023 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003473/0.3507, allocations: 0.6962 MB / 1.069 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.84e-05/0.3507, allocations: 4 kB / 1.069 GB, free: 8.297 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.391e-05/0.3508, allocations: 11.44 kB / 1.069 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of SimCode: time 2.71e-07/0.3508, allocations: 3.938 kB / 1.069 GB, free: 8.281 MB / 0.8262 GB Notification: Performance of Templates: time 0.00324/0.354, allocations: 0.764 MB / 1.07 GB, free: 7.523 MB / 0.8262 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.makefile (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 & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > 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/jenkins/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