Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_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_8_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.001667/0.001667, allocations: 107 kB / 16.36 MB, free: 6.309 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.002057/0.002057, allocations: 190.2 kB / 17.3 MB, free: 5.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.59/1.59, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.972/1.972, allocations: 292.3 MB / 0.5496 GB, free: 17.44 MB / 462.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.002026/0.002026, allocations: 75.03 kB / 0.6729 GB, free: 5.816 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3038/0.3059, allocations: 114.6 MB / 0.7848 GB, free: 3.145 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold): time 0.004962/0.3109, allocations: 1.914 MB / 0.7867 GB, free: 1.211 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002207/0.3132, allocations: 1.034 MB / 0.7877 GB, free: 172 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002947/0.3135, allocations: 8 kB / 0.7877 GB, free: 164 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0005744/0.3141, allocations: 107.5 kB / 0.7878 GB, free: 56 kB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.58/0.8942, allocations: 87.81 kB / 0.7879 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004954/0.8947, allocations: 127.4 kB / 0.788 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003233/0.895, allocations: 203.6 kB / 0.7882 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001683/0.8952, allocations: 41.56 kB / 0.7882 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001244/0.8953, allocations: 88.55 kB / 0.7883 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001255/0.8955, allocations: 102 kB / 0.7884 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.554e-05/0.8955, allocations: 10.5 kB / 0.7884 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001486/0.8956, allocations: 60.23 kB / 0.7885 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 7.318e-05/0.8957, allocations: 56.55 kB / 0.7885 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 7.784e-05/0.8958, allocations: 81.42 kB / 0.7886 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003339/0.8961, allocations: 275 kB / 0.7889 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.8962, allocations: 1 kB / 0.7889 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.724e-06/0.8962, allocations: 0 / 0.7889 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.8962, allocations: 0 / 0.7889 GB, free: 46.49 MB / 0.6544 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.0008052/0.897, allocations: 0.5343 MB / 0.7894 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.897, allocations: 8.062 kB / 0.7894 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.046e-05/0.8971, allocations: 24.06 kB / 0.7894 GB, free: 46.03 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003261/0.8974, allocations: 309 kB / 0.7897 GB, free: 45.81 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.8975, allocations: 9.031 kB / 0.7897 GB, free: 45.81 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.547e-05/0.8975, allocations: 5.406 kB / 0.7897 GB, free: 45.81 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001645/0.8977, allocations: 82.95 kB / 0.7898 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.8977, allocations: 1.938 kB / 0.7898 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.8977, allocations: 5.188 kB / 0.7898 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.8977, allocations: 0 / 0.7898 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.375e-05/0.8978, allocations: 40.41 kB / 0.7899 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005639/0.8984, allocations: 429.2 kB / 0.7903 GB, free: 45.5 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002133/0.8986, allocations: 80.2 kB / 0.7904 GB, free: 45.47 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.297e-05/0.8987, allocations: 27.42 kB / 0.7904 GB, free: 45.46 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.682e-05/0.8987, allocations: 3.781 kB / 0.7904 GB, free: 45.46 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001665/0.8989, allocations: 77.11 kB / 0.7905 GB, free: 45.42 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.523e-06/0.8989, allocations: 0 / 0.7905 GB, free: 45.42 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0003241/0.8992, allocations: 136.3 kB / 0.7906 GB, free: 45.38 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.351e-05/0.8993, allocations: 56.95 kB / 0.7906 GB, free: 45.31 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003105/0.8996, allocations: 361.9 kB / 0.791 GB, free: 45.2 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.406e-05/0.8996, allocations: 36.2 kB / 0.791 GB, free: 45.16 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.086e-05/0.8997, allocations: 134.7 kB / 0.7911 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.953e-05/0.8997, allocations: 21.22 kB / 0.7912 GB, free: 45.06 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.715e-05/0.8998, allocations: 45.47 kB / 0.7912 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.745e-05/0.8998, allocations: 334.9 kB / 0.7915 GB, free: 44.73 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001005/0.8999, allocations: 55.8 kB / 0.7916 GB, free: 44.73 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001035/0.9, allocations: 76.2 kB / 0.7917 GB, free: 44.72 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001516/0.9002, allocations: 98.45 kB / 0.7918 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.9002, allocations: 1.438 kB / 0.7918 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002743/0.9005, allocations: 192 kB / 0.7919 GB, free: 44.66 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.9005, allocations: 6.031 kB / 0.7919 GB, free: 44.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.9005, allocations: 0.5312 kB / 0.7919 GB, free: 44.66 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.9006, allocations: 5.281 kB / 0.7919 GB, free: 44.66 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/0.9007, allocations: 22.83 kB / 0.792 GB, free: 44.66 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/0.9007, allocations: 3.938 kB / 0.792 GB, free: 44.65 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.779e-05/0.9008, allocations: 21.12 kB / 0.792 GB, free: 44.65 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.213e-05/0.9008, allocations: 5.25 kB / 0.792 GB, free: 44.65 MB / 0.6544 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 ($PRE.ram.tab.nextTimeEvent,$whenCondition1,ram.tab.nextTimeEventScaled,$PRE.ram.tab.nextTimeEventScaled,ram.tab.nextTimeEvent,lesHys.lesHys.y,$PRE.lesHys.lesHys.y,les.y) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001093/0.9009, allocations: 152.3 kB / 0.7921 GB, free: 44.54 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.778e-05/0.901, allocations: 22.75 kB / 0.7922 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.998e-05/0.901, allocations: 26.5 kB / 0.7922 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.237e-06/0.901, allocations: 0.625 kB / 0.7922 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.9011, allocations: 0 / 0.7922 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.73e-05/0.9011, allocations: 101 kB / 0.7923 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.21e-05/0.9011, allocations: 6.375 kB / 0.7923 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.675e-05/0.9012, allocations: 13.52 kB / 0.7923 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.749e-05/0.9013, allocations: 15 kB / 0.7923 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000212/0.9015, allocations: 173.9 kB / 0.7925 GB, free: 44.31 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001984/0.9017, allocations: 290.3 kB / 0.7928 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.284e-05/0.9018, allocations: 32.34 kB / 0.7928 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001805/0.902, allocations: 231.2 kB / 0.793 GB, free: 44.01 MB / 0.6544 GB Notification: Performance of Backend: time 4.01e-07/0.902, allocations: 0 / 0.793 GB, free: 44.01 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001528/0.9035, allocations: 0.5462 MB / 0.7935 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0006926/0.9042, allocations: 0.823 MB / 0.7944 GB, free: 43.27 MB / 0.6544 GB Notification: Performance of Templates: time 0.005926/0.9102, allocations: 2.969 MB / 0.7972 GB, free: 43.1 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe 2>&1)