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.001447/0.001447, allocations: 105.6 kB / 15.98 MB, free: 6.34 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.001652/0.001652, allocations: 196.5 kB / 16.91 MB, free: 6.191 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.515/1.515, allocations: 205.1 MB / 222.8 MB, free: 4.699 MB / 174.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.698/1.698, allocations: 292.3 MB / 0.5492 GB, free: 13.63 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.001495/0.001495, allocations: 73.86 kB / 0.6717 GB, free: 26.5 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2619/0.2634, allocations: 114.6 MB / 0.7835 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold): time 0.003401/0.2669, allocations: 1.972 MB / 0.7855 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001557/0.2685, allocations: 1.007 MB / 0.7864 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001508/0.2686, allocations: 7.938 kB / 0.7865 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004024/0.2691, allocations: 103.7 kB / 0.7866 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002578/0.2693, allocations: 83.72 kB / 0.7866 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003399/0.2697, allocations: 111.7 kB / 0.7867 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002691/0.27, allocations: 207.4 kB / 0.7869 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001576/0.2701, allocations: 41.67 kB / 0.787 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001536/0.2703, allocations: 99.5 kB / 0.7871 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000125/0.2704, allocations: 91.66 kB / 0.7872 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.412e-05/0.2705, allocations: 12 kB / 0.7872 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001411/0.2706, allocations: 67.91 kB / 0.7872 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.951e-05/0.2707, allocations: 59.81 kB / 0.7873 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.972e-05/0.2708, allocations: 79.42 kB / 0.7874 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002892/0.2711, allocations: 215.8 kB / 0.7876 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.2711, allocations: 4 kB / 0.7876 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.423e-06/0.2711, allocations: 0 / 0.7876 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.2711, allocations: 0 / 0.7876 GB, free: 9.746 MB / 0.6075 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.0008479/0.272, allocations: 0.5371 MB / 0.7881 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.272, allocations: 8.031 kB / 0.7881 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.334e-05/0.2721, allocations: 24.66 kB / 0.7881 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003735/0.2725, allocations: 307.7 kB / 0.7884 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.2725, allocations: 8.359 kB / 0.7884 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.355e-05/0.2725, allocations: 11.94 kB / 0.7884 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001876/0.2727, allocations: 77.66 kB / 0.7885 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.2727, allocations: 4 kB / 0.7885 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.2728, allocations: 0 / 0.7885 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.2728, allocations: 0 / 0.7885 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001092/0.2729, allocations: 39.92 kB / 0.7886 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006562/0.2735, allocations: 424.6 kB / 0.789 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002358/0.2738, allocations: 78.61 kB / 0.789 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.677e-05/0.2739, allocations: 32.84 kB / 0.7891 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.641e-05/0.2739, allocations: 4 kB / 0.7891 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001767/0.2741, allocations: 79.38 kB / 0.7892 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.814e-06/0.2741, allocations: 3.938 kB / 0.7892 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003945/0.2745, allocations: 141.2 kB / 0.7893 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.522e-05/0.2746, allocations: 51.41 kB / 0.7893 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000352/0.2749, allocations: 362.9 kB / 0.7897 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.205e-05/0.2749, allocations: 29.7 kB / 0.7897 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.567e-05/0.275, allocations: 140 kB / 0.7899 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.934e-05/0.2751, allocations: 19.8 kB / 0.7899 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.737e-05/0.2752, allocations: 45.7 kB / 0.7899 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.2753, allocations: 334.8 kB / 0.7902 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001016/0.2754, allocations: 55.98 kB / 0.7903 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001154/0.2755, allocations: 73.69 kB / 0.7904 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001529/0.2757, allocations: 96.72 kB / 0.7904 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2757, allocations: 0 / 0.7904 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002971/0.276, allocations: 193.3 kB / 0.7906 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.276, allocations: 4 kB / 0.7906 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.276, allocations: 0 / 0.7906 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.276, allocations: 7.875 kB / 0.7906 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.2762, allocations: 31.92 kB / 0.7907 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.2762, allocations: 0 / 0.7907 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001041/0.2763, allocations: 15.89 kB / 0.7907 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.389e-05/0.2763, allocations: 4 kB / 0.7907 GB, free: 6.32 MB / 0.6075 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.0001395/0.2765, allocations: 161.7 kB / 0.7908 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3e-05/0.2765, allocations: 19.72 kB / 0.7909 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.788e-05/0.2766, allocations: 29.73 kB / 0.7909 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.2766, allocations: 3.938 kB / 0.7909 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.2766, allocations: 0 / 0.7909 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.2766, allocations: 0 / 0.7909 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002149/0.2768, allocations: 245.5 kB / 0.7911 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.2768, allocations: 0 / 0.7911 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.837e-05/0.2769, allocations: 4 kB / 0.7911 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.2769, allocations: 0 / 0.7911 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.2769, allocations: 11.98 kB / 0.7911 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.2769, allocations: 3.938 kB / 0.7912 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2769, allocations: 0 / 0.7912 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002117/0.2771, allocations: 128.8 kB / 0.7913 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.846e-05/0.2772, allocations: 100.9 kB / 0.7914 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.311e-05/0.2772, allocations: 11.91 kB / 0.7914 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.539e-05/0.2773, allocations: 11.94 kB / 0.7914 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.137e-05/0.2774, allocations: 15.98 kB / 0.7914 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.296e-05/0.2774, allocations: 11.98 kB / 0.7914 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002146/0.2776, allocations: 225.9 kB / 0.7916 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2776, allocations: 0 / 0.7916 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002555/0.2779, allocations: 35.91 kB / 0.7917 GB, free: 5.227 MB / 0.6075 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.000982/0.2789, allocations: 421 kB / 0.7921 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002547/0.2791, allocations: 107.9 kB / 0.7922 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2791, allocations: 0 / 0.7922 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.36e-05/0.2792, allocations: 35.97 kB / 0.7922 GB, free: 4.824 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003485/0.2796, allocations: 52.38 kB / 0.7923 GB, free: 4.773 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006801/0.2803, allocations: 453.1 kB / 0.7927 GB, free: 4.297 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000306/0.2806, allocations: 0.7515 MB / 0.7934 GB, free: 3.52 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.389e-05/0.2807, allocations: 19.44 kB / 0.7934 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.2807, allocations: 0 / 0.7934 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of Templates: time 0.005171/0.2858, allocations: 3.051 MB / 0.7964 GB, free: 472 kB / 0.6075 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)