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.001803/0.001803, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00178/0.00178, allocations: 192.6 kB / 16.25 MB, free: 6.621 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.46/1.46, allocations: 222.9 MB / 239.9 MB, free: 4.543 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.94/2.94, allocations: 469.8 MB / 0.742 GB, free: 7.676 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002113/0.002113, allocations: 73.41 kB / 0.9081 GB, free: 34.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3837/0.3858, allocations: 159.1 MB / 1.063 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.002451/0.3883, allocations: 0.766 MB / 1.064 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001203/0.3895, allocations: 0.8352 MB / 1.065 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.066e-05/0.3896, allocations: 4 kB / 1.065 GB, free: 13.01 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.752e-05/0.3896, allocations: 7.875 kB / 1.065 GB, free: 13 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.577e-05/0.3898, allocations: 7.984 kB / 1.065 GB, free: 13 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000161/0.3899, allocations: 15.98 kB / 1.065 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001104/0.39, allocations: 47.86 kB / 1.065 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001296/0.3902, allocations: 15.97 kB / 1.065 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.516e-05/0.3903, allocations: 23.86 kB / 1.065 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.284e-05/0.3903, allocations: 23.92 kB / 1.065 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.553e-05/0.3904, allocations: 4 kB / 1.065 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.763e-05/0.3904, allocations: 8 kB / 1.065 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.578e-05/0.3904, allocations: 11.97 kB / 1.065 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.978e-05/0.3905, allocations: 19.88 kB / 1.065 GB, free: 12.83 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000117/0.3906, allocations: 43.86 kB / 1.065 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.3906, allocations: 0 / 1.065 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.615e-06/0.3906, allocations: 0 / 1.065 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.182e-06/0.3906, allocations: 0 / 1.065 GB, free: 12.79 MB / 0.8262 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.0005993/0.3912, allocations: 355.7 kB / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.3913, allocations: 12.03 kB / 1.066 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.04e-05/0.3913, allocations: 8.844 kB / 1.066 GB, free: 12.37 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001742/0.3915, allocations: 172.4 kB / 1.066 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.3915, allocations: 384 / 1.066 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.379e-05/0.3916, allocations: 4.375 kB / 1.066 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002228/0.3918, allocations: 69.78 kB / 1.066 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.3918, allocations: 3.938 kB / 1.066 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.3918, allocations: 4 kB / 1.066 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.3918, allocations: 3.984 kB / 1.066 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002011/0.392, allocations: 51.95 kB / 1.066 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005243/0.3926, allocations: 292.7 kB / 1.066 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002096/0.3928, allocations: 66.48 kB / 1.066 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001083/0.3929, allocations: 32.91 kB / 1.066 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.822e-05/0.3929, allocations: 0 / 1.066 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.393, allocations: 38.5 kB / 1.066 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 7.91e-07/0.393, allocations: 0 / 1.066 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0004182/0.3934, allocations: 105.6 kB / 1.066 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.835e-05/0.3935, allocations: 51.41 kB / 1.066 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.595e-05/0.3936, allocations: 113.8 kB / 1.067 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.271e-05/0.3936, allocations: 25.7 kB / 1.067 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.683e-05/0.3937, allocations: 99.97 kB / 1.067 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.289e-05/0.3937, allocations: 11.97 kB / 1.067 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.065e-05/0.3938, allocations: 13.72 kB / 1.067 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.3939, allocations: 322.8 kB / 1.067 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.773e-05/0.394, allocations: 19.98 kB / 1.067 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.87e-05/0.3941, allocations: 31.97 kB / 1.067 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001855/0.3943, allocations: 52.75 kB / 1.067 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3943, allocations: 0 / 1.067 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002485/0.3946, allocations: 81.66 kB / 1.067 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.3946, allocations: 7.984 kB / 1.067 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.3946, allocations: 0 / 1.067 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.3946, allocations: 4 kB / 1.067 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001229/0.3948, allocations: 15.92 kB / 1.067 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.3948, allocations: 0 / 1.067 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.9e-05/0.3949, allocations: 19.89 kB / 1.067 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.3949, allocations: 0 / 1.067 GB, free: 10.51 MB / 0.8262 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 0.0001056/0.395, allocations: 117.8 kB / 1.067 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.401e-05/0.395, allocations: 0 / 1.067 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.162e-05/0.395, allocations: 7.906 kB / 1.067 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.3951, allocations: 8 kB / 1.067 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.3951, allocations: 0 / 1.067 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.3951, allocations: 0 / 1.067 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002143/0.3953, allocations: 177.5 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.3953, allocations: 4 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.749e-05/0.3954, allocations: 7.984 kB / 1.068 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.3954, allocations: 4.328 kB / 1.068 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/0.3954, allocations: 0 / 1.068 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.3954, allocations: 3.938 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3954, allocations: 0 / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003253/0.3958, allocations: 195.3 kB / 1.068 GB, free: 9.918 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.751e-05/0.3958, allocations: 77.11 kB / 1.068 GB, free: 9.824 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.97e-05/0.3959, allocations: 7.984 kB / 1.068 GB, free: 9.816 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.396, allocations: 4 kB / 1.068 GB, free: 9.812 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.45e-05/0.3961, allocations: 11.98 kB / 1.068 GB, free: 9.801 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.06e-06/0.3961, allocations: 0 / 1.068 GB, free: 9.801 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.756e-05/0.3962, allocations: 95.27 kB / 1.068 GB, free: 9.707 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3962, allocations: 0 / 1.068 GB, free: 9.707 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002201/0.3964, allocations: 4 kB / 1.068 GB, free: 9.703 MB / 0.8262 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.0001893/0.3966, allocations: 107.2 kB / 1.068 GB, free: 9.59 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000286/0.3969, allocations: 59.88 kB / 1.068 GB, free: 9.531 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.3969, allocations: 0 / 1.068 GB, free: 9.531 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001274/0.397, allocations: 35.97 kB / 1.068 GB, free: 9.496 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003643/0.3974, allocations: 4 kB / 1.068 GB, free: 9.492 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004266/0.3978, allocations: 142.9 kB / 1.068 GB, free: 9.328 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003516/0.3982, allocations: 0.6807 MB / 1.069 GB, free: 8.621 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.174e-05/0.3983, allocations: 8 kB / 1.069 GB, free: 8.613 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.483e-05/0.3983, allocations: 19.38 kB / 1.069 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of SimCode: time 4.01e-07/0.3983, allocations: 0 / 1.069 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of Templates: time 0.003485/0.4018, allocations: 0.8027 MB / 1.07 GB, free: 7.801 MB / 0.8262 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/jenkins/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