Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001688/0.001688, allocations: 107 kB / 16.36 MB, free: 6.336 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.001693/0.001694, allocations: 195.3 kB / 17.29 MB, free: 5.883 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.42/1.42, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.485/2.485, allocations: 442.6 MB / 0.7165 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 64.38 kB / 0.8773 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2973/0.2987, allocations: 153 MB / 1.027 GB, free: 2.047 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.002068/0.3008, allocations: 0.7247 MB / 1.027 GB, free: 1.324 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001023/0.3018, allocations: 0.8273 MB / 1.028 GB, free: 496 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.157e-05/0.3019, allocations: 0 / 1.028 GB, free: 496 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.669e-05/0.302, allocations: 7.938 kB / 1.028 GB, free: 488 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.356e-05/0.302, allocations: 7.938 kB / 1.028 GB, free: 480 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001684/0.3022, allocations: 19.92 kB / 1.028 GB, free: 460 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.000109/0.3023, allocations: 51.84 kB / 1.028 GB, free: 408 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.3025, allocations: 19.97 kB / 1.028 GB, free: 388 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 8.095e-05/0.3025, allocations: 19.92 kB / 1.028 GB, free: 368 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.728e-05/0.3026, allocations: 23.92 kB / 1.028 GB, free: 344 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.361e-05/0.3026, allocations: 4 kB / 1.028 GB, free: 340 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.15e-05/0.3027, allocations: 4 kB / 1.028 GB, free: 336 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.169e-05/0.3027, allocations: 15.97 kB / 1.028 GB, free: 320 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.322e-05/0.3027, allocations: 19.88 kB / 1.028 GB, free: 300 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 9.514e-05/0.3028, allocations: 39.86 kB / 1.028 GB, free: 260 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.3028, allocations: 0 / 1.028 GB, free: 260 kB / 0.795 GB Notification: Performance of FrontEnd: time 1.353e-06/0.3028, allocations: 0 / 1.028 GB, free: 260 kB / 0.795 GB Notification: Performance of Transformations before backend: time 8.556e-06/0.3029, allocations: 0 / 1.028 GB, free: 260 kB / 0.795 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.0004924/0.3033, allocations: 355.4 kB / 1.029 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.3034, allocations: 8.031 kB / 1.029 GB, free: 15.85 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.394e-05/0.3034, allocations: 8.844 kB / 1.029 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001353/0.3036, allocations: 180.3 kB / 1.029 GB, free: 15.63 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/0.3036, allocations: 8.297 kB / 1.029 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.598e-05/0.3036, allocations: 8.375 kB / 1.029 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001969/0.3038, allocations: 65.78 kB / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.3038, allocations: 0 / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.918e-06/0.3039, allocations: 0 / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.3039, allocations: 4 kB / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001963/0.3041, allocations: 47.95 kB / 1.029 GB, free: 15.49 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004235/0.3045, allocations: 300.6 kB / 1.029 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002167/0.3047, allocations: 66.52 kB / 1.029 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001046/0.3048, allocations: 32.91 kB / 1.03 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.77e-05/0.3049, allocations: 0 / 1.03 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/0.3049, allocations: 38.56 kB / 1.03 GB, free: 14.99 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.3049, allocations: 3.938 kB / 1.03 GB, free: 14.99 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0003986/0.3053, allocations: 105.6 kB / 1.03 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.706e-05/0.3053, allocations: 51.41 kB / 1.03 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.118e-05/0.3054, allocations: 109.8 kB / 1.03 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.3055, allocations: 33.7 kB / 1.03 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.916e-05/0.3055, allocations: 88.05 kB / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.648e-05/0.3055, allocations: 7.969 kB / 1.03 GB, free: 14.56 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.136e-05/0.3056, allocations: 21.7 kB / 1.03 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.3057, allocations: 318.8 kB / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.773e-05/0.3058, allocations: 23.97 kB / 1.03 GB, free: 14.19 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.307e-05/0.3059, allocations: 23.97 kB / 1.03 GB, free: 14.17 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001696/0.3061, allocations: 52.83 kB / 1.03 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3061, allocations: 0 / 1.03 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002231/0.3063, allocations: 85.58 kB / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.3063, allocations: 8 kB / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.3063, allocations: 0 / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.3064, allocations: 0 / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.3065, allocations: 11.98 kB / 1.03 GB, free: 14 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.3065, allocations: 4 kB / 1.03 GB, free: 14 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.2e-05/0.3066, allocations: 7.984 kB / 1.03 GB, free: 13.99 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.3066, allocations: 0 / 1.03 GB, free: 13.99 MB / 0.8106 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 8.791e-05/0.3067, allocations: 121.7 kB / 1.031 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.725e-05/0.3067, allocations: 3.906 kB / 1.031 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.483e-05/0.3068, allocations: 15.89 kB / 1.031 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.3068, allocations: 0 / 1.031 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.3068, allocations: 0 / 1.031 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.033e-06/0.3068, allocations: 0 / 1.031 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001729/0.307, allocations: 185.5 kB / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.307, allocations: 0 / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.27e-05/0.3071, allocations: 15.92 kB / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.3071, allocations: 0 / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.3071, allocations: 0 / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3071, allocations: 0 / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3071, allocations: 0 / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002761/0.3074, allocations: 191.7 kB / 1.031 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.648e-05/0.3074, allocations: 81.11 kB / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.576e-05/0.3074, allocations: 4 kB / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.3075, allocations: 7.984 kB / 1.031 GB, free: 13.28 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.006e-05/0.3076, allocations: 11.98 kB / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.3076, allocations: 4 kB / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.681e-05/0.3077, allocations: 91.27 kB / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3077, allocations: 0 / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002269/0.3079, allocations: 15.94 kB / 1.031 GB, free: 13.16 MB / 0.8106 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.000104/0.308, allocations: 103.1 kB / 1.031 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000234/0.3083, allocations: 51.95 kB / 1.031 GB, free: 13 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3083, allocations: 0 / 1.031 GB, free: 13 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001109/0.3084, allocations: 31.97 kB / 1.031 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002665/0.3087, allocations: 8 kB / 1.031 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003567/0.309, allocations: 137.5 kB / 1.031 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002356/0.3093, allocations: 0.6845 MB / 1.032 GB, free: 12.08 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.042e-05/0.3093, allocations: 4 kB / 1.032 GB, free: 12.08 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.499e-05/0.3094, allocations: 15.42 kB / 1.032 GB, free: 12.06 MB / 0.8106 GB Notification: Performance of SimCode: time 2.3e-07/0.3094, allocations: 4 kB / 1.032 GB, free: 12.06 MB / 0.8106 GB Notification: Performance of Templates: time 0.003074/0.3125, allocations: 0.8827 MB / 1.033 GB, free: 11.18 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches