Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001258/0.001258, allocations: 109.8 kB / 15.99 MB, free: 6.348 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.001278/0.001278, allocations: 191.3 kB / 16.91 MB, free: 6.188 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.392/1.392, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.58/2.58, allocations: 437.1 MB / 0.7107 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 68.42 kB / 0.8694 GB, free: 2.535 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2827/0.2847, allocations: 151.6 MB / 1.017 GB, free: 10.98 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.002007/0.2867, allocations: 0.7642 MB / 1.018 GB, free: 10.21 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.000983/0.2877, allocations: 0.8327 MB / 1.019 GB, free: 9.367 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.657e-05/0.2878, allocations: 0 / 1.019 GB, free: 9.367 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.448e-05/0.2878, allocations: 11.92 kB / 1.019 GB, free: 9.355 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.786e-05/0.2879, allocations: 7.984 kB / 1.019 GB, free: 9.348 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001284/0.288, allocations: 27.86 kB / 1.019 GB, free: 9.32 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 8.122e-05/0.2881, allocations: 43.86 kB / 1.019 GB, free: 9.277 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.2882, allocations: 15.98 kB / 1.019 GB, free: 9.262 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.021e-05/0.2883, allocations: 23.91 kB / 1.019 GB, free: 9.238 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.723e-05/0.2884, allocations: 19.92 kB / 1.019 GB, free: 9.219 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.694e-05/0.2884, allocations: 8 kB / 1.019 GB, free: 9.211 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.411e-05/0.2884, allocations: 8 kB / 1.019 GB, free: 9.203 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.73e-05/0.2884, allocations: 7.984 kB / 1.019 GB, free: 9.195 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.476e-05/0.2885, allocations: 23.86 kB / 1.019 GB, free: 9.172 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 6.603e-05/0.2885, allocations: 31.92 kB / 1.019 GB, free: 9.141 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 2.544e-06/0.2885, allocations: 0 / 1.019 GB, free: 9.141 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.122e-06/0.2885, allocations: 0 / 1.019 GB, free: 9.141 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.2886, allocations: 0 / 1.019 GB, free: 9.141 MB / 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.0005365/0.2891, allocations: 365.5 kB / 1.02 GB, free: 8.738 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.2891, allocations: 12.92 kB / 1.02 GB, free: 8.727 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.14e-05/0.2892, allocations: 0.9375 kB / 1.02 GB, free: 8.727 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001478/0.2893, allocations: 168.3 kB / 1.02 GB, free: 8.523 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.2893, allocations: 4.375 kB / 1.02 GB, free: 8.52 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.181e-05/0.2894, allocations: 384 / 1.02 GB, free: 8.52 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002055/0.2896, allocations: 73.72 kB / 1.02 GB, free: 8.441 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.2896, allocations: 0 / 1.02 GB, free: 8.441 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.2896, allocations: 4 kB / 1.02 GB, free: 8.438 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.2896, allocations: 0 / 1.02 GB, free: 8.438 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002168/0.2898, allocations: 55.94 kB / 1.02 GB, free: 8.383 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004713/0.2903, allocations: 292.7 kB / 1.02 GB, free: 8.047 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002091/0.2905, allocations: 70.47 kB / 1.02 GB, free: 7.969 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001075/0.2907, allocations: 28.92 kB / 1.02 GB, free: 7.938 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.918e-05/0.2907, allocations: 0 / 1.02 GB, free: 7.938 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.255e-05/0.2907, allocations: 34.56 kB / 1.02 GB, free: 7.895 MB / 0.795 GB Notification: Performance of pre-optimization done (n=4): time 8.12e-07/0.2907, allocations: 0 / 1.02 GB, free: 7.895 MB / 0.795 GB Notification: Performance of matching and sorting (n=4): time 0.0004165/0.2911, allocations: 109.5 kB / 1.02 GB, free: 7.781 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.056e-05/0.2912, allocations: 63.34 kB / 1.02 GB, free: 7.707 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.352e-05/0.2913, allocations: 105.8 kB / 1.021 GB, free: 7.594 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.069e-05/0.2913, allocations: 29.7 kB / 1.021 GB, free: 7.559 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.928e-05/0.2914, allocations: 80.14 kB / 1.021 GB, free: 7.477 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.888e-05/0.2914, allocations: 15.81 kB / 1.021 GB, free: 7.461 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.299e-05/0.2915, allocations: 17.7 kB / 1.021 GB, free: 7.438 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.2916, allocations: 318.8 kB / 1.021 GB, free: 7.117 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001107/0.2917, allocations: 23.97 kB / 1.021 GB, free: 7.094 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.406e-05/0.2918, allocations: 27.98 kB / 1.021 GB, free: 7.066 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001923/0.292, allocations: 53.09 kB / 1.021 GB, free: 7.012 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.292, allocations: 0 / 1.021 GB, free: 7.012 MB / 0.795 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002532/0.2923, allocations: 97.5 kB / 1.021 GB, free: 6.91 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.2923, allocations: 6.5 kB / 1.021 GB, free: 6.906 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.2923, allocations: 0 / 1.021 GB, free: 6.906 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.2923, allocations: 4 kB / 1.021 GB, free: 6.902 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/0.2925, allocations: 11.98 kB / 1.021 GB, free: 6.891 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.2925, allocations: 0 / 1.021 GB, free: 6.891 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.699e-05/0.2926, allocations: 7.984 kB / 1.021 GB, free: 6.883 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.712e-06/0.2926, allocations: 4 kB / 1.021 GB, free: 6.879 MB / 0.795 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.835e-05/0.2927, allocations: 113.8 kB / 1.021 GB, free: 6.758 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.676e-05/0.2927, allocations: 7.906 kB / 1.021 GB, free: 6.75 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.634e-05/0.2927, allocations: 7.906 kB / 1.021 GB, free: 6.738 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.2927, allocations: 4 kB / 1.021 GB, free: 6.734 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.2927, allocations: 4 kB / 1.021 GB, free: 6.73 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.2928, allocations: 3.984 kB / 1.021 GB, free: 6.727 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001981/0.293, allocations: 173.5 kB / 1.022 GB, free: 6.508 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.293, allocations: 0 / 1.022 GB, free: 6.508 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.375e-05/0.2931, allocations: 11.98 kB / 1.022 GB, free: 6.496 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.2931, allocations: 0 / 1.022 GB, free: 6.496 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.2931, allocations: 7.984 kB / 1.022 GB, free: 6.488 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.2931, allocations: 0 / 1.022 GB, free: 6.488 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.655e-06/0.2931, allocations: 0 / 1.022 GB, free: 6.488 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002996/0.2934, allocations: 187.4 kB / 1.022 GB, free: 6.289 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.464e-05/0.2935, allocations: 84.95 kB / 1.022 GB, free: 6.188 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.468e-05/0.2935, allocations: 0 / 1.022 GB, free: 6.188 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.2936, allocations: 11.98 kB / 1.022 GB, free: 6.176 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.231e-05/0.2937, allocations: 4 kB / 1.022 GB, free: 6.172 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.133e-05/0.2937, allocations: 11.98 kB / 1.022 GB, free: 6.16 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.865e-05/0.2938, allocations: 83.59 kB / 1.022 GB, free: 6.078 MB / 0.795 GB Notification: Performance of sort global known variables: time 1e-07/0.2938, allocations: 0 / 1.022 GB, free: 6.078 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002283/0.294, allocations: 12 kB / 1.022 GB, free: 6.066 MB / 0.795 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.0001248/0.2941, allocations: 103.7 kB / 1.022 GB, free: 5.953 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002786/0.2944, allocations: 55.88 kB / 1.022 GB, free: 5.898 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.2944, allocations: 0 / 1.022 GB, free: 5.898 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001171/0.2945, allocations: 39.97 kB / 1.022 GB, free: 5.859 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002766/0.2948, allocations: 4 kB / 1.022 GB, free: 5.855 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00036/0.2952, allocations: 159.3 kB / 1.022 GB, free: 5.668 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003195/0.2955, allocations: 0.6807 MB / 1.023 GB, free: 4.961 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.965e-05/0.2956, allocations: 19.44 kB / 1.023 GB, free: 4.941 MB / 0.795 GB Notification: Performance of SimCode: time 2.61e-07/0.2956, allocations: 0 / 1.023 GB, free: 4.941 MB / 0.795 GB Notification: Performance of Templates: time 0.002271/0.2979, allocations: 0.8193 MB / 1.024 GB, free: 4.129 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches