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.001084/0.001084, allocations: 106.8 kB / 16.29 MB, free: 6.43 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.001032/0.001032, allocations: 187.9 kB / 17.22 MB, free: 5.934 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.668/1.668, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.977/1.977, allocations: 292.3 MB / 0.5495 GB, free: 17.62 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.001485/0.001485, allocations: 71.91 kB / 0.6722 GB, free: 6.473 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2805/0.282, allocations: 114.6 MB / 0.7841 GB, free: 3.793 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold): time 0.00351/0.2856, allocations: 1.917 MB / 0.786 GB, free: 1.855 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001707/0.2873, allocations: 1.027 MB / 0.787 GB, free: 0.8203 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001358/0.2875, allocations: 7.938 kB / 0.787 GB, free: 0.8125 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0003733/0.2879, allocations: 107.5 kB / 0.7871 GB, free: 0.707 MB / 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.0002655/0.2882, allocations: 95.58 kB / 0.7872 GB, free: 0.6133 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003085/0.2885, allocations: 121 kB / 0.7873 GB, free: 0.4961 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002399/0.2887, allocations: 207.4 kB / 0.7875 GB, free: 300 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001548/0.2889, allocations: 45.66 kB / 0.7875 GB, free: 252 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001428/0.289, allocations: 83.69 kB / 0.7876 GB, free: 168 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001227/0.2892, allocations: 103.5 kB / 0.7877 GB, free: 64 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.691e-05/0.2892, allocations: 8 kB / 0.7877 GB, free: 56 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.4744/0.7636, allocations: 59.5 kB / 0.7878 GB, free: 46.13 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.000216/0.7639, allocations: 55.97 kB / 0.7878 GB, free: 46.13 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001384/0.7641, allocations: 85.08 kB / 0.7879 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0005191/0.7646, allocations: 273.3 kB / 0.7882 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.7646, allocations: 0 / 0.7882 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.715e-06/0.7647, allocations: 0 / 0.7882 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.707e-06/0.7647, allocations: 2.438 kB / 0.7882 GB, free: 46.09 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.000907/0.7656, allocations: 0.5273 MB / 0.7887 GB, free: 45.66 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.7656, allocations: 6.5 kB / 0.7887 GB, free: 45.66 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.582e-05/0.7657, allocations: 24.16 kB / 0.7887 GB, free: 45.64 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003636/0.7661, allocations: 308.2 kB / 0.789 GB, free: 45.42 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.92e-05/0.7661, allocations: 3.656 kB / 0.789 GB, free: 45.42 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.325e-05/0.7661, allocations: 11.22 kB / 0.789 GB, free: 45.41 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001955/0.7663, allocations: 87.94 kB / 0.7891 GB, free: 45.38 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.7663, allocations: 0 / 0.7891 GB, free: 45.38 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.675e-05/0.7664, allocations: 3.688 kB / 0.7891 GB, free: 45.38 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.818e-06/0.7664, allocations: 2.75 kB / 0.7891 GB, free: 45.38 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001124/0.7665, allocations: 36.78 kB / 0.7891 GB, free: 45.38 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006461/0.7672, allocations: 426.7 kB / 0.7896 GB, free: 45.11 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002242/0.7674, allocations: 77.78 kB / 0.7896 GB, free: 45.08 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.336e-05/0.7675, allocations: 25.7 kB / 0.7897 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.839e-05/0.7675, allocations: 4.891 kB / 0.7897 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001633/0.7677, allocations: 83.2 kB / 0.7897 GB, free: 45.03 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.392e-06/0.7677, allocations: 0 / 0.7897 GB, free: 45.03 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0003307/0.768, allocations: 128.6 kB / 0.7899 GB, free: 44.98 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.981e-05/0.7681, allocations: 55.94 kB / 0.7899 GB, free: 44.92 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003252/0.7684, allocations: 371.5 kB / 0.7903 GB, free: 44.8 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.346e-05/0.7684, allocations: 28.95 kB / 0.7903 GB, free: 44.77 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.51e-05/0.7685, allocations: 141.1 kB / 0.7904 GB, free: 44.69 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.05e-05/0.7685, allocations: 14.66 kB / 0.7904 GB, free: 44.68 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.592e-05/0.7686, allocations: 41.11 kB / 0.7905 GB, free: 44.66 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.057e-05/0.7687, allocations: 334.9 kB / 0.7908 GB, free: 44.35 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001116/0.7688, allocations: 61.28 kB / 0.7909 GB, free: 44.35 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001258/0.769, allocations: 76.61 kB / 0.7909 GB, free: 44.33 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001578/0.7691, allocations: 98.02 kB / 0.791 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.7691, allocations: 0.5938 kB / 0.791 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002816/0.7694, allocations: 189.9 kB / 0.7912 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.7695, allocations: 5.281 kB / 0.7912 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.7695, allocations: 0 / 0.7912 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.7695, allocations: 2.688 kB / 0.7912 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001299/0.7696, allocations: 28.36 kB / 0.7912 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.7696, allocations: 3.938 kB / 0.7912 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001015/0.7697, allocations: 23.33 kB / 0.7913 GB, free: 44.26 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.568e-05/0.7698, allocations: 4.281 kB / 0.7913 GB, free: 44.26 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.0001246/0.7699, allocations: 150.2 kB / 0.7914 GB, free: 44.15 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.247e-05/0.77, allocations: 22.73 kB / 0.7914 GB, free: 44.14 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.19e-05/0.77, allocations: 21.19 kB / 0.7915 GB, free: 44.13 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.77, allocations: 5.5 kB / 0.7915 GB, free: 44.13 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/0.77, allocations: 14.95 kB / 0.7915 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.77, allocations: 0 / 0.7915 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001698/0.7702, allocations: 244.9 kB / 0.7917 GB, free: 43.94 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.7702, allocations: 0.5 kB / 0.7917 GB, free: 43.94 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.217e-05/0.7703, allocations: 2.625 kB / 0.7917 GB, free: 43.94 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.7703, allocations: 1.406 kB / 0.7917 GB, free: 43.94 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.7703, allocations: 7.422 kB / 0.7917 GB, free: 43.94 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.7703, allocations: 0.6875 kB / 0.7917 GB, free: 43.94 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.7703, allocations: 3.938 kB / 0.7917 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002068/0.7705, allocations: 138.3 kB / 0.7919 GB, free: 43.86 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.646e-05/0.7706, allocations: 102.3 kB / 0.792 GB, free: 43.76 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.898e-05/0.7706, allocations: 0.625 kB / 0.792 GB, free: 43.76 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.963e-05/0.7707, allocations: 11.89 kB / 0.792 GB, free: 43.76 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.783e-05/0.7708, allocations: 16.19 kB / 0.792 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.7708, allocations: 2.625 kB / 0.792 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001998/0.771, allocations: 233.9 kB / 0.7922 GB, free: 43.67 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/0.771, allocations: 0 / 0.7922 GB, free: 43.67 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002647/0.7713, allocations: 41.5 kB / 0.7923 GB, free: 43.66 MB / 0.6544 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 (ram.tab.nextTimeEventScaled,lesHys.lesHys.y,ram.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001359/0.7726, allocations: 415.4 kB / 0.7926 GB, free: 43.57 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000336/0.773, allocations: 117 kB / 0.7928 GB, free: 43.56 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.521e-06/0.773, allocations: 2.859 kB / 0.7928 GB, free: 43.56 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 9.346e-05/0.7731, allocations: 29.48 kB / 0.7928 GB, free: 43.56 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000381/0.7735, allocations: 58.39 kB / 0.7928 GB, free: 43.56 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007127/0.7742, allocations: 355 kB / 0.7932 GB, free: 43.38 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002692/0.7745, allocations: 0.7434 MB / 0.7939 GB, free: 42.68 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 8.332e-05/0.7746, allocations: 31.61 kB / 0.7939 GB, free: 42.68 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.929e-05/0.7746, allocations: 22.42 kB / 0.794 GB, free: 42.68 MB / 0.6544 GB Notification: Performance of SimCode: time 2.21e-07/0.7746, allocations: 6.062 kB / 0.794 GB, free: 42.68 MB / 0.6544 GB Notification: Performance of Templates: time 0.00635/0.781, allocations: 2.809 MB / 0.7967 GB, free: 42.53 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe 2>&1)