Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.308/2.308, allocations: 391.2 MB / 407 MB, free: 10.84 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001468/0.001468, allocations: 187.5 kB / 499.1 MB, free: 4.617 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.553/1.553, allocations: 222.9 MB / 0.7948 GB, free: 15.74 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 95.77 kB / 0.9329 GB, free: 7.062 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001068/0.001068, allocations: 50 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3592/0.3603, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.002503/0.3628, allocations: 0.8319 MB / 1.219 GB, free: 116.4 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001117/0.364, allocations: 0.8623 MB / 1.22 GB, free: 115.5 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.78e-05/0.3641, allocations: 0 / 1.22 GB, free: 115.5 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 4.331e-05/0.3642, allocations: 3.938 kB / 1.22 GB, free: 115.5 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0001079/0.3643, allocations: 7.938 kB / 1.22 GB, free: 115.5 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002412/0.3645, allocations: 39.95 kB / 1.22 GB, free: 115.4 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001561/0.3647, allocations: 79.83 kB / 1.22 GB, free: 115.4 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001561/0.3649, allocations: 19.98 kB / 1.22 GB, free: 115.4 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001141/0.365, allocations: 39.84 kB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 9.916e-05/0.3651, allocations: 47.77 kB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.532e-05/0.3651, allocations: 8 kB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 1.76e-05/0.3651, allocations: 4 kB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 3.164e-05/0.3652, allocations: 19.95 kB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 5.308e-05/0.3652, allocations: 35.8 kB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001269/0.3654, allocations: 79.72 kB / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.3654, allocations: 0 / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.814e-06/0.3654, allocations: 4 kB / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.3654, allocations: 0 / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007183/0.3661, allocations: 389.4 kB / 1.221 GB, free: 114.7 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/0.3662, allocations: 11.98 kB / 1.221 GB, free: 114.7 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.932e-05/0.3663, allocations: 8.844 kB / 1.221 GB, free: 114.7 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/0.3664, allocations: 184.1 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.091e-05/0.3664, allocations: 4.375 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.703e-05/0.3665, allocations: 4.375 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002978/0.3668, allocations: 109.4 kB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.3668, allocations: 4 kB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.3668, allocations: 4 kB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.752e-06/0.3668, allocations: 0 / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003565/0.3672, allocations: 95.89 kB / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005058/0.3677, allocations: 356.5 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000576/0.3683, allocations: 118.6 kB / 1.221 GB, free: 113.7 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001691/0.3685, allocations: 48.81 kB / 1.221 GB, free: 113.7 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.646e-05/0.3685, allocations: 4 kB / 1.221 GB, free: 113.7 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.434e-05/0.3685, allocations: 42.5 kB / 1.221 GB, free: 113.6 MB / 0.823 GB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/0.3685, allocations: 0 / 1.221 GB, free: 113.6 MB / 0.823 GB Notification: Performance of matching and sorting (n=7): time 0.000632/0.3692, allocations: 173.5 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.656e-05/0.3692, allocations: 71.33 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.549e-05/0.3693, allocations: 117.8 kB / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.259e-05/0.3693, allocations: 25.7 kB / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.789e-05/0.3694, allocations: 96.03 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.391e-05/0.3694, allocations: 19.66 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.641e-05/0.3694, allocations: 25.7 kB / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.215e-05/0.3695, allocations: 326.8 kB / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001644/0.3697, allocations: 47.95 kB / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001519/0.3698, allocations: 43.95 kB / 1.222 GB, free: 112.6 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003085/0.3702, allocations: 100.7 kB / 1.222 GB, free: 112.5 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.3702, allocations: 0 / 1.222 GB, free: 112.5 MB / 0.823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003615/0.3705, allocations: 149.6 kB / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.3706, allocations: 5.25 kB / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.3706, allocations: 3.938 kB / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.3706, allocations: 0 / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001525/0.3707, allocations: 23.97 kB / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.281e-06/0.3708, allocations: 0 / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000105/0.3709, allocations: 23.83 kB / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.201e-05/0.3709, allocations: 7.984 kB / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (reaToInt1.y,reaToInt.y,max1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 7.722e-05/0.371, allocations: 118.4 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.165e-05/0.371, allocations: 0 / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004563/0.3715, allocations: 150.5 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.3715, allocations: 4 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.3715, allocations: 0 / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/0.3715, allocations: 7.922 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001888/0.3717, allocations: 197.5 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.3717, allocations: 0 / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001405/0.3719, allocations: 23.97 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.61e-06/0.3719, allocations: 0 / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.438e-05/0.3719, allocations: 7.922 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.085e-06/0.3719, allocations: 4 kB / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.3719, allocations: 0 / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007557/0.3727, allocations: 0.8457 MB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.613e-05/0.3727, allocations: 85.02 kB / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.525e-05/0.3728, allocations: 3.938 kB / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001297/0.3729, allocations: 11.98 kB / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.861e-05/0.373, allocations: 23.97 kB / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.844e-06/0.373, allocations: 0 / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of sorting global known variables: time 4.887e-05/0.3731, allocations: 99.64 kB / 1.224 GB, free: 110.6 MB / 0.823 GB Notification: Performance of sort global known variables: time 2.31e-07/0.3731, allocations: 0 / 1.224 GB, free: 110.6 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0004087/0.3735, allocations: 19.94 kB / 1.224 GB, free: 110.6 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (max1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0001807/0.3737, allocations: 103.2 kB / 1.224 GB, free: 110.5 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0004102/0.3741, allocations: 111.8 kB / 1.224 GB, free: 110.4 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.3741, allocations: 0 / 1.224 GB, free: 110.4 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001967/0.3743, allocations: 55.94 kB / 1.224 GB, free: 110.3 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003934/0.3747, allocations: 14.39 kB / 1.224 GB, free: 110.3 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005451/0.3753, allocations: 318.7 kB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001853/0.3755, allocations: 0.6965 MB / 1.225 GB, free: 109.2 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 7.5e-05/0.3756, allocations: 8 kB / 1.225 GB, free: 109.2 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.855e-05/0.3756, allocations: 19.42 kB / 1.225 GB, free: 109.2 MB / 0.823 GB Notification: Performance of SimCode: time 4.81e-07/0.3756, allocations: 0 / 1.225 GB, free: 109.2 MB / 0.823 GB Notification: Performance of Templates: time 0.003846/0.3795, allocations: 1.409 MB / 1.227 GB, free: 107.8 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1)