Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.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.Less,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Less") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Less,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Less") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.007857/0.007858, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.768/1.768, allocations: 205.4 MB / 222.5 MB, free: 5.566 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.945/1.945, allocations: 292.7 MB / 0.5502 GB, free: 14.5 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.0005334/0.0005334, allocations: 16.41 kB / 0.6743 GB, free: 25.93 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3018/0.3023, allocations: 116.3 MB / 0.7879 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Less): time 0.0028/0.3052, allocations: 1.652 MB / 0.7895 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001897/0.3071, allocations: 0.9997 MB / 0.7905 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001219/0.3073, allocations: 4 kB / 0.7905 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004162/0.3077, allocations: 95.69 kB / 0.7906 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002435/0.308, allocations: 87.7 kB / 0.7907 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003263/0.3083, allocations: 123 kB / 0.7908 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002731/0.3086, allocations: 195.5 kB / 0.791 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002008/0.3088, allocations: 61.88 kB / 0.791 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001289/0.3089, allocations: 75.58 kB / 0.7911 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001426/0.3091, allocations: 83.61 kB / 0.7912 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.273e-05/0.3091, allocations: 4 kB / 0.7912 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001363/0.3092, allocations: 59.89 kB / 0.7912 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.644e-05/0.3093, allocations: 47.83 kB / 0.7913 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000113/0.3095, allocations: 105.1 kB / 0.7914 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003361/0.3098, allocations: 263.3 kB / 0.7916 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.795e-06/0.3098, allocations: 0 / 0.7916 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.917e-06/0.3098, allocations: 3.984 kB / 0.7916 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.908e-06/0.3098, allocations: 0 / 0.7916 GB, free: 7.715 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0008639/0.3107, allocations: 0.5023 MB / 0.7921 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.3108, allocations: 16.03 kB / 0.7921 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.396e-05/0.3108, allocations: 20.66 kB / 0.7922 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004376/0.3113, allocations: 303.7 kB / 0.7925 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.219e-05/0.3113, allocations: 8.375 kB / 0.7925 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.288e-05/0.3113, allocations: 7.938 kB / 0.7925 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002094/0.3116, allocations: 105.5 kB / 0.7926 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.3116, allocations: 0 / 0.7926 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.3116, allocations: 3.938 kB / 0.7926 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.373e-06/0.3116, allocations: 4 kB / 0.7926 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001357/0.3118, allocations: 51.97 kB / 0.7926 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008103/0.3126, allocations: 452.3 kB / 0.7931 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002332/0.3128, allocations: 78.67 kB / 0.7931 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.433e-05/0.3129, allocations: 32.84 kB / 0.7932 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.784e-05/0.3129, allocations: 3.938 kB / 0.7932 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001847/0.3131, allocations: 79.31 kB / 0.7932 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/0.3131, allocations: 4 kB / 0.7932 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003794/0.3135, allocations: 125.5 kB / 0.7934 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.797e-05/0.3136, allocations: 55.41 kB / 0.7934 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004059/0.314, allocations: 370.8 kB / 0.7938 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.59e-05/0.314, allocations: 29.7 kB / 0.7938 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.3142, allocations: 147.9 kB / 0.7939 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.341e-05/0.3142, allocations: 15.8 kB / 0.794 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.964e-05/0.3142, allocations: 25.72 kB / 0.794 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001537/0.3144, allocations: 338.8 kB / 0.7943 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001072/0.3145, allocations: 59.97 kB / 0.7944 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001149/0.3146, allocations: 76.66 kB / 0.7944 GB, free: 4.625 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001697/0.3148, allocations: 92.17 kB / 0.7945 GB, free: 4.531 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3148, allocations: 0 / 0.7945 GB, free: 4.531 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003189/0.3152, allocations: 201.3 kB / 0.7947 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.6e-05/0.3152, allocations: 4 kB / 0.7947 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.3152, allocations: 0 / 0.7947 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.3152, allocations: 0 / 0.7947 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001232/0.3154, allocations: 31.92 kB / 0.7948 GB, free: 4.293 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.3154, allocations: 0 / 0.7948 GB, free: 4.293 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001086/0.3155, allocations: 19.84 kB / 0.7948 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.672e-05/0.3155, allocations: 7.984 kB / 0.7948 GB, free: 4.266 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.000164/0.3157, allocations: 160.9 kB / 0.7949 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.249e-05/0.3157, allocations: 27.59 kB / 0.795 GB, free: 4.074 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.92e-05/0.3158, allocations: 29.73 kB / 0.795 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.3158, allocations: 0 / 0.795 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.381e-06/0.3158, allocations: 0 / 0.795 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.3158, allocations: 0 / 0.795 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002271/0.3161, allocations: 245.6 kB / 0.7952 GB, free: 3.758 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3161, allocations: 0 / 0.7952 GB, free: 3.758 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.515e-05/0.3161, allocations: 7.938 kB / 0.7952 GB, free: 3.75 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.3161, allocations: 0 / 0.7952 GB, free: 3.75 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.809e-06/0.3161, allocations: 7.938 kB / 0.7952 GB, free: 3.742 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.3161, allocations: 0 / 0.7952 GB, free: 3.742 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.3161, allocations: 7.984 kB / 0.7952 GB, free: 3.734 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002304/0.3164, allocations: 141 kB / 0.7954 GB, free: 3.578 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.658e-05/0.3165, allocations: 104.8 kB / 0.7955 GB, free: 3.457 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.489e-05/0.3165, allocations: 11.98 kB / 0.7955 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.207e-05/0.3166, allocations: 12 kB / 0.7955 GB, free: 3.434 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.752e-05/0.3167, allocations: 11.97 kB / 0.7955 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.167e-05/0.3167, allocations: 4 kB / 0.7955 GB, free: 3.418 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002345/0.3169, allocations: 229.9 kB / 0.7957 GB, free: 3.195 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3169, allocations: 0 / 0.7957 GB, free: 3.195 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002699/0.3172, allocations: 39.92 kB / 0.7958 GB, free: 3.156 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.001074/0.3183, allocations: 419.7 kB / 0.7962 GB, free: 2.895 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002397/0.3185, allocations: 107.9 kB / 0.7963 GB, free: 2.789 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.3185, allocations: 0 / 0.7963 GB, free: 2.789 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.155e-05/0.3186, allocations: 35.92 kB / 0.7963 GB, free: 2.754 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003707/0.319, allocations: 44.8 kB / 0.7964 GB, free: 2.703 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007185/0.3197, allocations: 426.7 kB / 0.7968 GB, free: 2.262 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000399/0.3202, allocations: 0.744 MB / 0.7975 GB, free: 1.492 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 9.474e-05/0.3203, allocations: 33.94 kB / 0.7975 GB, free: 1.457 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.055e-05/0.3203, allocations: 23.44 kB / 0.7975 GB, free: 1.434 MB / 0.6075 GB Notification: Performance of SimCode: time 1.022e-06/0.3203, allocations: 0 / 0.7975 GB, free: 1.434 MB / 0.6075 GB Notification: Performance of Templates: time 0.006661/0.327, allocations: 2.608 MB / 0.8001 GB, free: 14.84 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Less -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe 2>&1) Environment - environmentSimulation: