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.001305/0.001305, 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.001486/0.001487, allocations: 191.8 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.597/1.597, allocations: 205.1 MB / 222.1 MB, free: 4.73 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.815/1.815, allocations: 292.2 MB / 0.5485 GB, free: 13.66 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.001589/0.001589, allocations: 72.3 kB / 0.671 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3225/0.3241, allocations: 114.5 MB / 0.7829 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Less): time 0.003796/0.3279, allocations: 2.013 MB / 0.7848 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002102/0.33, allocations: 0.9997 MB / 0.7858 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002598/0.3303, allocations: 7.938 kB / 0.7858 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004898/0.3308, allocations: 107.7 kB / 0.7859 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003557/0.3312, allocations: 79.73 kB / 0.786 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004391/0.3317, allocations: 122.1 kB / 0.7861 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003081/0.332, allocations: 223.4 kB / 0.7863 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002029/0.3322, allocations: 65.8 kB / 0.7864 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000186/0.3324, allocations: 91.58 kB / 0.7865 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001453/0.3326, allocations: 99.59 kB / 0.7866 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.62e-05/0.3326, allocations: 12 kB / 0.7866 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001655/0.3328, allocations: 75.89 kB / 0.7867 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.983e-05/0.3329, allocations: 59.83 kB / 0.7867 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.307e-05/0.333, allocations: 83.41 kB / 0.7868 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003717/0.3333, allocations: 279.4 kB / 0.7871 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3334, allocations: 0 / 0.7871 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3334, allocations: 0 / 0.7871 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.223e-05/0.3334, allocations: 0 / 0.7871 GB, free: 9.559 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.000878/0.3343, allocations: 0.5333 MB / 0.7876 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.3343, allocations: 8.031 kB / 0.7876 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.785e-05/0.3344, allocations: 28.56 kB / 0.7876 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003521/0.3347, allocations: 303.7 kB / 0.7879 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.3348, allocations: 4.375 kB / 0.7879 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.366e-05/0.3348, allocations: 15.94 kB / 0.7879 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000214/0.335, allocations: 93.58 kB / 0.788 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.335, allocations: 0 / 0.788 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.335, allocations: 4 kB / 0.788 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.3351, allocations: 0 / 0.788 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001173/0.3352, allocations: 43.98 kB / 0.7881 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006741/0.3359, allocations: 460.3 kB / 0.7885 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002181/0.3361, allocations: 70.67 kB / 0.7886 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.442e-05/0.3362, allocations: 32.84 kB / 0.7886 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.221e-05/0.3362, allocations: 4 kB / 0.7886 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001617/0.3364, allocations: 87.31 kB / 0.7887 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.443e-06/0.3364, allocations: 0 / 0.7887 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003231/0.3367, allocations: 121.5 kB / 0.7888 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.718e-05/0.3367, allocations: 55.41 kB / 0.7889 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003397/0.3371, allocations: 374.8 kB / 0.7892 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.925e-05/0.3371, allocations: 29.7 kB / 0.7892 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.631e-05/0.3372, allocations: 144 kB / 0.7894 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.39e-05/0.3372, allocations: 19.8 kB / 0.7894 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.827e-05/0.3373, allocations: 41.7 kB / 0.7894 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.3374, allocations: 334.8 kB / 0.7898 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001027/0.3376, allocations: 55.89 kB / 0.7898 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001145/0.3377, allocations: 84.12 kB / 0.7899 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001553/0.3378, allocations: 97.62 kB / 0.79 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3378, allocations: 0 / 0.79 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002976/0.3381, allocations: 193.2 kB / 0.7902 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.3382, allocations: 7.938 kB / 0.7902 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.3382, allocations: 0 / 0.7902 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.3382, allocations: 0 / 0.7902 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.3383, allocations: 23.98 kB / 0.7902 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.3383, allocations: 4.031 kB / 0.7902 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001037/0.3385, allocations: 19.92 kB / 0.7902 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.518e-05/0.3385, allocations: 4.312 kB / 0.7902 GB, free: 6.082 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.0001423/0.3386, allocations: 153.8 kB / 0.7904 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.347e-05/0.3387, allocations: 27.59 kB / 0.7904 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.551e-05/0.3387, allocations: 33.72 kB / 0.7904 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.3387, allocations: 0 / 0.7904 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.3388, allocations: 0 / 0.7904 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.3388, allocations: 4 kB / 0.7904 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001998/0.339, allocations: 249.5 kB / 0.7907 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.339, allocations: 0 / 0.7907 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.62e-05/0.339, allocations: 11.92 kB / 0.7907 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.339, allocations: 0 / 0.7907 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.339, allocations: 0 / 0.7907 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.339, allocations: 4 kB / 0.7907 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.339, allocations: 0 / 0.7907 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002198/0.3393, allocations: 140.8 kB / 0.7908 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.423e-05/0.3394, allocations: 108.8 kB / 0.7909 GB, free: 5.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.363e-05/0.3394, allocations: 4 kB / 0.7909 GB, free: 5.266 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.611e-05/0.3395, allocations: 7.984 kB / 0.7909 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.853e-05/0.3395, allocations: 11.98 kB / 0.7909 GB, free: 5.246 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.3396, allocations: 4 kB / 0.7909 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002131/0.3398, allocations: 229.9 kB / 0.7912 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3398, allocations: 0 / 0.7912 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002597/0.3401, allocations: 51.83 kB / 0.7912 GB, free: 4.969 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.001008/0.3411, allocations: 416.6 kB / 0.7916 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000268/0.3414, allocations: 111.9 kB / 0.7917 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3414, allocations: 0 / 0.7917 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.537e-05/0.3415, allocations: 31.92 kB / 0.7918 GB, free: 4.57 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003594/0.3418, allocations: 51.95 kB / 0.7918 GB, free: 4.523 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006162/0.3425, allocations: 435.3 kB / 0.7922 GB, free: 4.07 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002917/0.3428, allocations: 0.7554 MB / 0.793 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.511e-05/0.3429, allocations: 30.09 kB / 0.793 GB, free: 3.262 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.63e-05/0.3429, allocations: 23.42 kB / 0.793 GB, free: 3.238 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.3429, allocations: 0 / 0.793 GB, free: 3.238 MB / 0.6075 GB Notification: Performance of Templates: time 0.006931/0.3499, allocations: 2.717 MB / 0.7957 GB, free: 0.543 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.makefile (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)