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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001878/0.001878, allocations: 102.3 kB / 19.7 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002232/0.002232, allocations: 220.2 kB / 23.01 MB, free: 4.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.487/1.487, allocations: 230.6 MB / 256.8 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.241/3.241, allocations: 0.505 GB / 0.8108 GB, free: 22.07 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|intGreThr.t|intGreThr.u|intGreThr.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002093/0.002093, allocations: 65.81 kB / 1.178 GB, free: 16.88 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.371/0.3731, allocations: 180.2 MB / 1.354 GB, free: 7.98 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.002522/0.3757, allocations: 0.7113 MB / 1.355 GB, free: 7.273 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001401/0.3771, allocations: 0.8705 MB / 1.356 GB, free: 6.391 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.443e-05/0.3771, allocations: 0 / 1.356 GB, free: 6.391 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.051e-05/0.3771, allocations: 3.938 kB / 1.356 GB, free: 6.387 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 9.426e-05/0.3772, allocations: 7.938 kB / 1.356 GB, free: 6.379 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001931/0.3774, allocations: 27.89 kB / 1.356 GB, free: 6.352 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001258/0.3776, allocations: 43.86 kB / 1.356 GB, free: 6.309 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001429/0.3777, allocations: 11.98 kB / 1.356 GB, free: 6.297 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 9.506e-05/0.3778, allocations: 23.92 kB / 1.356 GB, free: 6.273 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 8.71e-05/0.3779, allocations: 27.91 kB / 1.356 GB, free: 6.246 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.303e-05/0.3779, allocations: 4 kB / 1.356 GB, free: 6.242 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.279e-05/0.3779, allocations: 4 kB / 1.356 GB, free: 6.238 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.531e-05/0.378, allocations: 15.98 kB / 1.356 GB, free: 6.223 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.644e-05/0.378, allocations: 11.88 kB / 1.356 GB, free: 6.211 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001407/0.3781, allocations: 55.78 kB / 1.356 GB, free: 6.156 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.3781, allocations: 0 / 1.356 GB, free: 6.156 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.974e-06/0.3781, allocations: 0 / 1.356 GB, free: 6.156 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.3782, allocations: 0 / 1.356 GB, free: 6.156 MB / 1.045 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.0006756/0.3788, allocations: 282.2 kB / 1.356 GB, free: 5.852 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.3789, allocations: 8.031 kB / 1.356 GB, free: 5.844 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.466e-05/0.3789, allocations: 8.938 kB / 1.356 GB, free: 5.836 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000162/0.3791, allocations: 118.4 kB / 1.356 GB, free: 5.695 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.3791, allocations: 384 / 1.356 GB, free: 5.695 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.564e-05/0.3791, allocations: 4.375 kB / 1.356 GB, free: 5.691 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000231/0.3793, allocations: 73.58 kB / 1.356 GB, free: 5.613 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.3794, allocations: 0 / 1.356 GB, free: 5.613 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.3794, allocations: 7.938 kB / 1.356 GB, free: 5.605 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.3794, allocations: 0 / 1.356 GB, free: 5.605 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002084/0.3796, allocations: 51.95 kB / 1.356 GB, free: 5.555 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005747/0.3802, allocations: 263.8 kB / 1.357 GB, free: 5.254 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002129/0.3804, allocations: 62.53 kB / 1.357 GB, free: 5.184 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000108/0.3805, allocations: 32.86 kB / 1.357 GB, free: 5.148 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.293e-05/0.3805, allocations: 0 / 1.357 GB, free: 5.148 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.934e-05/0.3805, allocations: 38.55 kB / 1.357 GB, free: 5.102 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.3805, allocations: 0 / 1.357 GB, free: 5.102 MB / 1.045 GB Notification: Performance of matching and sorting (n=4): time 0.0004488/0.381, allocations: 109.6 kB / 1.357 GB, free: 4.988 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.796e-05/0.381, allocations: 51.41 kB / 1.357 GB, free: 4.926 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.3812, allocations: 105.8 kB / 1.357 GB, free: 4.812 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.341e-05/0.3812, allocations: 33.7 kB / 1.357 GB, free: 4.773 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.95e-05/0.3813, allocations: 88.09 kB / 1.357 GB, free: 4.684 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.59e-05/0.3813, allocations: 11.89 kB / 1.357 GB, free: 4.672 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.263e-05/0.3813, allocations: 17.7 kB / 1.357 GB, free: 4.648 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001776/0.3815, allocations: 322.8 kB / 1.357 GB, free: 4.324 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001032/0.3816, allocations: 23.97 kB / 1.358 GB, free: 4.301 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.656e-05/0.3817, allocations: 19.98 kB / 1.358 GB, free: 4.281 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001925/0.3819, allocations: 52.81 kB / 1.358 GB, free: 4.227 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3819, allocations: 0 / 1.358 GB, free: 4.227 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002483/0.3821, allocations: 93.53 kB / 1.358 GB, free: 4.129 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.285e-05/0.3822, allocations: 9.562 kB / 1.358 GB, free: 4.121 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.3822, allocations: 0.6406 kB / 1.358 GB, free: 4.121 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.3822, allocations: 0 / 1.358 GB, free: 4.121 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001333/0.3823, allocations: 11.98 kB / 1.358 GB, free: 4.109 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.3823, allocations: 4 kB / 1.358 GB, free: 4.105 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.373e-05/0.3824, allocations: 7.984 kB / 1.358 GB, free: 4.098 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.866e-06/0.3824, allocations: 3.984 kB / 1.358 GB, free: 4.094 MB / 1.045 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.0001145/0.3825, allocations: 126.4 kB / 1.358 GB, free: 3.961 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.774e-05/0.3826, allocations: 4 kB / 1.358 GB, free: 3.957 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.127e-05/0.3826, allocations: 11.98 kB / 1.358 GB, free: 3.941 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.3826, allocations: 0 / 1.358 GB, free: 3.941 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.3826, allocations: 7.938 kB / 1.358 GB, free: 3.934 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.3826, allocations: 4 kB / 1.358 GB, free: 3.93 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002073/0.3828, allocations: 148.7 kB / 1.358 GB, free: 3.742 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.3828, allocations: 0 / 1.358 GB, free: 3.742 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.133e-05/0.3829, allocations: 15.92 kB / 1.358 GB, free: 3.727 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.3829, allocations: 0 / 1.358 GB, free: 3.727 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.3829, allocations: 0 / 1.358 GB, free: 3.727 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3829, allocations: 0 / 1.358 GB, free: 3.727 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.3829, allocations: 0 / 1.358 GB, free: 3.727 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003107/0.3832, allocations: 191.4 kB / 1.358 GB, free: 3.523 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 9.508e-06/0.3832, allocations: 0 / 1.358 GB, free: 3.523 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.749e-05/0.3832, allocations: 0 / 1.358 GB, free: 3.523 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.3834, allocations: 11.98 kB / 1.358 GB, free: 3.512 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.839e-05/0.3834, allocations: 11.98 kB / 1.358 GB, free: 3.5 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.513e-06/0.3834, allocations: 7.938 kB / 1.358 GB, free: 3.492 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.12e-05/0.3835, allocations: 83.27 kB / 1.358 GB, free: 3.41 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3835, allocations: 0 / 1.358 GB, free: 3.41 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002262/0.3837, allocations: 19.94 kB / 1.358 GB, free: 3.391 MB / 1.045 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.0001549/0.3839, allocations: 97.94 kB / 1.358 GB, free: 3.289 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002611/0.3841, allocations: 55.94 kB / 1.358 GB, free: 3.234 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3841, allocations: 0 / 1.358 GB, free: 3.234 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001053/0.3842, allocations: 23.98 kB / 1.358 GB, free: 3.211 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003669/0.3846, allocations: 15.98 kB / 1.358 GB, free: 3.195 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004286/0.385, allocations: 147.3 kB / 1.359 GB, free: 3.02 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003323/0.3854, allocations: 0.6845 MB / 1.359 GB, free: 2.309 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.872e-05/0.3854, allocations: 15.42 kB / 1.359 GB, free: 2.293 MB / 1.045 GB Notification: Performance of SimCode: time 3.21e-07/0.3854, allocations: 0 / 1.359 GB, free: 2.293 MB / 1.045 GB Notification: Performance of Templates: time 0.002621/0.388, allocations: 0.8158 MB / 1.36 GB, free: 1.48 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) [Timeout 800] 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.425241326971445]