Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.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.GreaterThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 104.1 kB / 16.36 MB, free: 6.355 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.001261/0.001261, allocations: 194.2 kB / 17.3 MB, free: 5.891 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.535/1.535, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.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.798/1.798, allocations: 292.3 MB / 0.5496 GB, free: 17.4 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.001832/0.001832, allocations: 74.25 kB / 0.6729 GB, free: 5.809 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2489/0.2508, allocations: 114.5 MB / 0.7848 GB, free: 3.145 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.002441/0.2532, allocations: 0.7089 MB / 0.7855 GB, free: 2.434 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00116/0.2544, allocations: 0.832 MB / 0.7863 GB, free: 1.586 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.374e-05/0.2545, allocations: 0 / 0.7863 GB, free: 1.586 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.873e-05/0.2546, allocations: 3.938 kB / 0.7863 GB, free: 1.582 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.7e-05/0.2547, allocations: 3.938 kB / 0.7863 GB, free: 1.578 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001798/0.2548, allocations: 27.91 kB / 0.7863 GB, free: 1.551 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 9.569e-05/0.255, allocations: 43.97 kB / 0.7864 GB, free: 1.508 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001304/0.2551, allocations: 15.98 kB / 0.7864 GB, free: 1.492 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.556e-05/0.2552, allocations: 23.86 kB / 0.7864 GB, free: 1.469 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.705e-05/0.2553, allocations: 27.91 kB / 0.7864 GB, free: 1.441 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.513e-05/0.2553, allocations: 4 kB / 0.7864 GB, free: 1.438 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.425e-05/0.2553, allocations: 4 kB / 0.7864 GB, free: 1.434 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.618e-05/0.2553, allocations: 15.92 kB / 0.7865 GB, free: 1.418 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.66e-05/0.2554, allocations: 11.92 kB / 0.7865 GB, free: 1.406 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001167/0.2555, allocations: 55.8 kB / 0.7865 GB, free: 1.352 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.2555, allocations: 0 / 0.7865 GB, free: 1.352 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.084e-06/0.2555, allocations: 0 / 0.7865 GB, free: 1.352 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.2555, allocations: 0 / 0.7865 GB, free: 1.352 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000651/0.2562, allocations: 351.4 kB / 0.7869 GB, free: 0.957 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.311e-05/0.2563, allocations: 8.031 kB / 0.7869 GB, free: 0.9492 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.236e-05/0.2563, allocations: 8.844 kB / 0.7869 GB, free: 0.9414 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002046/0.2565, allocations: 176.3 kB / 0.787 GB, free: 0.7305 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.115e-05/0.2566, allocations: 384 / 0.787 GB, free: 0.7305 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.956e-05/0.2566, allocations: 12.31 kB / 0.7871 GB, free: 0.7188 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002155/0.2568, allocations: 66.2 kB / 0.7871 GB, free: 0.6484 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/0.2568, allocations: 192 / 0.7871 GB, free: 0.6484 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.2568, allocations: 3.938 kB / 0.7871 GB, free: 0.6445 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.2569, allocations: 4 kB / 0.7871 GB, free: 0.6406 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002104/0.2571, allocations: 47.95 kB / 0.7872 GB, free: 0.5938 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004691/0.2576, allocations: 304.6 kB / 0.7875 GB, free: 252 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002129/0.2578, allocations: 62.48 kB / 0.7875 GB, free: 180 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001169/0.2579, allocations: 32.91 kB / 0.7876 GB, free: 144 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.058e-05/0.2579, allocations: 0 / 0.7876 GB, free: 144 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/0.258, allocations: 30.56 kB / 0.7876 GB, free: 104 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 1.453e-06/0.258, allocations: 4 kB / 0.7876 GB, free: 100 kB / 0.6544 GB Notification: Performance of matching and sorting (n=4): time 0.4955/0.7535, allocations: 103.8 kB / 0.7877 GB, free: 48.89 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.07e-05/0.7536, allocations: 54.27 kB / 0.7877 GB, free: 48.83 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001396/0.7537, allocations: 113.5 kB / 0.7878 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.611e-05/0.7538, allocations: 25.7 kB / 0.7879 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.755e-05/0.7538, allocations: 87 kB / 0.788 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.646e-05/0.7539, allocations: 8.375 kB / 0.788 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.696e-05/0.7539, allocations: 20.28 kB / 0.788 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.929e-05/0.754, allocations: 316.3 kB / 0.7883 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001362/0.7542, allocations: 22.44 kB / 0.7883 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001225/0.7543, allocations: 30.17 kB / 0.7883 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002463/0.7546, allocations: 53.33 kB / 0.7884 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.7546, allocations: 0 / 0.7884 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003186/0.7549, allocations: 85.09 kB / 0.7885 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.7549, allocations: 6.219 kB / 0.7885 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.7549, allocations: 0 / 0.7885 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.502e-05/0.755, allocations: 4.094 kB / 0.7885 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001533/0.7551, allocations: 14.52 kB / 0.7885 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.7552, allocations: 1.312 kB / 0.7885 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.108e-05/0.7553, allocations: 13.53 kB / 0.7885 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/0.7553, allocations: 6.438 kB / 0.7885 GB, free: 48.25 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (reaToInt.y,intGreThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 9.157e-05/0.7554, allocations: 117.5 kB / 0.7886 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.513e-05/0.7554, allocations: 6.625 kB / 0.7886 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.614e-05/0.7555, allocations: 14.69 kB / 0.7886 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.7555, allocations: 1.172 kB / 0.7886 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.7555, allocations: 0 / 0.7886 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.7555, allocations: 6.078 kB / 0.7886 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001905/0.7557, allocations: 169.3 kB / 0.7888 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.7557, allocations: 0 / 0.7888 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000112/0.7558, allocations: 11.09 kB / 0.7888 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.7558, allocations: 6.766 kB / 0.7888 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.7559, allocations: 5.219 kB / 0.7888 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.7559, allocations: 0 / 0.7888 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.7559, allocations: 0 / 0.7888 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003087/0.7562, allocations: 179.4 kB / 0.789 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.086e-05/0.7562, allocations: 85 kB / 0.7891 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.135e-05/0.7563, allocations: 7.875 kB / 0.7891 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001301/0.7564, allocations: 15.67 kB / 0.7891 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.657e-05/0.7565, allocations: 9.844 kB / 0.7891 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.113e-06/0.7565, allocations: 2.719 kB / 0.7891 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.897e-05/0.7565, allocations: 83.7 kB / 0.7892 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7566, allocations: 0.5625 kB / 0.7892 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003162/0.7569, allocations: 10.69 kB / 0.7892 GB, free: 47.63 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (intGreThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0001474/0.757, allocations: 101.8 kB / 0.7893 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000322/0.7574, allocations: 55.23 kB / 0.7894 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.7574, allocations: 1.969 kB / 0.7894 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001293/0.7575, allocations: 27.95 kB / 0.7894 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004358/0.758, allocations: 13.28 kB / 0.7894 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004452/0.7584, allocations: 160 kB / 0.7896 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001409/0.7586, allocations: 0.6801 MB / 0.7902 GB, free: 46.72 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.424e-05/0.7586, allocations: 14.14 kB / 0.7902 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of SimCode: time 3.61e-07/0.7586, allocations: 0 / 0.7902 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of Templates: time 0.002805/0.7615, allocations: 0.8067 MB / 0.791 GB, free: 46.71 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1)