Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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.8.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.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.675/1.675, allocations: 285.6 MB / 293.1 MB, free: 10.21 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001411/0.001411, allocations: 180.8 kB / 361.4 MB, free: 6.809 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.852/1.852, allocations: 205.2 MB / 0.62 GB, free: 11.64 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008125/0.0008123, allocations: 97.83 kB / 0.733 GB, free: 44.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.42e-05/2.421e-05, allocations: 8 kB / 0.8518 GB, free: 2.703 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7658/0.7658, allocations: 115.3 MB / 0.9644 GB, free: 78.66 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2072/0.9731, allocations: 140.8 MB / 1.102 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002197/0.9733, allocations: 75.95 kB / 1.102 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01903/0.9924, allocations: 6.884 MB / 1.109 GB, free: 8.176 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.282e-06/0.9924, allocations: 0 / 1.109 GB, free: 8.176 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.397e-05/0.9925, allocations: 4 kB / 1.109 GB, free: 8.172 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007609/0.9932, allocations: 494.7 kB / 1.109 GB, free: 7.648 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.9933, allocations: 8.031 kB / 1.109 GB, free: 7.641 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.188e-05/0.9934, allocations: 24.75 kB / 1.109 GB, free: 7.617 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006633/0.994, allocations: 334.2 kB / 1.109 GB, free: 7.25 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.287e-05/0.9941, allocations: 11.98 kB / 1.109 GB, free: 7.238 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.816e-05/0.9941, allocations: 4 kB / 1.11 GB, free: 7.234 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001134/0.9942, allocations: 32 kB / 1.11 GB, free: 7.203 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001443/0.9944, allocations: 69.66 kB / 1.11 GB, free: 7.129 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.9944, allocations: 0 / 1.11 GB, free: 7.129 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.9944, allocations: 4 kB / 1.11 GB, free: 7.125 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.9944, allocations: 0 / 1.11 GB, free: 7.125 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007127/0.9951, allocations: 417 kB / 1.11 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001884/0.9953, allocations: 79.52 kB / 1.11 GB, free: 6.594 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.778e-05/0.9954, allocations: 28.98 kB / 1.11 GB, free: 6.562 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.393e-05/0.9954, allocations: 0 / 1.11 GB, free: 6.562 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001367/0.9956, allocations: 72.77 kB / 1.11 GB, free: 6.48 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.643e-06/0.9956, allocations: 0 / 1.11 GB, free: 6.48 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002527/0.9958, allocations: 115.4 kB / 1.11 GB, free: 6.363 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.162e-05/0.9959, allocations: 51.41 kB / 1.11 GB, free: 6.301 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003713/0.9963, allocations: 318.3 kB / 1.111 GB, free: 5.984 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.155e-05/0.9963, allocations: 29.7 kB / 1.111 GB, free: 5.949 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.862e-05/0.9964, allocations: 142.8 kB / 1.111 GB, free: 5.809 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.213e-05/0.9964, allocations: 15.75 kB / 1.111 GB, free: 5.793 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.041e-05/0.9964, allocations: 0 / 1.111 GB, free: 5.793 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.9966, allocations: 338.8 kB / 1.111 GB, free: 5.453 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.593e-05/0.9967, allocations: 59.98 kB / 1.111 GB, free: 5.395 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001135/0.9968, allocations: 87.17 kB / 1.111 GB, free: 5.301 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002393/0.9971, allocations: 81.19 kB / 1.111 GB, free: 5.223 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.9971, allocations: 0 / 1.111 GB, free: 5.223 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004327/0.9975, allocations: 206.8 kB / 1.112 GB, free: 5.016 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/0.9976, allocations: 9.391 kB / 1.112 GB, free: 5.008 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.9976, allocations: 0 / 1.112 GB, free: 5.008 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.904e-05/0.9976, allocations: 4 kB / 1.112 GB, free: 5.004 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001304/0.9977, allocations: 19.94 kB / 1.112 GB, free: 4.984 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/0.9978, allocations: 11.94 kB / 1.112 GB, free: 4.973 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001337/0.9979, allocations: 15.94 kB / 1.112 GB, free: 4.957 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.757e-05/0.998, allocations: 19.92 kB / 1.112 GB, free: 4.938 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.ram.tab.nextTimeEvent,les.y,$PRE.lesHys.lesHys.y,lesHys.lesHys.y,ram.tab.nextTimeEvent,$PRE.ram.tab.nextTimeEventScaled,ram.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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 9.963e-05/0.9981, allocations: 101.7 kB / 1.112 GB, free: 4.832 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.67e-05/0.9981, allocations: 23.72 kB / 1.112 GB, free: 4.809 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002285/0.9984, allocations: 111.5 kB / 1.112 GB, free: 4.688 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.9984, allocations: 3.984 kB / 1.112 GB, free: 4.684 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.9984, allocations: 4 kB / 1.112 GB, free: 4.68 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.9984, allocations: 7.953 kB / 1.112 GB, free: 4.672 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002308/0.9986, allocations: 228.3 kB / 1.112 GB, free: 4.414 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.9986, allocations: 0 / 1.112 GB, free: 4.414 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.252e-05/0.9987, allocations: 4 kB / 1.112 GB, free: 4.41 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.9987, allocations: 0 / 1.112 GB, free: 4.41 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.9987, allocations: 3.984 kB / 1.112 GB, free: 4.406 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.9987, allocations: 4 kB / 1.112 GB, free: 4.402 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.9987, allocations: 0 / 1.112 GB, free: 4.402 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002031/0.9989, allocations: 134.6 kB / 1.112 GB, free: 4.254 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.623e-05/0.999, allocations: 109.5 kB / 1.112 GB, free: 4.129 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.239e-05/0.9991, allocations: 3.984 kB / 1.112 GB, free: 4.125 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.9992, allocations: 8 kB / 1.112 GB, free: 4.117 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.63e-05/0.9993, allocations: 15.97 kB / 1.112 GB, free: 4.102 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.209e-05/0.9993, allocations: 4 kB / 1.112 GB, free: 4.098 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0003031/0.9996, allocations: 218 kB / 1.113 GB, free: 3.887 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.3e-07/0.9996, allocations: 0 / 1.113 GB, free: 3.887 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004422/1, allocations: 55.33 kB / 1.113 GB, free: 3.836 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,les.y,lesHys.lesHys.y,ram.tab.nextTimeEvent,ram.tab.nextTimeEventScaled) * Number of discrete states: 3 (lesHys.lesHys.y,ram.tab.nextTimeEvent,ram.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001159/1.001, allocations: 358.2 kB / 1.113 GB, free: 3.605 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002566/1.002, allocations: 102.2 kB / 1.113 GB, free: 3.508 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/1.002, allocations: 0 / 1.113 GB, free: 3.508 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.548e-05/1.002, allocations: 35.92 kB / 1.113 GB, free: 3.473 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004156/1.002, allocations: 50.56 kB / 1.113 GB, free: 3.422 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008571/1.003, allocations: 283.2 kB / 1.113 GB, free: 3.129 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005966/1.004, allocations: 0.762 MB / 1.114 GB, free: 2.344 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.000156/1.004, allocations: 38.14 kB / 1.114 GB, free: 2.305 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.993e-05/1.004, allocations: 19.44 kB / 1.114 GB, free: 2.285 MB / 0.7136 GB Notification: Performance of SimCode: time 3.81e-07/1.004, allocations: 2.156 kB / 1.114 GB, free: 2.285 MB / 0.7136 GB Notification: Performance of Templates: time 0.008497/1.012, allocations: 2.481 MB / 1.117 GB, free: 15.85 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe 2>&1)