Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.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.Integers.Validation.GreaterEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intGreEquThr.t|intGreEquThr.u|intGreEquThr.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intGreEquThr.t|intGreEquThr.u|intGreEquThr.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 112.4 kB / 15.99 MB, free: 5.91 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.001248/0.001248, allocations: 196 kB / 16.91 MB, free: 5.754 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.328/1.328, allocations: 222.9 MB / 240.6 MB, free: 15.39 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.537/2.537, allocations: 469.8 MB / 0.7427 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001828/0.001828, allocations: 67.3 kB / 0.9087 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2984/0.3003, allocations: 159.1 MB / 1.064 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.001969/0.3023, allocations: 0.7642 MB / 1.065 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0009393/0.3032, allocations: 0.8428 MB / 1.066 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.33e-05/0.3033, allocations: 0 / 1.066 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.989e-05/0.3033, allocations: 0 / 1.066 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.011e-05/0.3034, allocations: 3.938 kB / 1.066 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001295/0.3035, allocations: 23.97 kB / 1.066 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 8.052e-05/0.3036, allocations: 51.84 kB / 1.066 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.3037, allocations: 16 kB / 1.066 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 5.841e-05/0.3038, allocations: 15.92 kB / 1.066 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.607e-05/0.3039, allocations: 31.89 kB / 1.066 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.117e-05/0.3039, allocations: 4 kB / 1.066 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.202e-05/0.3039, allocations: 4 kB / 1.066 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.661e-05/0.3039, allocations: 4 kB / 1.066 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.606e-05/0.304, allocations: 23.86 kB / 1.066 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 6.627e-05/0.304, allocations: 31.92 kB / 1.066 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.3041, allocations: 4 kB / 1.066 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3041, allocations: 0 / 1.066 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.3041, allocations: 0 / 1.066 GB, free: 13.26 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005116/0.3046, allocations: 359.7 kB / 1.066 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.3046, allocations: 8.031 kB / 1.066 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.012e-05/0.3047, allocations: 8.844 kB / 1.066 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001335/0.3048, allocations: 168.3 kB / 1.066 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.3048, allocations: 384 / 1.066 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.678e-05/0.3048, allocations: 8.375 kB / 1.066 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001909/0.305, allocations: 73.77 kB / 1.067 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.3051, allocations: 0 / 1.067 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.3051, allocations: 0 / 1.067 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.3051, allocations: 4 kB / 1.067 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001947/0.3053, allocations: 43.95 kB / 1.067 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000432/0.3057, allocations: 304.6 kB / 1.067 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001881/0.3059, allocations: 62.53 kB / 1.067 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001024/0.306, allocations: 28.92 kB / 1.067 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.3061, allocations: 3.984 kB / 1.067 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.77e-05/0.3061, allocations: 42.5 kB / 1.067 GB, free: 12 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.3061, allocations: 0 / 1.067 GB, free: 12 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4): time 0.0004145/0.3065, allocations: 105.6 kB / 1.067 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.562e-05/0.3066, allocations: 51.41 kB / 1.067 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.909e-05/0.3067, allocations: 109.8 kB / 1.067 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/0.3067, allocations: 29.7 kB / 1.067 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.972e-05/0.3067, allocations: 84.05 kB / 1.067 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.092e-05/0.3068, allocations: 15.91 kB / 1.067 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.103e-05/0.3068, allocations: 21.7 kB / 1.067 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.3069, allocations: 314.8 kB / 1.068 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001053/0.3071, allocations: 27.91 kB / 1.068 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.698e-05/0.3071, allocations: 23.97 kB / 1.068 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001763/0.3073, allocations: 53.11 kB / 1.068 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.3073, allocations: 4 kB / 1.068 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002318/0.3076, allocations: 85.56 kB / 1.068 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.3076, allocations: 8 kB / 1.068 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.3076, allocations: 0 / 1.068 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.3076, allocations: 0 / 1.068 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.3078, allocations: 11.98 kB / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.3078, allocations: 0 / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.768e-05/0.3078, allocations: 15.89 kB / 1.068 GB, free: 11 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.3079, allocations: 0 / 1.068 GB, free: 11 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: 2 (reaToInt.y,intGreEquThr.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.24e-05/0.308, allocations: 120 kB / 1.068 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.556e-05/0.308, allocations: 4 kB / 1.068 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.66e-05/0.308, allocations: 11.89 kB / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.308, allocations: 0 / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.308, allocations: 0 / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.854e-06/0.308, allocations: 0 / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001952/0.3082, allocations: 181.5 kB / 1.068 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.716e-06/0.3082, allocations: 8 kB / 1.068 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.897e-05/0.3083, allocations: 15.92 kB / 1.068 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.3084, allocations: 0 / 1.068 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.3084, allocations: 0 / 1.068 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3084, allocations: 3.938 kB / 1.068 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3084, allocations: 0 / 1.068 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002795/0.3087, allocations: 183.3 kB / 1.068 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.193e-05/0.3087, allocations: 85.11 kB / 1.068 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.71e-05/0.3087, allocations: 4 kB / 1.069 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.942e-05/0.3088, allocations: 7.984 kB / 1.069 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.432e-05/0.3089, allocations: 11.98 kB / 1.069 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-06/0.3089, allocations: 0 / 1.069 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.79e-05/0.309, allocations: 83.28 kB / 1.069 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.11e-07/0.309, allocations: 0 / 1.069 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002157/0.3092, allocations: 15.98 kB / 1.069 GB, free: 10.18 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 (intGreEquThr.y,reaToInt.y) * Number of discrete states: 0 () * 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.0001182/0.3093, allocations: 107.1 kB / 1.069 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002477/0.3096, allocations: 51.95 kB / 1.069 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3096, allocations: 0 / 1.069 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001099/0.3097, allocations: 31.97 kB / 1.069 GB, free: 9.988 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000283/0.31, allocations: 4 kB / 1.069 GB, free: 9.984 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003539/0.3104, allocations: 175.1 kB / 1.069 GB, free: 9.781 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002939/0.3107, allocations: 0.6845 MB / 1.07 GB, free: 9.07 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.306e-05/0.3107, allocations: 15.42 kB / 1.07 GB, free: 9.059 MB / 0.8419 GB Notification: Performance of SimCode: time 2.71e-07/0.3107, allocations: 0 / 1.07 GB, free: 9.059 MB / 0.8419 GB Notification: Performance of Templates: time 0.002202/0.3129, allocations: 0.8129 MB / 1.07 GB, free: 8.25 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches