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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001793/0.001793, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001978/0.001978, allocations: 192.8 kB / 16.25 MB, free: 6.637 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.506/1.506, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.059/3.059, allocations: 482.4 MB / 0.7543 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 62.91 kB / 0.9233 GB, free: 29.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3852/0.3871, allocations: 162.2 MB / 1.082 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.002195/0.3894, allocations: 0.7634 MB / 1.083 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001075/0.3905, allocations: 0.8351 MB / 1.083 GB, free: 12 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.003e-05/0.3905, allocations: 8 kB / 1.083 GB, free: 12 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.516e-05/0.3906, allocations: 0 / 1.083 GB, free: 12 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 8.496e-05/0.3907, allocations: 3.938 kB / 1.083 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001401/0.3908, allocations: 19.98 kB / 1.083 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001012/0.3909, allocations: 51.84 kB / 1.083 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.391, allocations: 11.98 kB / 1.083 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 6.678e-05/0.3911, allocations: 19.92 kB / 1.083 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.901e-05/0.3912, allocations: 31.91 kB / 1.083 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.533e-05/0.3912, allocations: 4 kB / 1.083 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.393e-05/0.3912, allocations: 4 kB / 1.083 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.971e-05/0.3913, allocations: 7.984 kB / 1.083 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.552e-05/0.3913, allocations: 23.86 kB / 1.083 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001015/0.3914, allocations: 39.86 kB / 1.084 GB, free: 11.78 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.3914, allocations: 0 / 1.084 GB, free: 11.78 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3914, allocations: 3.938 kB / 1.084 GB, free: 11.78 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.109e-06/0.3914, allocations: 0 / 1.084 GB, free: 11.78 MB / 0.8419 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.000569/0.392, allocations: 363.7 kB / 1.084 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.3921, allocations: 12.03 kB / 1.084 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.297e-05/0.3921, allocations: 8.828 kB / 1.084 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001536/0.3923, allocations: 172.3 kB / 1.084 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.3923, allocations: 384 / 1.084 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.718e-05/0.3923, allocations: 8.375 kB / 1.084 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002021/0.3925, allocations: 65.78 kB / 1.084 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.3925, allocations: 0 / 1.084 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.3925, allocations: 7.984 kB / 1.084 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.3926, allocations: 4 kB / 1.084 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002083/0.3928, allocations: 47.95 kB / 1.084 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004865/0.3933, allocations: 292.6 kB / 1.084 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002036/0.3935, allocations: 66.53 kB / 1.085 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001075/0.3936, allocations: 28.92 kB / 1.085 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.865e-05/0.3936, allocations: 0 / 1.085 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.615e-05/0.3937, allocations: 34.56 kB / 1.085 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=4): time 8.81e-07/0.3937, allocations: 3.938 kB / 1.085 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4): time 0.0004107/0.3941, allocations: 113.5 kB / 1.085 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.716e-05/0.3941, allocations: 51.41 kB / 1.085 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/0.3943, allocations: 117.8 kB / 1.085 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/0.3943, allocations: 25.7 kB / 1.085 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.846e-05/0.3944, allocations: 80.14 kB / 1.085 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.302e-05/0.3944, allocations: 11.91 kB / 1.085 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.924e-05/0.3944, allocations: 21.7 kB / 1.085 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.3946, allocations: 314.8 kB / 1.085 GB, free: 9.75 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001032/0.3947, allocations: 27.97 kB / 1.085 GB, free: 9.723 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.685e-05/0.3948, allocations: 19.98 kB / 1.085 GB, free: 9.703 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001842/0.395, allocations: 56.81 kB / 1.085 GB, free: 9.645 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.395, allocations: 0 / 1.085 GB, free: 9.645 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002406/0.3952, allocations: 89.48 kB / 1.085 GB, free: 9.551 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.3953, allocations: 8 kB / 1.085 GB, free: 9.543 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.3953, allocations: 0 / 1.085 GB, free: 9.543 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.3953, allocations: 0 / 1.085 GB, free: 9.543 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001251/0.3954, allocations: 11.98 kB / 1.086 GB, free: 9.531 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.3954, allocations: 0 / 1.086 GB, free: 9.531 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.347e-05/0.3955, allocations: 7.984 kB / 1.086 GB, free: 9.523 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.085e-05/0.3955, allocations: 4 kB / 1.086 GB, free: 9.52 MB / 0.8419 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 9.91e-05/0.3956, allocations: 114.1 kB / 1.086 GB, free: 9.398 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.857e-05/0.3957, allocations: 4 kB / 1.086 GB, free: 9.395 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.876e-05/0.3957, allocations: 15.89 kB / 1.086 GB, free: 9.375 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.3957, allocations: 7.922 kB / 1.086 GB, free: 9.367 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.3957, allocations: 0 / 1.086 GB, free: 9.367 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.3957, allocations: 4 kB / 1.086 GB, free: 9.363 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002074/0.3959, allocations: 181.6 kB / 1.086 GB, free: 9.137 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.396, allocations: 0 / 1.086 GB, free: 9.137 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.613e-05/0.3961, allocations: 15.92 kB / 1.086 GB, free: 9.121 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.3961, allocations: 0 / 1.086 GB, free: 9.121 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.3961, allocations: 3.984 kB / 1.086 GB, free: 9.117 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.3961, allocations: 0 / 1.086 GB, free: 9.117 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3961, allocations: 7.938 kB / 1.086 GB, free: 9.109 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002897/0.3964, allocations: 187.3 kB / 1.086 GB, free: 8.91 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.157e-05/0.3965, allocations: 77.11 kB / 1.086 GB, free: 8.816 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.761e-05/0.3965, allocations: 4 kB / 1.086 GB, free: 8.812 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.3966, allocations: 7.984 kB / 1.086 GB, free: 8.805 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.462e-05/0.3967, allocations: 15.98 kB / 1.086 GB, free: 8.789 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.163e-06/0.3967, allocations: 4 kB / 1.086 GB, free: 8.785 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.156e-05/0.3967, allocations: 79.28 kB / 1.086 GB, free: 8.707 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3967, allocations: 0 / 1.086 GB, free: 8.707 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002211/0.397, allocations: 12 kB / 1.086 GB, free: 8.695 MB / 0.8419 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.0001491/0.3971, allocations: 103.2 kB / 1.086 GB, free: 8.586 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002528/0.3974, allocations: 55.89 kB / 1.086 GB, free: 8.531 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3974, allocations: 4 kB / 1.086 GB, free: 8.527 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001126/0.3975, allocations: 35.97 kB / 1.086 GB, free: 8.492 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002945/0.3978, allocations: 3.969 kB / 1.086 GB, free: 8.492 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003707/0.3982, allocations: 149.4 kB / 1.087 GB, free: 8.32 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003214/0.3985, allocations: 0.6846 MB / 1.087 GB, free: 7.609 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 4.507e-05/0.3986, allocations: 4 kB / 1.087 GB, free: 7.605 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.93e-05/0.3986, allocations: 11.42 kB / 1.087 GB, free: 7.594 MB / 0.8419 GB Notification: Performance of SimCode: time 2.51e-07/0.3986, allocations: 4 kB / 1.087 GB, free: 7.59 MB / 0.8419 GB Notification: Performance of Templates: time 0.003303/0.4019, allocations: 0.7961 MB / 1.088 GB, free: 6.801 MB / 0.8419 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=400 -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/jenkins/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