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.001526/0.001526, allocations: 102.5 kB / 16.35 MB, free: 5.824 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.001686/0.001686, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.41/1.41, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.609/2.609, allocations: 442.6 MB / 0.7165 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 72 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3605/0.3618, allocations: 153 MB / 1.027 GB, free: 2.07 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqual): time 0.003398/0.3652, allocations: 2.013 MB / 1.029 GB, free: 44 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001966/0.3672, allocations: 1.205 MB / 1.03 GB, free: 14.83 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001119/0.3674, allocations: 0 / 1.03 GB, free: 14.83 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0004919/0.3679, allocations: 159.4 kB / 1.03 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003461/0.3682, allocations: 151.4 kB / 1.03 GB, free: 14.53 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005206/0.3688, allocations: 231 kB / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003626/0.3692, allocations: 311.2 kB / 1.031 GB, free: 14 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001662/0.3693, allocations: 48.38 kB / 1.031 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001828/0.3695, allocations: 151.4 kB / 1.031 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001769/0.3697, allocations: 147.4 kB / 1.031 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.095e-05/0.3697, allocations: 20 kB / 1.031 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001232/0.3699, allocations: 51.98 kB / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001075/0.37, allocations: 87.72 kB / 1.031 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.000118/0.3701, allocations: 131.1 kB / 1.031 GB, free: 13.37 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000406/0.3705, allocations: 358.7 kB / 1.032 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3705, allocations: 0 / 1.032 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.404e-06/0.3705, allocations: 0 / 1.032 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.984e-06/0.3706, allocations: 0 / 1.032 GB, free: 13.02 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.001005/0.3716, allocations: 0.6313 MB / 1.032 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.294e-05/0.3716, allocations: 12.03 kB / 1.032 GB, free: 12.33 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.93e-05/0.3717, allocations: 36.56 kB / 1.032 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000529/0.3722, allocations: 374.1 kB / 1.033 GB, free: 11.89 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.409e-05/0.3723, allocations: 8 kB / 1.033 GB, free: 11.88 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.622e-05/0.3723, allocations: 12 kB / 1.033 GB, free: 11.87 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002397/0.3726, allocations: 108.5 kB / 1.033 GB, free: 11.76 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.3726, allocations: 0 / 1.033 GB, free: 11.76 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.3726, allocations: 8 kB / 1.033 GB, free: 11.75 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.3726, allocations: 0 / 1.033 GB, free: 11.75 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001665/0.3728, allocations: 59.97 kB / 1.033 GB, free: 11.69 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008276/0.3736, allocations: 0.4886 MB / 1.033 GB, free: 11.15 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003339/0.374, allocations: 134.6 kB / 1.033 GB, free: 11.01 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001163/0.3741, allocations: 52.83 kB / 1.033 GB, free: 10.96 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.116e-05/0.3741, allocations: 7.984 kB / 1.034 GB, free: 10.95 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002348/0.3744, allocations: 115.3 kB / 1.034 GB, free: 10.82 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=13): time 1.493e-06/0.3744, allocations: 0 / 1.034 GB, free: 10.82 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13): time 0.0005345/0.3749, allocations: 221.3 kB / 1.034 GB, free: 10.6 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.984e-05/0.375, allocations: 55.41 kB / 1.034 GB, free: 10.54 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005604/0.3755, allocations: 0.5054 MB / 1.034 GB, free: 10.02 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/0.3756, allocations: 29.64 kB / 1.034 GB, free: 9.988 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001418/0.3757, allocations: 164.4 kB / 1.035 GB, free: 9.824 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.226e-05/0.3758, allocations: 39.55 kB / 1.035 GB, free: 9.785 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/0.3759, allocations: 69.88 kB / 1.035 GB, free: 9.711 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.376, allocations: 346.8 kB / 1.035 GB, free: 9.363 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001953/0.3762, allocations: 100.5 kB / 1.035 GB, free: 9.266 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002338/0.3765, allocations: 140.1 kB / 1.035 GB, free: 9.121 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003153/0.3768, allocations: 175.5 kB / 1.035 GB, free: 8.941 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.3768, allocations: 4 kB / 1.035 GB, free: 8.938 MB / 0.8106 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005282/0.3774, allocations: 317.2 kB / 1.036 GB, free: 8.621 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.3774, allocations: 4 kB / 1.036 GB, free: 8.617 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.3774, allocations: 7.938 kB / 1.036 GB, free: 8.609 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.3774, allocations: 0 / 1.036 GB, free: 8.609 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002328/0.3777, allocations: 55.91 kB / 1.036 GB, free: 8.555 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.3777, allocations: 3.938 kB / 1.036 GB, free: 8.551 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001377/0.3778, allocations: 23.83 kB / 1.036 GB, free: 8.527 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.145e-05/0.3779, allocations: 8 kB / 1.036 GB, free: 8.52 MB / 0.8106 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 ($PRE.timTabLin1.tab.nextTimeEvent,$whenCondition2,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition1,timTabLin1.tab.nextTimeEventScaled,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,reaToInt1.y,reaToInt.y,intGreEqu.y) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002143/0.3781, allocations: 185.8 kB / 1.036 GB, free: 8.328 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.261e-05/0.3781, allocations: 31.62 kB / 1.036 GB, free: 8.297 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.702e-05/0.3782, allocations: 43.05 kB / 1.036 GB, free: 8.254 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.3782, allocations: 4 kB / 1.036 GB, free: 8.25 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/0.3783, allocations: 0 / 1.036 GB, free: 8.25 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.451e-06/0.3783, allocations: 0 / 1.036 GB, free: 8.25 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003633/0.3786, allocations: 305.3 kB / 1.036 GB, free: 7.902 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.3786, allocations: 4 kB / 1.036 GB, free: 7.898 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.705e-05/0.3787, allocations: 11.94 kB / 1.036 GB, free: 7.887 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.3787, allocations: 3.984 kB / 1.036 GB, free: 7.883 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.554e-05/0.3788, allocations: 19.92 kB / 1.036 GB, free: 7.863 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.3788, allocations: 0 / 1.036 GB, free: 7.863 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3788, allocations: 0 / 1.036 GB, free: 7.863 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004025/0.3792, allocations: 199.1 kB / 1.037 GB, free: 7.652 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001271/0.3793, allocations: 112.7 kB / 1.037 GB, free: 7.523 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.527e-05/0.3794, allocations: 7.938 kB / 1.037 GB, free: 7.516 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.25e-05/0.3795, allocations: 7.984 kB / 1.037 GB, free: 7.508 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.807e-05/0.3796, allocations: 27.98 kB / 1.037 GB, free: 7.48 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.547e-05/0.3796, allocations: 7.984 kB / 1.037 GB, free: 7.473 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003447/0.3799, allocations: 311.1 kB / 1.037 GB, free: 7.168 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3799, allocations: 3.938 kB / 1.037 GB, free: 7.164 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003097/0.3803, allocations: 59.89 kB / 1.037 GB, free: 7.105 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: 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 (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.001187/0.3815, allocations: 414.4 kB / 1.037 GB, free: 6.852 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004058/0.3819, allocations: 195.8 kB / 1.038 GB, free: 6.66 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3819, allocations: 4 kB / 1.038 GB, free: 6.656 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001428/0.3821, allocations: 61.66 kB / 1.038 GB, free: 6.598 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000446/0.3825, allocations: 93.28 kB / 1.038 GB, free: 6.516 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008202/0.3833, allocations: 0.5163 MB / 1.038 GB, free: 5.977 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003828/0.3837, allocations: 0.7909 MB / 1.039 GB, free: 5.16 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001271/0.3839, allocations: 54.94 kB / 1.039 GB, free: 5.102 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.194e-05/0.384, allocations: 35.42 kB / 1.039 GB, free: 5.066 MB / 0.8106 GB Notification: Performance of SimCode: time 2.81e-07/0.384, allocations: 0 / 1.039 GB, free: 5.066 MB / 0.8106 GB Notification: Performance of Templates: time 0.008022/0.392, allocations: 4.064 MB / 1.043 GB, free: 1.043 MB / 0.8106 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 -s gbode -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/jenkins1/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