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.417/1.417, allocations: 252 MB / 268 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.001074/0.001074, allocations: 179.1 kB / 327.6 MB, free: 2.117 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.736/1.736, allocations: 205.4 MB / 0.5786 GB, free: 20.18 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.0008127/0.0008127, allocations: 94.33 kB / 0.6832 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003215/0.0003217, allocations: 12.16 kB / 0.7976 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1946/0.195, allocations: 106.3 MB / 0.9015 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold): time 0.001408/0.1964, allocations: 1.093 MB / 0.9025 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002575/0.1967, allocations: 109.8 kB / 0.9026 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.129e-05/0.1967, allocations: 0 / 0.9026 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.954e-05/0.1968, allocations: 7.984 kB / 0.9027 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.824e-05/0.1968, allocations: 0 / 0.9027 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 5.088e-05/0.1969, allocations: 4 kB / 0.9027 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.789e-05/0.197, allocations: 27.86 kB / 0.9027 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.677e-05/0.1971, allocations: 4 kB / 0.9027 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.724e-05/0.1971, allocations: 19.91 kB / 0.9027 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.771e-05/0.1972, allocations: 4 kB / 0.9027 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.447e-05/0.1972, allocations: 4 kB / 0.9027 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.374e-06/0.1972, allocations: 0 / 0.9027 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.55e-05/0.1972, allocations: 3.938 kB / 0.9027 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.298e-05/0.1973, allocations: 45.56 kB / 0.9028 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 4.874e-05/0.1973, allocations: 11.97 kB / 0.9028 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1973, allocations: 0 / 0.9028 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.332e-06/0.1973, allocations: 0 / 0.9028 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.1974, allocations: 0 / 0.9028 GB, free: 62.14 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.0003775/0.1977, allocations: 347.5 kB / 0.9031 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.1978, allocations: 12.02 kB / 0.9031 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.654e-05/0.1978, allocations: 4.938 kB / 0.9031 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.197e-05/0.1979, allocations: 168.5 kB / 0.9033 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.1979, allocations: 384 / 0.9033 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.564e-05/0.1979, allocations: 4.375 kB / 0.9033 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001663/0.1981, allocations: 58.23 kB / 0.9033 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.1981, allocations: 4.172 kB / 0.9033 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.1981, allocations: 3.938 kB / 0.9033 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.1982, allocations: 0 / 0.9033 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001613/0.1983, allocations: 47.91 kB / 0.9034 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002914/0.1986, allocations: 257 kB / 0.9036 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000116/0.1988, allocations: 46.48 kB / 0.9037 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.123e-05/0.1988, allocations: 28.91 kB / 0.9037 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.726e-06/0.1989, allocations: 0 / 0.9037 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.633e-05/0.1989, allocations: 38.56 kB / 0.9037 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.1989, allocations: 0 / 0.9037 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0003199/0.1992, allocations: 97.58 kB / 0.9038 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.445e-05/0.1992, allocations: 55.41 kB / 0.9039 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.879e-05/0.1993, allocations: 97.86 kB / 0.904 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.955e-06/0.1993, allocations: 25.7 kB / 0.904 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.864e-05/0.1994, allocations: 96.03 kB / 0.9041 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.348e-05/0.1994, allocations: 4.125 kB / 0.9041 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.865e-06/0.1994, allocations: 0 / 0.9041 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.53e-05/0.1994, allocations: 314.8 kB / 0.9044 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.851e-05/0.1995, allocations: 23.98 kB / 0.9044 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.845e-05/0.1996, allocations: 23.91 kB / 0.9045 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001366/0.1997, allocations: 48.89 kB / 0.9045 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.1998, allocations: 3.938 kB / 0.9045 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001727/0.1999, allocations: 85.59 kB / 0.9046 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.2, allocations: 11.94 kB / 0.9046 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.2, allocations: 0 / 0.9046 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.2, allocations: 0 / 0.9046 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.631e-05/0.2001, allocations: 8 kB / 0.9046 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.2001, allocations: 0 / 0.9046 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.369e-05/0.2001, allocations: 19.92 kB / 0.9046 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.518e-06/0.2002, allocations: 0 / 0.9046 GB, free: 60.02 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.087e-05/0.2002, allocations: 113.8 kB / 0.9047 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.129e-05/0.2002, allocations: 3.984 kB / 0.9047 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.026e-05/0.2003, allocations: 7.125 kB / 0.9047 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.2003, allocations: 0 / 0.9047 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.2003, allocations: 0 / 0.9047 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.2003, allocations: 4 kB / 0.9047 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001188/0.2004, allocations: 165.6 kB / 0.9049 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.2004, allocations: 0 / 0.9049 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.235e-05/0.2005, allocations: 11.98 kB / 0.9049 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.2005, allocations: 3.938 kB / 0.9049 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.212e-06/0.2005, allocations: 0 / 0.9049 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.2005, allocations: 0 / 0.9049 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.2005, allocations: 0 / 0.9049 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001962/0.2007, allocations: 175.5 kB / 0.9051 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.993e-05/0.2007, allocations: 81.11 kB / 0.9052 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.126e-05/0.2008, allocations: 0 / 0.9052 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.647e-05/0.2008, allocations: 16.02 kB / 0.9052 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.69e-05/0.2009, allocations: 3.984 kB / 0.9052 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-06/0.2009, allocations: 0 / 0.9052 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.313e-05/0.2009, allocations: 87.53 kB / 0.9053 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2009, allocations: 0 / 0.9053 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000193/0.2011, allocations: 7.906 kB / 0.9053 GB, free: 59.26 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.0001215/0.2013, allocations: 99.25 kB / 0.9054 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001966/0.2015, allocations: 55.89 kB / 0.9054 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2015, allocations: 0 / 0.9054 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.092e-05/0.2016, allocations: 27.92 kB / 0.9054 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002824/0.2018, allocations: 12.06 kB / 0.9055 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002857/0.2021, allocations: 138.4 kB / 0.9056 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001089/0.2023, allocations: 0.677 MB / 0.9063 GB, free: 58.19 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.422e-05/0.2023, allocations: 7.438 kB / 0.9063 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of SimCode: time 2.91e-07/0.2023, allocations: 0 / 0.9063 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of Templates: time 0.001605/0.2039, allocations: 0.5688 MB / 0.9068 GB, free: 57.62 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)