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.001363/0.001363, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001663/0.001663, allocations: 191.6 kB / 16.25 MB, free: 6.629 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.588/1.588, allocations: 205.1 MB / 222.1 MB, free: 4.719 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.872/1.872, allocations: 292.2 MB / 0.5485 GB, free: 13.64 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.001336/0.001336, allocations: 69.77 kB / 0.671 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2872/0.2886, allocations: 114.6 MB / 0.7829 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold): time 0.004231/0.2929, allocations: 1.979 MB / 0.7848 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001794/0.2947, allocations: 1.004 MB / 0.7858 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001799/0.2949, allocations: 8 kB / 0.7858 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004741/0.2954, allocations: 103.7 kB / 0.7859 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002816/0.2957, allocations: 91.66 kB / 0.786 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003883/0.2961, allocations: 103.8 kB / 0.7861 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002978/0.2964, allocations: 203.4 kB / 0.7863 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001731/0.2966, allocations: 45.61 kB / 0.7863 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001417/0.2968, allocations: 91.56 kB / 0.7864 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001285/0.2969, allocations: 95.66 kB / 0.7865 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.833e-05/0.2969, allocations: 12 kB / 0.7865 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001652/0.2971, allocations: 71.95 kB / 0.7866 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.817e-05/0.2972, allocations: 51.78 kB / 0.7866 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.987e-05/0.2973, allocations: 87.41 kB / 0.7867 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003611/0.2977, allocations: 267.3 kB / 0.787 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.2977, allocations: 0 / 0.787 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.704e-06/0.2977, allocations: 0 / 0.787 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.336e-06/0.2977, allocations: 0 / 0.787 GB, free: 9.695 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.001032/0.2988, allocations: 0.5332 MB / 0.7875 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.2988, allocations: 12.03 kB / 0.7875 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.992e-05/0.2989, allocations: 24.66 kB / 0.7875 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004413/0.2993, allocations: 303.7 kB / 0.7878 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.2994, allocations: 4.375 kB / 0.7878 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.955e-05/0.2994, allocations: 7.938 kB / 0.7878 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000205/0.2996, allocations: 85.41 kB / 0.7879 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.2996, allocations: 0 / 0.7879 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.391e-05/0.2996, allocations: 11.98 kB / 0.7879 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.2997, allocations: 0 / 0.7879 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001241/0.2998, allocations: 47.92 kB / 0.788 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007737/0.3006, allocations: 416.6 kB / 0.7884 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002524/0.3008, allocations: 82.61 kB / 0.7884 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.552e-05/0.3009, allocations: 32.83 kB / 0.7885 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.017e-05/0.301, allocations: 0 / 0.7885 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001883/0.3012, allocations: 83.36 kB / 0.7885 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.703e-06/0.3012, allocations: 0 / 0.7885 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003737/0.3015, allocations: 137.2 kB / 0.7887 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.345e-05/0.3016, allocations: 55.41 kB / 0.7887 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004477/0.3021, allocations: 362.9 kB / 0.7891 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.599e-05/0.3021, allocations: 33.64 kB / 0.7891 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.3022, allocations: 140 kB / 0.7892 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.787e-05/0.3022, allocations: 19.8 kB / 0.7893 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.164e-05/0.3023, allocations: 41.7 kB / 0.7893 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.3025, allocations: 330.8 kB / 0.7896 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001053/0.3026, allocations: 55.97 kB / 0.7897 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001146/0.3027, allocations: 81.69 kB / 0.7897 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000152/0.3028, allocations: 93.64 kB / 0.7898 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3029, allocations: 0 / 0.7898 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000299/0.3032, allocations: 191.5 kB / 0.79 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.3032, allocations: 8 kB / 0.79 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.3032, allocations: 0 / 0.79 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.3032, allocations: 11.91 kB / 0.79 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/0.3034, allocations: 27.92 kB / 0.7901 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.3034, allocations: 0 / 0.7901 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001056/0.3035, allocations: 15.91 kB / 0.7901 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.802e-05/0.3035, allocations: 7.984 kB / 0.7901 GB, free: 6.262 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.0001614/0.3037, allocations: 153.8 kB / 0.7902 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.397e-05/0.3037, allocations: 19.72 kB / 0.7903 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.558e-05/0.3038, allocations: 25.73 kB / 0.7903 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.3038, allocations: 11.94 kB / 0.7903 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/0.3038, allocations: 0 / 0.7903 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.3038, allocations: 3.938 kB / 0.7903 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000238/0.3041, allocations: 237.6 kB / 0.7905 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.3041, allocations: 0 / 0.7905 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.219e-05/0.3041, allocations: 4 kB / 0.7905 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3041, allocations: 0 / 0.7905 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.3041, allocations: 8 kB / 0.7905 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.3041, allocations: 3.938 kB / 0.7905 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.3041, allocations: 0 / 0.7905 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002306/0.3044, allocations: 136.8 kB / 0.7907 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.578e-05/0.3045, allocations: 96.92 kB / 0.7908 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.683e-05/0.3045, allocations: 4 kB / 0.7908 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.562e-05/0.3046, allocations: 15.92 kB / 0.7908 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.218e-05/0.3046, allocations: 11.98 kB / 0.7908 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/0.3047, allocations: 4 kB / 0.7908 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002352/0.3049, allocations: 233.9 kB / 0.791 GB, free: 5.219 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3049, allocations: 4 kB / 0.791 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002521/0.3052, allocations: 35.91 kB / 0.7911 GB, free: 5.18 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.001012/0.3062, allocations: 415.3 kB / 0.7915 GB, free: 4.918 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003137/0.3065, allocations: 115.9 kB / 0.7916 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3065, allocations: 0 / 0.7916 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.187e-05/0.3066, allocations: 27.98 kB / 0.7916 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003661/0.307, allocations: 66.08 kB / 0.7917 GB, free: 4.719 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007434/0.3077, allocations: 419.3 kB / 0.7921 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003955/0.3082, allocations: 0.7592 MB / 0.7928 GB, free: 3.496 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.546e-05/0.3082, allocations: 25.55 kB / 0.7928 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.888e-05/0.3083, allocations: 19.42 kB / 0.7928 GB, free: 3.449 MB / 0.6075 GB Notification: Performance of SimCode: time 6.11e-07/0.3083, allocations: 0 / 0.7928 GB, free: 3.449 MB / 0.6075 GB Notification: Performance of Templates: time 0.006532/0.3149, allocations: 2.715 MB / 0.7955 GB, free: 0.7578 MB / 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)