Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_maint.7.0.x_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_maint.7.0.x_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.0008768/0.000877, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007136/0.007137, allocations: 169.9 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.552/1.552, allocations: 205.4 MB / 222.4 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.608/1.608, allocations: 252 MB / 0.5105 GB, free: 4.707 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001029/0.00103, allocations: 16 kB / 0.6249 GB, free: 0.6992 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6102/0.6113, allocations: 106.3 MB / 0.7287 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.002068/0.6134, allocations: 1.206 MB / 0.7299 GB, free: 10.05 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004713/0.6139, allocations: 180.3 kB / 0.7301 GB, free: 9.871 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.363e-05/0.614, allocations: 4 kB / 0.7301 GB, free: 9.867 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.613e-05/0.614, allocations: 7.922 kB / 0.7301 GB, free: 9.859 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001364/0.6141, allocations: 3.938 kB / 0.7301 GB, free: 9.855 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001894/0.6143, allocations: 35.91 kB / 0.7301 GB, free: 9.82 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001142/0.6145, allocations: 83.81 kB / 0.7302 GB, free: 9.738 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001345/0.6146, allocations: 27.92 kB / 0.7302 GB, free: 9.711 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001084/0.6147, allocations: 31.86 kB / 0.7303 GB, free: 9.68 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001076/0.6148, allocations: 43.81 kB / 0.7303 GB, free: 9.637 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.748e-05/0.6149, allocations: 4 kB / 0.7303 GB, free: 9.633 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.626e-05/0.6149, allocations: 4 kB / 0.7303 GB, free: 9.629 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.152e-05/0.6149, allocations: 15.92 kB / 0.7303 GB, free: 9.613 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.459e-05/0.615, allocations: 49.55 kB / 0.7304 GB, free: 9.559 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000134/0.6151, allocations: 83.64 kB / 0.7305 GB, free: 9.477 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.6152, allocations: 0 / 0.7305 GB, free: 9.477 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.635e-06/0.6152, allocations: 0 / 0.7305 GB, free: 9.477 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.281e-06/0.6152, allocations: 0 / 0.7305 GB, free: 9.477 MB / 0.545 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.0007408/0.6159, allocations: 389.3 kB / 0.7308 GB, free: 9.047 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/0.616, allocations: 12.03 kB / 0.7308 GB, free: 9.035 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.746e-05/0.616, allocations: 8.844 kB / 0.7309 GB, free: 9.027 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001911/0.6162, allocations: 184.2 kB / 0.731 GB, free: 8.809 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.147e-05/0.6163, allocations: 8.375 kB / 0.731 GB, free: 8.801 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.702e-05/0.6163, allocations: 384 / 0.731 GB, free: 8.801 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003574/0.6167, allocations: 114.2 kB / 0.7311 GB, free: 8.684 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.6167, allocations: 192 / 0.7311 GB, free: 8.684 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.6167, allocations: 7.938 kB / 0.7312 GB, free: 8.676 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.6167, allocations: 4 kB / 0.7312 GB, free: 8.672 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003961/0.6171, allocations: 115.9 kB / 0.7313 GB, free: 8.559 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005891/0.6177, allocations: 352.5 kB / 0.7316 GB, free: 8.164 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006353/0.6184, allocations: 134.5 kB / 0.7317 GB, free: 8.023 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000202/0.6186, allocations: 64.81 kB / 0.7318 GB, free: 7.957 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.178e-05/0.6186, allocations: 0 / 0.7318 GB, free: 7.957 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.6186, allocations: 34.56 kB / 0.7318 GB, free: 7.914 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 8.52e-07/0.6186, allocations: 0 / 0.7318 GB, free: 7.914 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0007354/0.6194, allocations: 213.5 kB / 0.732 GB, free: 7.699 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.898e-05/0.6194, allocations: 55.41 kB / 0.7321 GB, free: 7.633 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.6195, allocations: 129.7 kB / 0.7322 GB, free: 7.496 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.6196, allocations: 25.7 kB / 0.7322 GB, free: 7.465 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.702e-05/0.6196, allocations: 92.08 kB / 0.7323 GB, free: 7.371 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.032e-05/0.6197, allocations: 31.62 kB / 0.7323 GB, free: 7.34 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.173e-05/0.6197, allocations: 17.66 kB / 0.7324 GB, free: 7.316 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.6198, allocations: 322.7 kB / 0.7327 GB, free: 6.992 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001943/0.62, allocations: 59.94 kB / 0.7327 GB, free: 6.934 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001934/0.6202, allocations: 63.95 kB / 0.7328 GB, free: 6.871 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003638/0.6206, allocations: 112.8 kB / 0.7329 GB, free: 6.758 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.6206, allocations: 0 / 0.7329 GB, free: 6.758 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004362/0.6211, allocations: 157.6 kB / 0.733 GB, free: 6.598 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.6211, allocations: 4 kB / 0.7331 GB, free: 6.594 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.6211, allocations: 0 / 0.7331 GB, free: 6.594 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.6211, allocations: 0 / 0.7331 GB, free: 6.594 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001708/0.6213, allocations: 31.91 kB / 0.7331 GB, free: 6.562 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.6213, allocations: 4 kB / 0.7331 GB, free: 6.559 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001259/0.6215, allocations: 31.89 kB / 0.7331 GB, free: 6.527 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.6215, allocations: 3.984 kB / 0.7331 GB, free: 6.523 MB / 0.545 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.0002176/0.6217, allocations: 121.8 kB / 0.7332 GB, free: 6.395 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.118e-05/0.6217, allocations: 7.906 kB / 0.7332 GB, free: 6.387 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005096/0.6223, allocations: 169.9 kB / 0.7334 GB, free: 6.215 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.6223, allocations: 0 / 0.7334 GB, free: 6.215 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.6223, allocations: 4 kB / 0.7334 GB, free: 6.211 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.6223, allocations: 4 kB / 0.7334 GB, free: 6.207 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002141/0.6225, allocations: 197.5 kB / 0.7336 GB, free: 5.965 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.6225, allocations: 3.938 kB / 0.7336 GB, free: 5.961 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001634/0.6227, allocations: 27.97 kB / 0.7336 GB, free: 5.934 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.6227, allocations: 4 kB / 0.7336 GB, free: 5.93 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.6227, allocations: 3.984 kB / 0.7336 GB, free: 5.926 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.6227, allocations: 0 / 0.7336 GB, free: 5.926 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.6227, allocations: 4 kB / 0.7336 GB, free: 5.922 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004981/0.6232, allocations: 267.3 kB / 0.7339 GB, free: 5.645 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.325e-05/0.6233, allocations: 85.05 kB / 0.734 GB, free: 5.543 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.936e-05/0.6233, allocations: 0 / 0.734 GB, free: 5.543 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001467/0.6235, allocations: 19.98 kB / 0.734 GB, free: 5.523 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.913e-05/0.6236, allocations: 15.97 kB / 0.734 GB, free: 5.508 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.26e-05/0.6236, allocations: 8 kB / 0.734 GB, free: 5.5 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.333e-05/0.6237, allocations: 103.1 kB / 0.7341 GB, free: 5.398 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6237, allocations: 0 / 0.7341 GB, free: 5.398 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002309/0.6239, allocations: 19.91 kB / 0.7341 GB, free: 5.379 MB / 0.545 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.0001277/0.6241, allocations: 103.2 kB / 0.7342 GB, free: 5.27 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004586/0.6245, allocations: 124.6 kB / 0.7344 GB, free: 5.148 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.6245, allocations: 0 / 0.7344 GB, free: 5.148 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002218/0.6248, allocations: 79.88 kB / 0.7344 GB, free: 5.07 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000333/0.6251, allocations: 7.938 kB / 0.7344 GB, free: 5.062 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004578/0.6256, allocations: 201.7 kB / 0.7346 GB, free: 4.832 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002634/0.6259, allocations: 0.6887 MB / 0.7353 GB, free: 4.117 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.27e-05/0.6259, allocations: 15.75 kB / 0.7353 GB, free: 4.102 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.866e-05/0.626, allocations: 15.42 kB / 0.7353 GB, free: 4.086 MB / 0.545 GB Notification: Performance of SimCode: time 5.61e-07/0.626, allocations: 0 / 0.7353 GB, free: 4.086 MB / 0.545 GB Notification: Performance of Templates: time 0.004238/0.6303, allocations: 1.336 MB / 0.7366 GB, free: 2.762 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) Environment - environmentSimulation: