Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.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.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intGreThr.t|intGreThr.u|intGreThr.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intGreThr.t|intGreThr.u|intGreThr.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001465/0.001465, allocations: 104.7 kB / 15.98 MB, free: 6.34 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.0015/0.0015, allocations: 197.8 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.344/1.344, allocations: 222.9 MB / 240.6 MB, free: 13.73 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.588/2.588, allocations: 469.8 MB / 0.7427 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001887/0.001887, allocations: 63.94 kB / 0.9087 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2979/0.2998, allocations: 159.1 MB / 1.064 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.001934/0.3018, allocations: 0.7643 MB / 1.065 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.000949/0.3027, allocations: 0.8351 MB / 1.066 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.354e-05/0.3028, allocations: 4 kB / 1.066 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.634e-05/0.3028, allocations: 0 / 1.066 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.262e-05/0.3029, allocations: 7.922 kB / 1.066 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001259/0.303, allocations: 19.98 kB / 1.066 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 8.44e-05/0.3031, allocations: 51.86 kB / 1.066 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 9.57e-05/0.3032, allocations: 15.97 kB / 1.066 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 5.891e-05/0.3033, allocations: 15.94 kB / 1.066 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.949e-05/0.3033, allocations: 27.91 kB / 1.066 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.682e-05/0.3034, allocations: 4 kB / 1.066 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.157e-05/0.3034, allocations: 4 kB / 1.066 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.935e-05/0.3034, allocations: 11.97 kB / 1.066 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.326e-05/0.3034, allocations: 19.88 kB / 1.066 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 6.521e-05/0.3035, allocations: 31.94 kB / 1.066 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.3035, allocations: 0 / 1.066 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.136e-06/0.3035, allocations: 3.984 kB / 1.066 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.715e-06/0.3035, 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.0005277/0.3041, allocations: 359.7 kB / 1.066 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.3041, allocations: 12.62 kB / 1.066 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.175e-05/0.3042, allocations: 4.844 kB / 1.066 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001489/0.3043, allocations: 168.3 kB / 1.066 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/0.3043, allocations: 4.375 kB / 1.066 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.384e-05/0.3044, allocations: 12.31 kB / 1.066 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001943/0.3045, allocations: 69.77 kB / 1.067 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.3046, allocations: 0 / 1.067 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.3046, allocations: 4 kB / 1.067 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.3046, allocations: 0 / 1.067 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002026/0.3048, allocations: 55.94 kB / 1.067 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004518/0.3053, allocations: 296.6 kB / 1.067 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001966/0.3055, allocations: 66.53 kB / 1.067 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/0.3056, allocations: 24.92 kB / 1.067 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.274e-05/0.3056, allocations: 0 / 1.067 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/0.3056, allocations: 42.55 kB / 1.067 GB, free: 12 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=4): time 2.444e-06/0.3056, allocations: 4 kB / 1.067 GB, free: 12 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4): time 0.0004007/0.306, allocations: 109.5 kB / 1.067 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.3061, allocations: 55.41 kB / 1.067 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.864e-05/0.3062, allocations: 109.8 kB / 1.067 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.3062, allocations: 25.7 kB / 1.067 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.095e-05/0.3063, allocations: 92.05 kB / 1.067 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.54e-05/0.3063, allocations: 7.906 kB / 1.067 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.976e-05/0.3063, allocations: 21.7 kB / 1.067 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.3065, allocations: 314.8 kB / 1.068 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001001/0.3066, allocations: 23.97 kB / 1.068 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.661e-05/0.3067, allocations: 23.98 kB / 1.068 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000185/0.3069, allocations: 56.81 kB / 1.068 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3069, allocations: 0 / 1.068 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002412/0.3071, allocations: 85.58 kB / 1.068 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.3071, allocations: 4 kB / 1.068 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.3072, allocations: 0 / 1.068 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.3072, allocations: 0 / 1.068 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.3073, allocations: 11.98 kB / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.3073, allocations: 4 kB / 1.068 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.075e-05/0.3074, allocations: 15.89 kB / 1.068 GB, free: 11 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-06/0.3074, 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,intGreThr.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.79e-05/0.3075, allocations: 119.5 kB / 1.068 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.341e-05/0.3075, allocations: 0 / 1.068 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.808e-05/0.3076, allocations: 11.89 kB / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.3076, allocations: 4 kB / 1.068 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.3076, allocations: 0 / 1.068 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.3076, allocations: 0 / 1.068 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001955/0.3078, allocations: 181.6 kB / 1.068 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.3078, allocations: 0 / 1.068 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.143e-05/0.3079, allocations: 15.92 kB / 1.068 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.3079, allocations: 3.984 kB / 1.068 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.3079, allocations: 7.938 kB / 1.068 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3079, allocations: 0 / 1.068 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.3079, allocations: 0 / 1.068 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002985/0.3082, allocations: 191.3 kB / 1.068 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.062e-05/0.3083, allocations: 77.11 kB / 1.068 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.801e-05/0.3083, allocations: 8 kB / 1.069 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.3084, allocations: 7.984 kB / 1.069 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.752e-05/0.3085, allocations: 12.36 kB / 1.069 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.254e-06/0.3085, allocations: 4 kB / 1.069 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.778e-05/0.3085, allocations: 87.28 kB / 1.069 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1e-07/0.3085, allocations: 0 / 1.069 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002084/0.3088, allocations: 4 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 (intGreThr.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.0001242/0.3089, allocations: 111.2 kB / 1.069 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002487/0.3091, allocations: 63.88 kB / 1.069 GB, free: 10 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3092, allocations: 0 / 1.069 GB, free: 10 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001111/0.3093, allocations: 27.97 kB / 1.069 GB, free: 9.973 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002693/0.3095, allocations: 5.719 kB / 1.069 GB, free: 9.969 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003425/0.3099, allocations: 175.1 kB / 1.069 GB, free: 9.766 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003049/0.3102, allocations: 0.6807 MB / 1.07 GB, free: 9.059 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.01e-05/0.3103, allocations: 11.44 kB / 1.07 GB, free: 9.051 MB / 0.8419 GB Notification: Performance of SimCode: time 5.41e-07/0.3103, allocations: 0 / 1.07 GB, free: 9.051 MB / 0.8419 GB Notification: Performance of Templates: time 0.00214/0.3124, allocations: 0.8041 MB / 1.07 GB, free: 8.254 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches