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.007272/0.007272, allocations: 98.66 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.001344/0.001344, allocations: 191.8 kB / 16.67 MB, free: 5.949 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.425/1.425, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.949/2.949, allocations: 469.8 MB / 0.7425 GB, free: 7.355 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 68.11 kB / 1.065 GB, free: 13.01 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.373/0.3743, allocations: 159.1 MB / 1.221 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.002339/0.3767, allocations: 0.8314 MB / 1.221 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001232/0.3779, allocations: 0.8662 MB / 1.222 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001227/0.378, allocations: 7.938 kB / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001469/0.3782, allocations: 11.86 kB / 1.222 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.216e-05/0.3782, allocations: 15.88 kB / 1.222 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001816/0.3784, allocations: 27.95 kB / 1.222 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001432/0.3785, allocations: 71.78 kB / 1.222 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001367/0.3787, allocations: 27.91 kB / 1.222 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.973e-05/0.3788, allocations: 27.92 kB / 1.223 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.56e-05/0.3789, allocations: 35.83 kB / 1.223 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.053e-05/0.3789, allocations: 4 kB / 1.223 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.852e-05/0.3789, allocations: 4 kB / 1.223 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.467e-05/0.3789, allocations: 19.88 kB / 1.223 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.44e-05/0.379, allocations: 31.8 kB / 1.223 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00015/0.3791, allocations: 75.67 kB / 1.223 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.3791, allocations: 4 kB / 1.223 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.934e-06/0.3791, allocations: 3.938 kB / 1.223 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.3791, allocations: 0 / 1.223 GB, free: 11.68 MB / 0.9825 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.000597/0.3797, allocations: 395 kB / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.3798, allocations: 8.031 kB / 1.223 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.302e-05/0.3798, allocations: 12.89 kB / 1.223 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002778/0.3801, allocations: 200.2 kB / 1.223 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.3801, allocations: 8.375 kB / 1.223 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.297e-05/0.3801, allocations: 384 / 1.223 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001583/0.3803, allocations: 70.11 kB / 1.223 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.709e-06/0.3803, allocations: 192 / 1.223 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.936e-05/0.3803, allocations: 7.938 kB / 1.223 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/0.3803, allocations: 3.984 kB / 1.223 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001089/0.3804, allocations: 31.98 kB / 1.223 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005123/0.381, allocations: 320.6 kB / 1.224 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001661/0.3811, allocations: 46.55 kB / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.455e-05/0.3812, allocations: 25.09 kB / 1.224 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.3812, allocations: 3.938 kB / 1.224 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.3812, allocations: 30.56 kB / 1.224 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.183e-06/0.3812, allocations: 0 / 1.224 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0002588/0.3815, allocations: 69.67 kB / 1.224 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.71e-05/0.3815, allocations: 51.41 kB / 1.224 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/0.3816, allocations: 140.3 kB / 1.224 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.3817, allocations: 33.7 kB / 1.224 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.025e-05/0.3817, allocations: 96.12 kB / 1.224 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.452e-05/0.3817, allocations: 3.953 kB / 1.224 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.617e-05/0.3818, allocations: 21.7 kB / 1.224 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.3819, allocations: 322.8 kB / 1.224 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.321e-05/0.3819, allocations: 15.98 kB / 1.225 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.159e-05/0.382, allocations: 15.94 kB / 1.225 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.364e-05/0.3821, allocations: 32.83 kB / 1.225 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3821, allocations: 0 / 1.225 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001259/0.3822, allocations: 65.64 kB / 1.225 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.3822, allocations: 4 kB / 1.225 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.3822, allocations: 0 / 1.225 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.3822, allocations: 0 / 1.225 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.103e-05/0.3823, allocations: 7.984 kB / 1.225 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.3823, allocations: 3.938 kB / 1.225 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.33e-05/0.3824, allocations: 11.98 kB / 1.225 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.3824, allocations: 7.938 kB / 1.225 GB, free: 9.434 MB / 0.9825 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.929e-05/0.3825, allocations: 121.7 kB / 1.225 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.866e-05/0.3825, allocations: 8.281 kB / 1.225 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.908e-05/0.3825, allocations: 8.25 kB / 1.225 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.3825, allocations: 3.984 kB / 1.225 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.3826, allocations: 4 kB / 1.225 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.3826, allocations: 3.984 kB / 1.225 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001736/0.3827, allocations: 181.6 kB / 1.225 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.3827, allocations: 0 / 1.225 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.307e-05/0.3828, allocations: 11.94 kB / 1.225 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.3828, allocations: 0 / 1.225 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.976e-06/0.3828, allocations: 0 / 1.225 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.578e-06/0.3828, allocations: 4 kB / 1.225 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3828, allocations: 0 / 1.225 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001825/0.383, allocations: 167.4 kB / 1.225 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.97e-05/0.383, allocations: 93.05 kB / 1.225 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.056e-05/0.383, allocations: 4 kB / 1.225 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.887e-05/0.3831, allocations: 11.98 kB / 1.225 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.223e-05/0.3832, allocations: 7.984 kB / 1.225 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.3832, allocations: 0 / 1.225 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.462e-05/0.3833, allocations: 105.2 kB / 1.225 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3833, allocations: 0 / 1.225 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002198/0.3835, allocations: 15.94 kB / 1.225 GB, free: 8.602 MB / 0.9825 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.0001563/0.3836, allocations: 103.2 kB / 1.225 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001479/0.3838, allocations: 39.97 kB / 1.226 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.3838, allocations: 0 / 1.226 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.408e-05/0.3838, allocations: 19.94 kB / 1.226 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002471/0.3841, allocations: 7.984 kB / 1.226 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004156/0.3845, allocations: 170.4 kB / 1.226 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002654/0.3848, allocations: 0.6963 MB / 1.226 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.489e-05/0.3848, allocations: 0 / 1.226 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.475e-05/0.3848, allocations: 11.44 kB / 1.226 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of SimCode: time 3.61e-07/0.3848, allocations: 0 / 1.226 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of Templates: time 0.003431/0.3883, allocations: 0.8585 MB / 1.227 GB, free: 6.648 MB / 0.9825 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=480 -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