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/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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001126/0.001127, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001235/0.001235, allocations: 177.3 kB / 15.94 MB, free: 228 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.806/1.806, allocations: 205.4 MB / 222.1 MB, free: 5.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.731/1.731, allocations: 251.9 MB / 0.51 GB, free: 4.828 MB / 414.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.0007054/0.000706, allocations: 19.98 kB / 0.6241 GB, free: 1.137 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7184/0.7192, allocations: 106.3 MB / 0.728 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold): time 0.001438/0.7207, allocations: 1.09 MB / 0.7291 GB, free: 10.33 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.000284/0.721, allocations: 104.6 kB / 0.7292 GB, free: 10.22 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.715e-05/0.721, allocations: 0 / 0.7292 GB, free: 10.22 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.34e-05/0.721, allocations: 0 / 0.7292 GB, free: 10.22 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.713e-05/0.7211, allocations: 4 kB / 0.7292 GB, free: 10.22 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 4.88e-05/0.7212, allocations: 4 kB / 0.7292 GB, free: 10.21 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.574e-05/0.7212, allocations: 15.97 kB / 0.7292 GB, free: 10.2 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.7213, allocations: 8 kB / 0.7292 GB, free: 10.19 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.229e-05/0.7214, allocations: 7.922 kB / 0.7292 GB, free: 10.18 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.069e-05/0.7215, allocations: 8 kB / 0.7292 GB, free: 10.18 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.18e-05/0.7215, allocations: 0 / 0.7292 GB, free: 10.18 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.072e-05/0.7215, allocations: 4 kB / 0.7292 GB, free: 10.17 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.353e-05/0.7215, allocations: 11.91 kB / 0.7292 GB, free: 10.16 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.432e-05/0.7215, allocations: 25.7 kB / 0.7292 GB, free: 10.13 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 5.134e-05/0.7216, allocations: 19.97 kB / 0.7293 GB, free: 10.11 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.7216, allocations: 0 / 0.7293 GB, free: 10.11 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.283e-06/0.7216, allocations: 0 / 0.7293 GB, free: 10.11 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.008e-06/0.7216, allocations: 0 / 0.7293 GB, free: 10.11 MB / 0.545 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.0004741/0.7221, allocations: 341.3 kB / 0.7296 GB, free: 9.73 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.7221, allocations: 12.03 kB / 0.7296 GB, free: 9.719 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.895e-05/0.7222, allocations: 0 / 0.7296 GB, free: 9.719 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.7223, allocations: 178.9 kB / 0.7298 GB, free: 9.504 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.7224, allocations: 8 kB / 0.7298 GB, free: 9.496 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.774e-06/0.7224, allocations: 3.938 kB / 0.7298 GB, free: 9.492 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001786/0.7226, allocations: 57.61 kB / 0.7298 GB, free: 9.43 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.7226, allocations: 0 / 0.7298 GB, free: 9.43 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.7226, allocations: 0 / 0.7298 GB, free: 9.43 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.7226, allocations: 3.938 kB / 0.7298 GB, free: 9.426 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001667/0.7228, allocations: 43.97 kB / 0.7299 GB, free: 9.383 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003702/0.7231, allocations: 256.9 kB / 0.7301 GB, free: 9.082 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001337/0.7233, allocations: 42.56 kB / 0.7302 GB, free: 9.031 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.113e-05/0.7233, allocations: 3.938 kB / 0.7302 GB, free: 9.027 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.7233, allocations: 34.55 kB / 0.7302 GB, free: 8.984 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.7233, allocations: 0 / 0.7302 GB, free: 8.984 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0003555/0.7237, allocations: 97.72 kB / 0.7303 GB, free: 8.883 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.894e-05/0.7238, allocations: 51.41 kB / 0.7304 GB, free: 8.82 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.08e-05/0.7239, allocations: 101.8 kB / 0.7304 GB, free: 8.711 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.46e-05/0.7239, allocations: 33.83 kB / 0.7305 GB, free: 8.672 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.98e-05/0.7239, allocations: 80.14 kB / 0.7306 GB, free: 8.59 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.819e-05/0.724, allocations: 7.906 kB / 0.7306 GB, free: 8.582 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.056e-06/0.724, allocations: 0 / 0.7306 GB, free: 8.582 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.7241, allocations: 318.8 kB / 0.7309 GB, free: 8.262 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.163e-05/0.7242, allocations: 19.98 kB / 0.7309 GB, free: 8.242 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.485e-05/0.7243, allocations: 31.92 kB / 0.7309 GB, free: 8.211 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.425e-05/0.7244, allocations: 15.98 kB / 0.7309 GB, free: 8.195 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.7244, allocations: 0 / 0.7309 GB, free: 8.195 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001868/0.7246, allocations: 81.72 kB / 0.731 GB, free: 8.109 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.7246, allocations: 4 kB / 0.731 GB, free: 8.105 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.7246, allocations: 0 / 0.731 GB, free: 8.105 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.7246, allocations: 4 kB / 0.731 GB, free: 8.102 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.7247, allocations: 7.984 kB / 0.731 GB, free: 8.094 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.7248, allocations: 4 kB / 0.731 GB, free: 8.09 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.655e-05/0.7248, allocations: 16.02 kB / 0.731 GB, free: 8.074 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.608e-06/0.7248, allocations: 256 / 0.731 GB, free: 8.074 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001117/0.7249, allocations: 109.8 kB / 0.7311 GB, free: 7.957 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.476e-05/0.725, allocations: 7.906 kB / 0.7312 GB, free: 7.949 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.38e-05/0.725, allocations: 7.125 kB / 0.7312 GB, free: 7.941 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.728e-06/0.725, allocations: 0 / 0.7312 GB, free: 7.941 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.273e-05/0.725, allocations: 7.938 kB / 0.7312 GB, free: 7.934 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.725, allocations: 3.938 kB / 0.7312 GB, free: 7.93 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000163/0.7252, allocations: 165.6 kB / 0.7313 GB, free: 7.719 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.7252, allocations: 0 / 0.7313 GB, free: 7.719 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.073e-05/0.7253, allocations: 11.98 kB / 0.7313 GB, free: 7.707 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.7253, allocations: 0 / 0.7313 GB, free: 7.707 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.7253, allocations: 4 kB / 0.7313 GB, free: 7.703 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.7253, allocations: 0 / 0.7313 GB, free: 7.703 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.7253, allocations: 0 / 0.7313 GB, free: 7.703 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002399/0.7255, allocations: 175.5 kB / 0.7315 GB, free: 7.516 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.491e-05/0.7256, allocations: 77.11 kB / 0.7316 GB, free: 7.422 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.325e-05/0.7256, allocations: 3.938 kB / 0.7316 GB, free: 7.418 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.204e-05/0.7257, allocations: 20.02 kB / 0.7316 GB, free: 7.398 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.561e-05/0.7258, allocations: 3.984 kB / 0.7316 GB, free: 7.395 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.314e-06/0.7258, allocations: 0 / 0.7316 GB, free: 7.395 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.521e-05/0.7258, allocations: 83.28 kB / 0.7317 GB, free: 7.312 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7258, allocations: 0 / 0.7317 GB, free: 7.312 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002025/0.726, allocations: 4 kB / 0.7317 GB, free: 7.309 MB / 0.545 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 (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.0001453/0.7262, allocations: 107.2 kB / 0.7318 GB, free: 7.191 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002216/0.7264, allocations: 47.97 kB / 0.7318 GB, free: 7.145 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.7264, allocations: 0 / 0.7318 GB, free: 7.145 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.518e-05/0.7265, allocations: 23.98 kB / 0.7319 GB, free: 7.121 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000199/0.7267, allocations: 12.81 kB / 0.7319 GB, free: 7.109 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002545/0.727, allocations: 108.7 kB / 0.732 GB, free: 6.98 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003181/0.7273, allocations: 0.6809 MB / 0.7327 GB, free: 6.273 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.705e-05/0.7273, allocations: 7.922 kB / 0.7327 GB, free: 6.266 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.16e-05/0.7274, allocations: 11.38 kB / 0.7327 GB, free: 6.254 MB / 0.545 GB Notification: Performance of SimCode: time 2.3e-07/0.7274, allocations: 0 / 0.7327 GB, free: 6.254 MB / 0.545 GB Notification: Performance of Templates: time 0.002352/0.7297, allocations: 384.2 kB / 0.733 GB, free: 5.883 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: