Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intGreThr.t|intGreThr.u|intGreThr.y",fileNamePrefix="Buildings_latest_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_latest_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.001151/0.001151, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001286/0.001286, allocations: 194.2 kB / 16.14 MB, free: 6.691 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.472/1.472, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.875/2.875, allocations: 461.8 MB / 0.7342 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 64.75 kB / 0.8984 GB, free: 37.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3649/0.3662, allocations: 157.4 MB / 1.052 GB, free: 8.867 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.002097/0.3683, allocations: 0.7702 MB / 1.053 GB, free: 8.094 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009381/0.3693, allocations: 0.8312 MB / 1.054 GB, free: 7.25 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.015e-05/0.3693, allocations: 4 kB / 1.054 GB, free: 7.246 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.974e-05/0.3694, allocations: 0 / 1.054 GB, free: 7.246 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.287e-05/0.3695, allocations: 7.938 kB / 1.054 GB, free: 7.238 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001462/0.3696, allocations: 23.97 kB / 1.054 GB, free: 7.215 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.062e-05/0.3697, allocations: 47.84 kB / 1.054 GB, free: 7.168 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.3698, allocations: 12 kB / 1.054 GB, free: 7.156 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.368e-05/0.3699, allocations: 19.92 kB / 1.054 GB, free: 7.137 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.55e-05/0.37, allocations: 23.89 kB / 1.054 GB, free: 7.113 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.963e-05/0.37, allocations: 4 kB / 1.054 GB, free: 7.109 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.405e-05/0.3701, allocations: 4 kB / 1.054 GB, free: 7.105 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.274e-05/0.3701, allocations: 7.984 kB / 1.054 GB, free: 7.098 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.654e-05/0.3701, allocations: 15.88 kB / 1.054 GB, free: 7.082 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.263e-05/0.3702, allocations: 43.84 kB / 1.054 GB, free: 7.039 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3702, allocations: 0 / 1.054 GB, free: 7.039 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.315e-06/0.3702, allocations: 0 / 1.054 GB, free: 7.039 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.3702, allocations: 7.938 kB / 1.054 GB, free: 7.031 MB / 0.8106 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.0005635/0.3708, allocations: 363.6 kB / 1.054 GB, free: 6.629 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.3709, allocations: 12.03 kB / 1.054 GB, free: 6.617 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.451e-05/0.3709, allocations: 0.9375 kB / 1.054 GB, free: 6.617 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000149/0.3711, allocations: 168.3 kB / 1.054 GB, free: 6.414 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.3711, allocations: 384 / 1.054 GB, free: 6.414 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.666e-05/0.3711, allocations: 8.375 kB / 1.054 GB, free: 6.406 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002106/0.3713, allocations: 73.77 kB / 1.054 GB, free: 6.328 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/0.3713, allocations: 4 kB / 1.054 GB, free: 6.324 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.3713, allocations: 3.984 kB / 1.054 GB, free: 6.32 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.3714, allocations: 0 / 1.054 GB, free: 6.32 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002168/0.3716, allocations: 51.89 kB / 1.055 GB, free: 6.27 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005714/0.3722, allocations: 300.6 kB / 1.055 GB, free: 5.926 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002147/0.3724, allocations: 66.55 kB / 1.055 GB, free: 5.852 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001103/0.3725, allocations: 28.91 kB / 1.055 GB, free: 5.82 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.18e-05/0.3725, allocations: 0 / 1.055 GB, free: 5.82 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.285e-05/0.3726, allocations: 46.44 kB / 1.055 GB, free: 5.766 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.3726, allocations: 0 / 1.055 GB, free: 5.766 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0004259/0.3731, allocations: 105.6 kB / 1.055 GB, free: 5.656 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.223e-05/0.3731, allocations: 55.41 kB / 1.055 GB, free: 5.59 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.491e-05/0.3732, allocations: 109.8 kB / 1.055 GB, free: 5.473 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.3732, allocations: 25.7 kB / 1.055 GB, free: 5.441 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.074e-05/0.3733, allocations: 84.14 kB / 1.055 GB, free: 5.355 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.344e-05/0.3733, allocations: 15.8 kB / 1.055 GB, free: 5.34 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.466e-05/0.3734, allocations: 21.72 kB / 1.055 GB, free: 5.312 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.3735, allocations: 314.8 kB / 1.056 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001098/0.3736, allocations: 23.97 kB / 1.056 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.872e-05/0.3737, allocations: 27.97 kB / 1.056 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001993/0.3739, allocations: 56.75 kB / 1.056 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.3739, allocations: 0 / 1.056 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002516/0.3742, allocations: 81.66 kB / 1.056 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.3742, allocations: 4 kB / 1.056 GB, free: 4.797 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.3742, allocations: 0 / 1.056 GB, free: 4.797 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.3743, allocations: 0 / 1.056 GB, free: 4.797 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/0.3744, allocations: 11.98 kB / 1.056 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.3744, allocations: 0 / 1.056 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.267e-05/0.3745, allocations: 11.98 kB / 1.056 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.3745, allocations: 0 / 1.056 GB, free: 4.773 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,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 9.048e-05/0.3746, allocations: 131.2 kB / 1.056 GB, free: 4.637 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.749e-05/0.3746, allocations: 3.906 kB / 1.056 GB, free: 4.633 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.752e-05/0.3747, allocations: 7.906 kB / 1.056 GB, free: 4.621 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.3747, allocations: 4 kB / 1.056 GB, free: 4.617 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.421e-05/0.3747, allocations: 0 / 1.056 GB, free: 4.617 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.3747, allocations: 0 / 1.056 GB, free: 4.617 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001813/0.3749, allocations: 177.8 kB / 1.056 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3749, allocations: 0 / 1.056 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.335e-05/0.375, allocations: 11.98 kB / 1.056 GB, free: 4.383 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.375, allocations: 8 kB / 1.056 GB, free: 4.375 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.375, allocations: 0 / 1.056 GB, free: 4.375 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.375, allocations: 3.938 kB / 1.056 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.375, allocations: 0 / 1.056 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000371/0.3754, allocations: 183.4 kB / 1.056 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.309e-05/0.3755, allocations: 81.02 kB / 1.056 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.857e-05/0.3755, allocations: 8 kB / 1.056 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.3756, allocations: 11.98 kB / 1.056 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.577e-05/0.3757, allocations: 11.92 kB / 1.056 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.3757, allocations: 0 / 1.056 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.536e-05/0.3758, allocations: 95.56 kB / 1.057 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3758, allocations: 0 / 1.057 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002246/0.376, allocations: 4 kB / 1.057 GB, free: 3.949 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 (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.000137/0.3761, allocations: 111.1 kB / 1.057 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002618/0.3764, allocations: 55.94 kB / 1.057 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.3764, allocations: 4 kB / 1.057 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001187/0.3765, allocations: 31.91 kB / 1.057 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003126/0.3769, allocations: 8 kB / 1.057 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003877/0.3773, allocations: 139.3 kB / 1.057 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003022/0.3776, allocations: 0.6809 MB / 1.058 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.68e-05/0.3776, allocations: 4 kB / 1.058 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.586e-05/0.3777, allocations: 11.44 kB / 1.058 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of SimCode: time 1.573e-06/0.3777, allocations: 0 / 1.058 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of Templates: time 0.003048/0.3807, allocations: 0.7832 MB / 1.058 GB, free: 2.07 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches