Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.39/1.39, allocations: 251.5 MB / 267.4 MB, free: 10.88 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001005/0.001004, allocations: 174.3 kB / 326.5 MB, free: 2.68 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.855/1.855, allocations: 205 MB / 0.5766 GB, free: 20.86 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007391/0.000739, allocations: 90.22 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003391/0.0003392, allocations: 15.25 kB / 0.7938 GB, free: 136.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2061/0.2064, allocations: 105.4 MB / 0.8968 GB, free: 68.15 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold): time 0.001512/0.208, allocations: 1.102 MB / 0.8978 GB, free: 67.04 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003195/0.2083, allocations: 104.5 kB / 0.8979 GB, free: 66.93 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.455e-05/0.2084, allocations: 0 / 0.8979 GB, free: 66.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.521e-05/0.2085, allocations: 3.938 kB / 0.8979 GB, free: 66.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.094e-05/0.2085, allocations: 0 / 0.8979 GB, free: 66.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 5.092e-05/0.2086, allocations: 7.984 kB / 0.8979 GB, free: 66.92 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.424e-05/0.2087, allocations: 31.92 kB / 0.898 GB, free: 66.89 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.2088, allocations: 4 kB / 0.898 GB, free: 66.88 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.282e-05/0.2089, allocations: 3.938 kB / 0.898 GB, free: 66.88 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.466e-05/0.2089, allocations: 11.98 kB / 0.898 GB, free: 66.87 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.463e-05/0.2089, allocations: 0 / 0.898 GB, free: 66.87 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.285e-06/0.2089, allocations: 4 kB / 0.898 GB, free: 66.86 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.002e-05/0.209, allocations: 7.922 kB / 0.898 GB, free: 66.86 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.117e-05/0.209, allocations: 4 kB / 0.898 GB, free: 66.85 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.688e-05/0.2091, allocations: 19.95 kB / 0.898 GB, free: 66.83 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.2091, allocations: 3.938 kB / 0.898 GB, free: 66.83 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.754e-06/0.2091, allocations: 4 kB / 0.898 GB, free: 66.82 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.2091, allocations: 0 / 0.898 GB, free: 66.82 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004109/0.2095, allocations: 347.7 kB / 0.8984 GB, free: 66.43 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.2096, allocations: 8.031 kB / 0.8984 GB, free: 66.43 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.457e-05/0.2096, allocations: 0.9375 kB / 0.8984 GB, free: 66.43 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000101/0.2097, allocations: 176.2 kB / 0.8985 GB, free: 66.21 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.2097, allocations: 8.375 kB / 0.8986 GB, free: 66.21 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.26e-05/0.2098, allocations: 384 / 0.8986 GB, free: 66.21 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002017/0.21, allocations: 54.23 kB / 0.8986 GB, free: 66.15 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.21, allocations: 4.172 kB / 0.8986 GB, free: 66.14 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.21, allocations: 3.938 kB / 0.8986 GB, free: 66.14 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.21, allocations: 4 kB / 0.8986 GB, free: 66.14 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001574/0.2102, allocations: 43.97 kB / 0.8987 GB, free: 66.09 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003147/0.2105, allocations: 256.9 kB / 0.8989 GB, free: 65.79 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001166/0.2106, allocations: 47.25 kB / 0.899 GB, free: 65.74 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.275e-05/0.2107, allocations: 28.84 kB / 0.899 GB, free: 65.71 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.464e-05/0.2107, allocations: 0 / 0.899 GB, free: 65.71 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.874e-05/0.2108, allocations: 34.55 kB / 0.899 GB, free: 65.66 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.2108, allocations: 4 kB / 0.899 GB, free: 65.66 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0003418/0.2111, allocations: 97.59 kB / 0.8991 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.281e-05/0.2112, allocations: 55.53 kB / 0.8992 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.156e-05/0.2112, allocations: 105.8 kB / 0.8993 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.407e-06/0.2112, allocations: 25.7 kB / 0.8993 GB, free: 65.35 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.029e-05/0.2113, allocations: 88.05 kB / 0.8994 GB, free: 65.26 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.995e-05/0.2113, allocations: 3.938 kB / 0.8994 GB, free: 65.25 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.407e-05/0.2113, allocations: 13.7 kB / 0.8994 GB, free: 65.23 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.246e-05/0.2114, allocations: 314.8 kB / 0.8997 GB, free: 64.92 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.355e-05/0.2115, allocations: 23.98 kB / 0.8997 GB, free: 64.89 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.682e-05/0.2116, allocations: 19.98 kB / 0.8997 GB, free: 64.88 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001408/0.2117, allocations: 52.88 kB / 0.8998 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.2117, allocations: 0 / 0.8998 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001844/0.2119, allocations: 77.55 kB / 0.8999 GB, free: 64.74 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.2119, allocations: 4 kB / 0.8999 GB, free: 64.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.212, allocations: 4.031 kB / 0.8999 GB, free: 64.73 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.212, allocations: 3.938 kB / 0.8999 GB, free: 64.73 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.876e-05/0.2121, allocations: 15.98 kB / 0.8999 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/0.2121, allocations: 0 / 0.8999 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.376e-05/0.2121, allocations: 15.89 kB / 0.8999 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-06/0.2122, allocations: 4 kB / 0.8999 GB, free: 64.69 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (greThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 5.672e-05/0.2122, allocations: 115.8 kB / 0.9 GB, free: 64.57 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.192e-05/0.2122, allocations: 0 / 0.9 GB, free: 64.57 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.043e-05/0.2123, allocations: 11.12 kB / 0.9 GB, free: 64.56 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.2123, allocations: 3.984 kB / 0.9 GB, free: 64.55 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.2123, allocations: 0 / 0.9 GB, free: 64.55 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.2123, allocations: 0 / 0.9 GB, free: 64.55 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001162/0.2124, allocations: 157.6 kB / 0.9002 GB, free: 64.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.2124, allocations: 0 / 0.9002 GB, free: 64.35 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.517e-05/0.2125, allocations: 11.98 kB / 0.9002 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.2125, allocations: 4 kB / 0.9002 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.2125, allocations: 0 / 0.9002 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.2125, allocations: 0 / 0.9002 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2125, allocations: 4 kB / 0.9002 GB, free: 64.33 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00021/0.2127, allocations: 175.4 kB / 0.9004 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.475e-05/0.2128, allocations: 81.11 kB / 0.9004 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.545e-05/0.2128, allocations: 256 / 0.9004 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.807e-05/0.2129, allocations: 15.98 kB / 0.9005 GB, free: 64.03 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.801e-05/0.2129, allocations: 4 kB / 0.9005 GB, free: 64.03 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.876e-06/0.2129, allocations: 3.938 kB / 0.9005 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.679e-05/0.213, allocations: 83.27 kB / 0.9005 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.213, allocations: 4.031 kB / 0.9005 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002011/0.2132, allocations: 11.91 kB / 0.9006 GB, free: 63.93 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (greThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001256/0.2133, allocations: 99.25 kB / 0.9007 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001927/0.2135, allocations: 55.89 kB / 0.9007 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.2135, allocations: 0 / 0.9007 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.837e-05/0.2136, allocations: 23.98 kB / 0.9007 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002909/0.2139, allocations: 3.938 kB / 0.9007 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003064/0.2142, allocations: 141.1 kB / 0.9009 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001261/0.2144, allocations: 0.6809 MB / 0.9015 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.513e-05/0.2144, allocations: 7.438 kB / 0.9015 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of SimCode: time 5.71e-07/0.2144, allocations: 0 / 0.9015 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of Templates: time 0.001817/0.2162, allocations: 0.5628 MB / 0.9021 GB, free: 62.29 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe 2>&1)