Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.888/1.888, allocations: 288.4 MB / 303.4 MB, free: 8.09 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001007/0.001008, allocations: 177.1 kB / 372 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.728/1.728, allocations: 205.4 MB / 0.6307 GB, free: 10.03 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001242/0.001241, allocations: 91.81 kB / 0.7441 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004577/0.0004576, allocations: 14.19 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2779/0.2784, allocations: 115.3 MB / 0.9796 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold): time 0.002245/0.2807, allocations: 1.587 MB / 0.9812 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001348/0.282, allocations: 0.9493 MB / 0.9821 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001058/0.2822, allocations: 0 / 0.9821 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003686/0.2825, allocations: 103.7 kB / 0.9822 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001981/0.2828, allocations: 75.73 kB / 0.9823 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000278/0.283, allocations: 100.9 kB / 0.9824 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001931/0.2832, allocations: 175.5 kB / 0.9825 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001436/0.2834, allocations: 29.67 kB / 0.9825 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001038/0.2835, allocations: 75.62 kB / 0.9826 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.901e-05/0.2836, allocations: 75.61 kB / 0.9827 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.016e-05/0.2836, allocations: 0 / 0.9827 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001154/0.2838, allocations: 51.97 kB / 0.9827 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.786e-05/0.2838, allocations: 51.77 kB / 0.9828 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.676e-05/0.2839, allocations: 57.52 kB / 0.9828 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002101/0.2841, allocations: 211.8 kB / 0.983 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.2841, allocations: 0 / 0.983 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.413e-06/0.2841, allocations: 4 kB / 0.9831 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.63e-06/0.2841, allocations: 0 / 0.9831 GB, free: 24.09 MB / 0.6198 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.0008668/0.285, allocations: 0.4943 MB / 0.9835 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.2851, allocations: 16.02 kB / 0.9836 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.351e-05/0.2851, allocations: 23.67 kB / 0.9836 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003922/0.2855, allocations: 294.4 kB / 0.9839 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.678e-05/0.2856, allocations: 12 kB / 0.9839 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.222e-05/0.2856, allocations: 4 kB / 0.9839 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000212/0.2858, allocations: 89.64 kB / 0.984 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.2858, allocations: 0 / 0.984 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.592e-05/0.2859, allocations: 4 kB / 0.984 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.2859, allocations: 3.984 kB / 0.984 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.988e-05/0.286, allocations: 43.88 kB / 0.984 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006193/0.2866, allocations: 424.6 kB / 0.9844 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000219/0.2868, allocations: 86.61 kB / 0.9845 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.915e-05/0.2869, allocations: 32.8 kB / 0.9845 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.815e-05/0.2869, allocations: 0 / 0.9845 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001521/0.2871, allocations: 79.38 kB / 0.9846 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.2871, allocations: 0 / 0.9846 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0003131/0.2874, allocations: 133.3 kB / 0.9847 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.263e-05/0.2875, allocations: 55.41 kB / 0.9848 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002981/0.2878, allocations: 362.9 kB / 0.9851 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.577e-05/0.2878, allocations: 25.7 kB / 0.9851 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.269e-05/0.2879, allocations: 140 kB / 0.9853 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.072e-05/0.2879, allocations: 19.8 kB / 0.9853 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.917e-06/0.2879, allocations: 4 kB / 0.9853 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.112e-05/0.288, allocations: 334.8 kB / 0.9856 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.189e-05/0.2881, allocations: 55.98 kB / 0.9857 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001043/0.2882, allocations: 79.25 kB / 0.9858 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.863e-05/0.2883, allocations: 57.67 kB / 0.9858 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.2883, allocations: 0 / 0.9858 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000257/0.2886, allocations: 193.2 kB / 0.986 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.395e-05/0.2886, allocations: 4 kB / 0.986 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.2887, allocations: 3.938 kB / 0.986 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.2887, allocations: 4 kB / 0.986 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001143/0.2888, allocations: 19.98 kB / 0.986 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.228e-06/0.2888, allocations: 11.97 kB / 0.986 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001002/0.2889, allocations: 15.98 kB / 0.986 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.088e-05/0.2889, allocations: 7.938 kB / 0.9861 GB, free: 20.79 MB / 0.6198 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 ($whenCondition1,$PRE.ram.tab.nextTimeEvent,les.y,$PRE.lesHys.lesHys.y,lesHys.lesHys.y,ram.tab.nextTimeEvent,$PRE.ram.tab.nextTimeEventScaled,ram.tab.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001186/0.2891, allocations: 154.6 kB / 0.9862 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.349e-05/0.2891, allocations: 23.67 kB / 0.9862 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.985e-05/0.2892, allocations: 25.75 kB / 0.9863 GB, free: 20.58 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.2892, allocations: 7.984 kB / 0.9863 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.2892, allocations: 0 / 0.9863 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.2892, allocations: 0 / 0.9863 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001583/0.2893, allocations: 249.4 kB / 0.9865 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.2894, allocations: 0 / 0.9865 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.186e-05/0.2894, allocations: 7.984 kB / 0.9865 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.552e-06/0.2894, allocations: 0 / 0.9865 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.2894, allocations: 7.953 kB / 0.9865 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.2894, allocations: 3.938 kB / 0.9865 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2894, allocations: 0 / 0.9865 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001873/0.2896, allocations: 133.2 kB / 0.9866 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.419e-05/0.2897, allocations: 104.8 kB / 0.9867 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.844e-05/0.2897, allocations: 0 / 0.9867 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.153e-05/0.2898, allocations: 19.94 kB / 0.9868 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.219e-05/0.2899, allocations: 11.98 kB / 0.9868 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.715e-06/0.2899, allocations: 0 / 0.9868 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001755/0.2901, allocations: 229.9 kB / 0.987 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2901, allocations: 8 kB / 0.987 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002268/0.2903, allocations: 32.12 kB / 0.987 GB, free: 19.7 MB / 0.6198 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 (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.0009638/0.2913, allocations: 431 kB / 0.9874 GB, free: 19.42 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002376/0.2915, allocations: 107.8 kB / 0.9875 GB, free: 19.31 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.2915, allocations: 0 / 0.9875 GB, free: 19.31 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.488e-05/0.2916, allocations: 31.92 kB / 0.9876 GB, free: 19.28 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003314/0.2919, allocations: 59.58 kB / 0.9876 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000572/0.2925, allocations: 404.5 kB / 0.988 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000228/0.2928, allocations: 0.7479 MB / 0.9887 GB, free: 18.03 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.898e-05/0.2929, allocations: 29.55 kB / 0.9888 GB, free: 18 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.785e-05/0.2929, allocations: 27.42 kB / 0.9888 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of SimCode: time 2.4e-07/0.2929, allocations: 0 / 0.9888 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of Templates: time 0.005351/0.2983, allocations: 2.552 MB / 0.9913 GB, free: 15.43 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe 2>&1)