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.LessThreshold.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.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.376/1.376, 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.0009008/0.0009009, allocations: 182.2 kB / 327.6 MB, free: 2.105 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.543/1.543, allocations: 205.4 MB / 0.5786 GB, free: 20.11 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.0007589/0.0007589, allocations: 84.08 kB / 0.6832 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003461/0.0003462, allocations: 12.97 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2389/0.2392, allocations: 106.3 MB / 0.9015 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold): time 0.001675/0.241, allocations: 1.097 MB / 0.9026 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000323/0.2413, allocations: 105.8 kB / 0.9027 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.691e-05/0.2414, allocations: 0 / 0.9027 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.738e-05/0.2414, allocations: 0 / 0.9027 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.195e-05/0.2415, allocations: 0 / 0.9027 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 6.041e-05/0.2416, allocations: 4 kB / 0.9027 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.724e-05/0.2417, allocations: 27.92 kB / 0.9027 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.2418, allocations: 11.94 kB / 0.9027 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.017e-05/0.2419, allocations: 11.92 kB / 0.9027 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.735e-05/0.242, allocations: 7.984 kB / 0.9027 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.542e-05/0.242, allocations: 0 / 0.9027 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.348e-06/0.242, allocations: 4 kB / 0.9027 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.962e-05/0.242, allocations: 15.86 kB / 0.9027 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.382e-05/0.2421, allocations: 29.64 kB / 0.9028 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.211e-05/0.2421, allocations: 15.95 kB / 0.9028 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.2421, allocations: 4 kB / 0.9028 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.424e-06/0.2421, allocations: 0 / 0.9028 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.102e-06/0.2422, allocations: 4 kB / 0.9028 GB, free: 62.11 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.000453/0.2426, allocations: 343.5 kB / 0.9031 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.2427, allocations: 8.031 kB / 0.9031 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.583e-05/0.2427, allocations: 0.9375 kB / 0.9031 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001067/0.2428, allocations: 172.5 kB / 0.9033 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.2429, allocations: 4.375 kB / 0.9033 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.021e-05/0.2429, allocations: 4.375 kB / 0.9033 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001801/0.2431, allocations: 50.23 kB / 0.9033 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.2431, allocations: 192 / 0.9033 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.2431, allocations: 11.94 kB / 0.9034 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.2431, allocations: 0 / 0.9034 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001654/0.2433, allocations: 51.89 kB / 0.9034 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003416/0.2436, allocations: 249 kB / 0.9036 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001229/0.2438, allocations: 46.5 kB / 0.9037 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.348e-05/0.2439, allocations: 24.91 kB / 0.9037 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.48e-05/0.2439, allocations: 4 kB / 0.9037 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.947e-05/0.2439, allocations: 34.56 kB / 0.9037 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.243e-06/0.2439, allocations: 0 / 0.9037 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0003373/0.2443, allocations: 97.58 kB / 0.9038 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.761e-05/0.2443, allocations: 51.53 kB / 0.9039 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.811e-05/0.2444, allocations: 109.8 kB / 0.904 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.677e-06/0.2444, allocations: 25.7 kB / 0.904 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.178e-05/0.2444, allocations: 88.05 kB / 0.9041 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.568e-05/0.2444, allocations: 0 / 0.9041 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-06/0.2445, allocations: 0 / 0.9041 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.076e-05/0.2445, allocations: 322.8 kB / 0.9044 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.02e-05/0.2446, allocations: 23.97 kB / 0.9044 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.896e-05/0.2447, allocations: 27.92 kB / 0.9045 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001393/0.2448, allocations: 52.83 kB / 0.9045 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.2448, allocations: 0 / 0.9045 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001774/0.245, allocations: 77.59 kB / 0.9046 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.245, allocations: 4 kB / 0.9046 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.2451, allocations: 3.938 kB / 0.9046 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.2451, allocations: 4.031 kB / 0.9046 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.358e-05/0.2452, allocations: 11.98 kB / 0.9046 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.2452, allocations: 0 / 0.9046 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.438e-05/0.2452, allocations: 15.89 kB / 0.9046 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.2453, allocations: 4.25 kB / 0.9046 GB, free: 60.01 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 (lesThr.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.858e-05/0.2453, allocations: 109.8 kB / 0.9047 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.428e-05/0.2454, allocations: 4 kB / 0.9047 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.437e-05/0.2454, allocations: 11.12 kB / 0.9047 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.2454, allocations: 4 kB / 0.9047 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.2454, allocations: 0 / 0.9047 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.2454, allocations: 0 / 0.9047 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001253/0.2455, allocations: 161.6 kB / 0.9049 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.2455, allocations: 0 / 0.9049 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.738e-05/0.2456, allocations: 11.94 kB / 0.9049 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.2456, allocations: 3.984 kB / 0.9049 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-06/0.2456, allocations: 4 kB / 0.9049 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.2456, allocations: 0 / 0.9049 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.2456, allocations: 4 kB / 0.9049 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002044/0.2459, allocations: 175.5 kB / 0.9051 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.001e-05/0.2459, allocations: 77.11 kB / 0.9052 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.289e-05/0.2459, allocations: 0 / 0.9052 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.616e-05/0.246, allocations: 11.98 kB / 0.9052 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.542e-05/0.2461, allocations: 7.984 kB / 0.9052 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.2461, allocations: 0 / 0.9052 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.617e-05/0.2461, allocations: 83.28 kB / 0.9053 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2461, allocations: 0 / 0.9053 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001927/0.2463, allocations: 11.94 kB / 0.9053 GB, free: 59.25 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 (lesThr.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.0001358/0.2464, allocations: 103.2 kB / 0.9054 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001959/0.2466, allocations: 47.91 kB / 0.9054 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.2467, allocations: 4.062 kB / 0.9054 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.067e-05/0.2467, allocations: 27.92 kB / 0.9054 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002952/0.247, allocations: 7.922 kB / 0.9055 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000278/0.2473, allocations: 134.4 kB / 0.9056 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001067/0.2474, allocations: 0.6849 MB / 0.9063 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.583e-05/0.2475, allocations: 7.438 kB / 0.9063 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of SimCode: time 2.8e-07/0.2475, allocations: 0 / 0.9063 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of Templates: time 0.001821/0.2493, allocations: 0.5672 MB / 0.9068 GB, free: 57.61 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe 2>&1)