Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.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.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008834/0.0008831, allocations: 90.75 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.0008548/0.0008548, 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.409/1.409, allocations: 205.4 MB / 222.1 MB, free: 5.508 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.717/1.717, allocations: 292.7 MB / 0.5499 GB, free: 14.57 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.0005112/0.0005112, allocations: 21.62 kB / 0.6737 GB, free: 26.06 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.231/0.2315, allocations: 116.3 MB / 0.7873 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.0008627/0.2324, allocations: 425.5 kB / 0.7877 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009996/0.2335, allocations: 0.8293 MB / 0.7885 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.309e-05/0.2335, allocations: 0 / 0.7885 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.072e-05/0.2336, allocations: 7.984 kB / 0.7885 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.726e-05/0.2336, allocations: 3.938 kB / 0.7885 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001514/0.2338, allocations: 19.98 kB / 0.7885 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.845e-05/0.2339, allocations: 35.92 kB / 0.7886 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.234, allocations: 15.97 kB / 0.7886 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.091e-05/0.2341, allocations: 15.92 kB / 0.7886 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.479e-05/0.2341, allocations: 15.92 kB / 0.7886 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.785e-05/0.2342, allocations: 8 kB / 0.7886 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.999e-06/0.2342, allocations: 0 / 0.7886 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.762e-05/0.2342, allocations: 19.91 kB / 0.7886 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.382e-05/0.2342, allocations: 25.7 kB / 0.7887 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 6.611e-05/0.2343, allocations: 27.94 kB / 0.7887 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.2343, allocations: 0 / 0.7887 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.773e-06/0.2343, allocations: 0 / 0.7887 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.2343, allocations: 0 / 0.7887 GB, free: 10.49 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000511/0.2349, allocations: 367.5 kB / 0.789 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.2349, allocations: 8.031 kB / 0.7891 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.08e-05/0.235, allocations: 11.89 kB / 0.7891 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002149/0.2352, allocations: 175 kB / 0.7892 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/0.2352, allocations: 7.938 kB / 0.7892 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.612e-05/0.2352, allocations: 4 kB / 0.7892 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001969/0.2354, allocations: 69.66 kB / 0.7893 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.2355, allocations: 4 kB / 0.7893 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.2355, allocations: 0 / 0.7893 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.2355, allocations: 0 / 0.7893 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002023/0.2357, allocations: 55.95 kB / 0.7894 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004597/0.2362, allocations: 300.7 kB / 0.7897 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001837/0.2364, allocations: 70.48 kB / 0.7897 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001052/0.2365, allocations: 36.91 kB / 0.7898 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.485e-05/0.2365, allocations: 4 kB / 0.7898 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.43e-05/0.2365, allocations: 38.5 kB / 0.7898 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.323e-06/0.2365, allocations: 0 / 0.7898 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0003984/0.2369, allocations: 121.6 kB / 0.7899 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.99e-05/0.237, allocations: 55.36 kB / 0.79 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.394e-05/0.2371, allocations: 113.8 kB / 0.7901 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.407e-05/0.2371, allocations: 25.7 kB / 0.7901 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.435e-05/0.2372, allocations: 92.03 kB / 0.7902 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.892e-05/0.2372, allocations: 7.906 kB / 0.7902 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.25e-06/0.2372, allocations: 0 / 0.7902 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.2373, allocations: 318.8 kB / 0.7905 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.849e-05/0.2374, allocations: 27.97 kB / 0.7905 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.408e-05/0.2375, allocations: 27.98 kB / 0.7906 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.079e-05/0.2376, allocations: 31.97 kB / 0.7906 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2376, allocations: 0 / 0.7906 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002237/0.2378, allocations: 89.59 kB / 0.7907 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.2379, allocations: 8 kB / 0.7907 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.2379, allocations: 7.984 kB / 0.7907 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.2379, allocations: 0 / 0.7907 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.238, allocations: 11.98 kB / 0.7907 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.647e-06/0.238, allocations: 4 kB / 0.7907 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.076e-05/0.2381, allocations: 15.95 kB / 0.7907 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-06/0.2381, allocations: 3.984 kB / 0.7907 GB, free: 8.199 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: 2 (intLesThr.y,reaToInt.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.7e-05/0.2382, allocations: 106.5 kB / 0.7908 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/0.2382, allocations: 12.23 kB / 0.7908 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.03e-05/0.2383, allocations: 7.906 kB / 0.7908 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.2383, allocations: 0 / 0.7908 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.275e-06/0.2383, allocations: 7.984 kB / 0.7908 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.2383, allocations: 3.938 kB / 0.7908 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001647/0.2385, allocations: 177.5 kB / 0.791 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.2385, allocations: 0 / 0.791 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.277e-05/0.2386, allocations: 15.98 kB / 0.791 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.2386, allocations: 0 / 0.791 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.2386, allocations: 8 kB / 0.791 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.2386, allocations: 3.938 kB / 0.791 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2386, allocations: 0 / 0.791 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002717/0.2389, allocations: 203.3 kB / 0.7912 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.411e-05/0.2389, allocations: 77.11 kB / 0.7913 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.364e-05/0.2389, allocations: 3.984 kB / 0.7913 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.398e-05/0.239, allocations: 8 kB / 0.7913 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.116e-05/0.2391, allocations: 11.98 kB / 0.7913 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/0.2391, allocations: 11.98 kB / 0.7913 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.046e-05/0.2392, allocations: 83.28 kB / 0.7914 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2392, allocations: 0 / 0.7914 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002108/0.2394, allocations: 8 kB / 0.7914 GB, free: 7.363 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: 2 (intLesThr.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 (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.0001154/0.2395, allocations: 99.25 kB / 0.7915 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000239/0.2398, allocations: 67.88 kB / 0.7916 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.2398, allocations: 0 / 0.7916 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000109/0.2399, allocations: 43.97 kB / 0.7916 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002775/0.2402, allocations: 7.953 kB / 0.7916 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003446/0.2405, allocations: 132.7 kB / 0.7918 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002959/0.2408, allocations: 0.6887 MB / 0.7924 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.142e-05/0.2409, allocations: 7.906 kB / 0.7924 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.133e-05/0.2409, allocations: 7.438 kB / 0.7925 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of SimCode: time 5.91e-07/0.2409, allocations: 0 / 0.7925 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of Templates: time 0.002943/0.2439, allocations: 0.7461 MB / 0.7932 GB, free: 5.52 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) Environment - environmentSimulation: