Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_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_8_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.0008999/0.0008999, allocations: 91.61 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.0009456/0.0009456, 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 3.2.3+maint.om/package.mo): time 1.448/1.448, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.664/1.664, allocations: 292.7 MB / 0.5499 GB, free: 14.58 MB / 462.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.0005219/0.0005221, allocations: 17.78 kB / 0.6737 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2432/0.2437, allocations: 116.3 MB / 0.7873 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.0009564/0.2447, allocations: 493.2 kB / 0.7878 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001151/0.2459, allocations: 0.8566 MB / 0.7886 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.66e-05/0.2459, allocations: 0 / 0.7886 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.528e-05/0.246, allocations: 3.938 kB / 0.7886 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.404e-05/0.2461, allocations: 7.922 kB / 0.7886 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001637/0.2462, allocations: 35.95 kB / 0.7886 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001175/0.2464, allocations: 67.84 kB / 0.7887 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.2465, allocations: 23.97 kB / 0.7887 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.295e-05/0.2466, allocations: 31.84 kB / 0.7888 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.189e-05/0.2467, allocations: 39.83 kB / 0.7888 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.089e-05/0.2467, allocations: 7.984 kB / 0.7888 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.399e-05/0.2467, allocations: 4 kB / 0.7888 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.979e-05/0.2467, allocations: 11.98 kB / 0.7888 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.413e-05/0.2468, allocations: 37.64 kB / 0.7889 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.677e-05/0.2469, allocations: 63.84 kB / 0.7889 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.2469, allocations: 0 / 0.7889 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.363e-06/0.2469, allocations: 0 / 0.7889 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.2469, allocations: 4 kB / 0.7889 GB, free: 10.25 MB / 0.6075 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.0005665/0.2475, allocations: 387.3 kB / 0.7893 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.2475, allocations: 11.97 kB / 0.7893 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.98e-05/0.2475, allocations: 7.906 kB / 0.7893 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001455/0.2477, allocations: 178.9 kB / 0.7895 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.822e-05/0.2477, allocations: 11.94 kB / 0.7895 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.794e-05/0.2478, allocations: 4 kB / 0.7895 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003018/0.2481, allocations: 117.6 kB / 0.7896 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.2481, allocations: 0 / 0.7896 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.2481, allocations: 8 kB / 0.7896 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.2481, allocations: 4 kB / 0.7896 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003467/0.2485, allocations: 115.9 kB / 0.7897 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005276/0.249, allocations: 344.6 kB / 0.7901 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005688/0.2496, allocations: 130.6 kB / 0.7902 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001761/0.2498, allocations: 64.81 kB / 0.7902 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.428e-05/0.2498, allocations: 4 kB / 0.7902 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.789e-05/0.2498, allocations: 30.56 kB / 0.7903 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 3.326e-06/0.2498, allocations: 0 / 0.7903 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0006186/0.2505, allocations: 221.4 kB / 0.7905 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.22e-05/0.2505, allocations: 51.41 kB / 0.7905 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.557e-05/0.2506, allocations: 125.7 kB / 0.7907 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.2506, allocations: 29.7 kB / 0.7907 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.954e-05/0.2507, allocations: 92.12 kB / 0.7908 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.736e-05/0.2507, allocations: 23.66 kB / 0.7908 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.332e-06/0.2507, allocations: 0 / 0.7908 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.258e-05/0.2508, allocations: 318.8 kB / 0.7911 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001716/0.251, allocations: 63.94 kB / 0.7912 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001642/0.2512, allocations: 59.89 kB / 0.7912 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001641/0.2513, allocations: 56.42 kB / 0.7913 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.2513, allocations: 0 / 0.7913 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000381/0.2517, allocations: 161.4 kB / 0.7914 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.2518, allocations: 4 kB / 0.7914 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.79e-06/0.2518, allocations: 3.984 kB / 0.7914 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.2518, allocations: 11.95 kB / 0.7914 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001587/0.252, allocations: 27.97 kB / 0.7915 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.252, allocations: 0 / 0.7915 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001052/0.2521, allocations: 19.98 kB / 0.7915 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/0.2521, allocations: 4 kB / 0.7915 GB, free: 7.391 MB / 0.6075 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 (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 initialization (7): * Single equations (assignments): 7 * 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 8.171e-05/0.2522, allocations: 121.8 kB / 0.7916 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.845e-05/0.2522, allocations: 3.906 kB / 0.7916 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004341/0.2527, allocations: 173.9 kB / 0.7918 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.2527, allocations: 4 kB / 0.7918 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.2527, allocations: 3.953 kB / 0.7918 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.2527, allocations: 0 / 0.7918 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001963/0.2529, allocations: 209.5 kB / 0.792 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.2529, allocations: 0 / 0.792 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001652/0.2531, allocations: 31.97 kB / 0.792 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.2531, allocations: 0 / 0.792 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.2531, allocations: 4 kB / 0.792 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.2531, allocations: 0 / 0.792 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.2531, allocations: 4 kB / 0.792 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004231/0.2535, allocations: 259.2 kB / 0.7923 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.758e-05/0.2536, allocations: 81.11 kB / 0.7924 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.917e-05/0.2536, allocations: 7.984 kB / 0.7924 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001317/0.2538, allocations: 15.98 kB / 0.7924 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.292e-05/0.2538, allocations: 23.97 kB / 0.7924 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.134e-06/0.2538, allocations: 0 / 0.7924 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.358e-05/0.2539, allocations: 99.22 kB / 0.7925 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2539, allocations: 0 / 0.7925 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00023/0.2541, allocations: 19.91 kB / 0.7925 GB, free: 6.25 MB / 0.6075 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 (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.0001189/0.2543, allocations: 103.2 kB / 0.7926 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003961/0.2547, allocations: 135.8 kB / 0.7927 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.2547, allocations: 0 / 0.7927 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001904/0.2549, allocations: 63.95 kB / 0.7928 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002895/0.2552, allocations: 19.08 kB / 0.7928 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003997/0.2556, allocations: 185.4 kB / 0.793 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002357/0.2558, allocations: 0.6965 MB / 0.7937 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.696e-05/0.2559, allocations: 12.17 kB / 0.7937 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.165e-05/0.256, allocations: 15.44 kB / 0.7937 GB, free: 4.961 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.256, allocations: 0 / 0.7937 GB, free: 4.961 MB / 0.6075 GB Notification: Performance of Templates: time 0.003498/0.2595, allocations: 1.29 MB / 0.795 GB, free: 3.68 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Max.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) Environment - environmentSimulation: