Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max.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.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001621/0.001621, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002713/0.002713, allocations: 193.9 kB / 16.14 MB, free: 6.711 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.639/1.639, allocations: 222.9 MB / 239.8 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.313/3.313, allocations: 472.6 MB / 0.7447 GB, free: 5.008 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001552/0.001552, allocations: 69.69 kB / 0.9114 GB, free: 33.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4371/0.4387, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.00308/0.4418, allocations: 0.8325 MB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001362/0.4432, allocations: 0.8701 MB / 1.069 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.962e-05/0.4433, allocations: 0 / 1.069 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.687e-05/0.4434, allocations: 7.938 kB / 1.069 GB, free: 9.184 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001034/0.4435, allocations: 7.969 kB / 1.069 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001808/0.4437, allocations: 35.91 kB / 1.069 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001189/0.4438, allocations: 71.84 kB / 1.069 GB, free: 9.07 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001463/0.444, allocations: 31.97 kB / 1.069 GB, free: 9.039 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.679e-05/0.444, allocations: 35.84 kB / 1.069 GB, free: 9.004 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001028/0.4442, allocations: 43.81 kB / 1.069 GB, free: 8.961 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.632e-05/0.4442, allocations: 4 kB / 1.069 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.908e-05/0.4442, allocations: 8 kB / 1.069 GB, free: 8.949 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.967e-05/0.4443, allocations: 15.92 kB / 1.069 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.259e-05/0.4443, allocations: 31.8 kB / 1.069 GB, free: 8.902 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001412/0.4445, allocations: 91.7 kB / 1.07 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.4445, allocations: 0 / 1.07 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.512e-06/0.4445, allocations: 0 / 1.07 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.4445, allocations: 0 / 1.07 GB, free: 8.812 MB / 0.8262 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.0007115/0.4452, allocations: 395.5 kB / 1.07 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.4453, allocations: 8.031 kB / 1.07 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.735e-05/0.4453, allocations: 12.84 kB / 1.07 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001639/0.4455, allocations: 176.2 kB / 1.07 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/0.4455, allocations: 12.38 kB / 1.07 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.16e-05/0.4455, allocations: 8.312 kB / 1.07 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003265/0.4459, allocations: 105.7 kB / 1.07 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.637e-06/0.4459, allocations: 0 / 1.07 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.645e-05/0.4459, allocations: 0 / 1.07 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.4459, allocations: 0 / 1.07 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003933/0.4463, allocations: 103.9 kB / 1.07 GB, free: 7.918 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006425/0.447, allocations: 340.6 kB / 1.071 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007026/0.4477, allocations: 122.6 kB / 1.071 GB, free: 7.406 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001989/0.4479, allocations: 52.81 kB / 1.071 GB, free: 7.352 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.956e-05/0.4479, allocations: 7.938 kB / 1.071 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/0.448, allocations: 34.55 kB / 1.071 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.448, allocations: 0 / 1.071 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0007189/0.4487, allocations: 193.4 kB / 1.071 GB, free: 7.105 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.737e-05/0.4488, allocations: 51.41 kB / 1.071 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.4489, allocations: 125.8 kB / 1.071 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/0.4489, allocations: 25.7 kB / 1.071 GB, free: 6.879 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.27e-05/0.449, allocations: 100 kB / 1.071 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.098e-05/0.449, allocations: 23.73 kB / 1.071 GB, free: 6.754 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.158e-05/0.4491, allocations: 21.7 kB / 1.071 GB, free: 6.727 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.4492, allocations: 318.8 kB / 1.072 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001922/0.4494, allocations: 47.95 kB / 1.072 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001787/0.4496, allocations: 47.94 kB / 1.072 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003522/0.45, allocations: 100.7 kB / 1.072 GB, free: 6.211 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.45, allocations: 0 / 1.072 GB, free: 6.211 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004267/0.4504, allocations: 133.5 kB / 1.072 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.4504, allocations: 8 kB / 1.072 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.4505, allocations: 3.984 kB / 1.072 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.203e-05/0.4505, allocations: 4 kB / 1.072 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001822/0.4507, allocations: 23.97 kB / 1.072 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.4507, allocations: 0 / 1.072 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001271/0.4508, allocations: 19.92 kB / 1.072 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.4508, allocations: 0 / 1.072 GB, free: 6.016 MB / 0.8262 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 0.0001113/0.451, allocations: 117.8 kB / 1.072 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.323e-05/0.451, allocations: 11.91 kB / 1.072 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005006/0.4515, allocations: 145.9 kB / 1.072 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.4515, allocations: 0 / 1.072 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/0.4515, allocations: 4 kB / 1.072 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.4515, allocations: 3.938 kB / 1.072 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002359/0.4518, allocations: 209.4 kB / 1.073 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.4518, allocations: 4 kB / 1.073 GB, free: 5.465 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001701/0.452, allocations: 23.97 kB / 1.073 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.452, allocations: 0 / 1.073 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.452, allocations: 8 kB / 1.073 GB, free: 5.434 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.452, allocations: 4 kB / 1.073 GB, free: 5.43 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.452, allocations: 0 / 1.073 GB, free: 5.43 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005014/0.4525, allocations: 235.3 kB / 1.073 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.599e-05/0.4526, allocations: 85.02 kB / 1.073 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.561e-05/0.4526, allocations: 3.984 kB / 1.073 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001534/0.4528, allocations: 15.98 kB / 1.073 GB, free: 5.062 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.545e-05/0.4529, allocations: 15.97 kB / 1.073 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.171e-05/0.4529, allocations: 7.938 kB / 1.073 GB, free: 5.039 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.445e-05/0.453, allocations: 99.7 kB / 1.073 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.453, allocations: 0 / 1.073 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002432/0.4532, allocations: 12 kB / 1.073 GB, free: 4.93 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: 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.0001888/0.4534, allocations: 99.25 kB / 1.073 GB, free: 4.824 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004553/0.4539, allocations: 112.5 kB / 1.073 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.4539, allocations: 7.938 kB / 1.073 GB, free: 4.707 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002204/0.4541, allocations: 59.95 kB / 1.073 GB, free: 4.648 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000394/0.4545, allocations: 8.312 kB / 1.073 GB, free: 4.641 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005526/0.4551, allocations: 207.7 kB / 1.074 GB, free: 4.406 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000297/0.4554, allocations: 0.6887 MB / 1.074 GB, free: 3.691 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.58e-05/0.4555, allocations: 12 kB / 1.074 GB, free: 3.68 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.372e-05/0.4556, allocations: 15.42 kB / 1.074 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of SimCode: time 5.71e-07/0.4556, allocations: 0 / 1.074 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of Templates: time 0.004954/0.4606, allocations: 1.351 MB / 1.076 GB, free: 2.324 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1)