Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqual.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.GreaterEqual,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intGreEqu.u1|intGreEqu.u2|intGreEqu.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqual") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqual,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intGreEqu.u1|intGreEqu.u2|intGreEqu.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqual") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008088/0.0008092, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.0008825/0.0008825, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 223.3 MB / 240 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.845/2.845, allocations: 462.6 MB / 0.736 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003876/0.0003876, allocations: 11.81 kB / 0.9021 GB, free: 36.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3763/0.3767, allocations: 159.6 MB / 1.058 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqual): time 0.002782/0.3795, allocations: 1.66 MB / 1.06 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002114/0.3816, allocations: 1.112 MB / 1.061 GB, free: 2.523 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002088/0.3819, allocations: 3.938 kB / 1.061 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0004974/0.3824, allocations: 147.6 kB / 1.061 GB, free: 2.375 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003707/0.3828, allocations: 123.5 kB / 1.061 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000653/0.3834, allocations: 191 kB / 1.061 GB, free: 2.07 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004562/0.3839, allocations: 263.2 kB / 1.061 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001698/0.3841, allocations: 40.38 kB / 1.061 GB, free: 1.773 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002752/0.3844, allocations: 123.4 kB / 1.062 GB, free: 1.652 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002365/0.3846, allocations: 127.5 kB / 1.062 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.735e-05/0.3847, allocations: 8 kB / 1.062 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001678/0.3848, allocations: 43.97 kB / 1.062 GB, free: 1.477 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001112/0.385, allocations: 75.73 kB / 1.062 GB, free: 1.402 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.862e-05/0.3851, allocations: 69.52 kB / 1.062 GB, free: 1.328 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003888/0.3855, allocations: 287.5 kB / 1.062 GB, free: 1.047 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.3855, allocations: 4 kB / 1.062 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.863e-06/0.3855, allocations: 0 / 1.062 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.041e-05/0.3855, allocations: 0 / 1.062 GB, free: 1.043 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.00116/0.3867, allocations: 0.5718 MB / 1.063 GB, free: 432 kB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/0.3867, allocations: 8.031 kB / 1.063 GB, free: 424 kB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001149/0.3868, allocations: 35.61 kB / 1.063 GB, free: 388 kB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005899/0.3874, allocations: 353.3 kB / 1.063 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.185e-05/0.3875, allocations: 15.89 kB / 1.063 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.377e-05/0.3875, allocations: 4 kB / 1.063 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002654/0.3878, allocations: 115.2 kB / 1.063 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.3878, allocations: 0 / 1.063 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.595e-05/0.3878, allocations: 0 / 1.063 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.3878, allocations: 8 kB / 1.063 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001967/0.388, allocations: 63.89 kB / 1.063 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009058/0.389, allocations: 496.5 kB / 1.064 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003435/0.3893, allocations: 138.7 kB / 1.064 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001126/0.3894, allocations: 56.77 kB / 1.064 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.341e-05/0.3895, allocations: 0 / 1.064 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000249/0.3897, allocations: 109.4 kB / 1.064 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=13): time 1.623e-06/0.3898, allocations: 4 kB / 1.064 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13): time 0.0005367/0.3903, allocations: 221.3 kB / 1.064 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.719e-05/0.3904, allocations: 51.41 kB / 1.064 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006178/0.391, allocations: 0.5132 MB / 1.065 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.877e-05/0.391, allocations: 33.7 kB / 1.065 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001417/0.3912, allocations: 164.4 kB / 1.065 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.92e-05/0.3912, allocations: 35.55 kB / 1.065 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.562e-05/0.3912, allocations: 4 kB / 1.065 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.3914, allocations: 350.8 kB / 1.065 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001863/0.3916, allocations: 96.52 kB / 1.065 GB, free: 13.42 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000221/0.3918, allocations: 139.5 kB / 1.066 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000231/0.3921, allocations: 104 kB / 1.066 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.3921, allocations: 0 / 1.066 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005632/0.3926, allocations: 318.7 kB / 1.066 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.3927, allocations: 4 kB / 1.066 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.3927, allocations: 0 / 1.066 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.101e-05/0.3927, allocations: 7.984 kB / 1.066 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002215/0.3929, allocations: 51.91 kB / 1.066 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.393, allocations: 4 kB / 1.066 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001615/0.3931, allocations: 23.83 kB / 1.066 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.505e-05/0.3932, allocations: 11.95 kB / 1.066 GB, free: 12.76 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition2,$PRE.timTabLin1.tab.nextTimeEvent,$whenCondition1,$PRE.timTabLin.tab.nextTimeEvent,intGreEqu.y,reaToInt.y,reaToInt1.y,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002012/0.3934, allocations: 185.8 kB / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.246e-05/0.3934, allocations: 31.62 kB / 1.066 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.593e-05/0.3935, allocations: 31.12 kB / 1.066 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.3935, allocations: 4 kB / 1.066 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-05/0.3935, allocations: 0 / 1.066 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.3935, allocations: 3.938 kB / 1.066 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002872/0.3938, allocations: 309.3 kB / 1.067 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.3939, allocations: 0 / 1.067 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.68e-05/0.3939, allocations: 11.98 kB / 1.067 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.3939, allocations: 4 kB / 1.067 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.618e-05/0.394, allocations: 4 kB / 1.067 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.394, allocations: 0 / 1.067 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.394, allocations: 3.938 kB / 1.067 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003624/0.3943, allocations: 219.7 kB / 1.067 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.3944, allocations: 116.7 kB / 1.067 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.379e-05/0.3945, allocations: 8 kB / 1.067 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.254e-05/0.3946, allocations: 11.98 kB / 1.067 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.951e-05/0.3947, allocations: 19.98 kB / 1.067 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.635e-05/0.3947, allocations: 7.984 kB / 1.067 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003427/0.395, allocations: 319.1 kB / 1.067 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.3e-07/0.3951, allocations: 0 / 1.067 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003163/0.3954, allocations: 51.91 kB / 1.067 GB, free: 11.36 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: 9 ($whenCondition2,$whenCondition1,intGreEqu.y,reaToInt.y,reaToInt1.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin1.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001166/0.3965, allocations: 413.7 kB / 1.068 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004018/0.397, allocations: 204 kB / 1.068 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.397, allocations: 3.938 kB / 1.068 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001485/0.3971, allocations: 59.97 kB / 1.068 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004665/0.3976, allocations: 83.25 kB / 1.068 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001042/0.3987, allocations: 0.5769 MB / 1.069 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003985/0.3991, allocations: 0.7872 MB / 1.069 GB, free: 9.348 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001846/0.3993, allocations: 58.94 kB / 1.07 GB, free: 9.289 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001027/0.3994, allocations: 35.42 kB / 1.07 GB, free: 9.258 MB / 0.8262 GB Notification: Performance of SimCode: time 6.41e-07/0.3994, allocations: 0 / 1.07 GB, free: 9.258 MB / 0.8262 GB Notification: Performance of Templates: time 0.009004/0.4084, allocations: 3.727 MB / 1.073 GB, free: 5.566 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqual.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqual.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqual.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqual.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqual.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqual -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqual.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqual_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqual.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqual.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches