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.0008585/0.0008585, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007307/0.007307, allocations: 169.9 kB / 16.26 MB, free: 6.676 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.784/1.784, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.88/1.88, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0005764/0.0005765, allocations: 20.03 kB / 0.6743 GB, free: 25.68 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3181/0.3187, allocations: 116.3 MB / 0.7879 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold): time 0.002706/0.3214, allocations: 1.629 MB / 0.7895 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001938/0.3234, allocations: 0.9958 MB / 0.7905 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001148/0.3235, allocations: 7.938 kB / 0.7905 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004322/0.324, allocations: 95.67 kB / 0.7906 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002449/0.3242, allocations: 83.73 kB / 0.7906 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000323/0.3245, allocations: 118.9 kB / 0.7907 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002855/0.3248, allocations: 191.4 kB / 0.7909 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001913/0.325, allocations: 45.66 kB / 0.791 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001321/0.3252, allocations: 75.62 kB / 0.791 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001396/0.3253, allocations: 87.55 kB / 0.7911 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.284e-05/0.3254, allocations: 4 kB / 0.7911 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001352/0.3255, allocations: 59.95 kB / 0.7912 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.798e-05/0.3256, allocations: 43.84 kB / 0.7912 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001076/0.3257, allocations: 101.1 kB / 0.7913 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003053/0.326, allocations: 263.2 kB / 0.7916 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.326, allocations: 0 / 0.7916 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.683e-06/0.326, allocations: 0 / 0.7916 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.141e-06/0.326, allocations: 0 / 0.7916 GB, free: 7.754 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.0008421/0.3269, allocations: 0.4985 MB / 0.7921 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.327, allocations: 12.03 kB / 0.7921 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.805e-05/0.327, allocations: 20.66 kB / 0.7921 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004018/0.3274, allocations: 307.6 kB / 0.7924 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.268e-05/0.3275, allocations: 8.375 kB / 0.7924 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.217e-05/0.3275, allocations: 7.938 kB / 0.7924 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001821/0.3277, allocations: 93.53 kB / 0.7925 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.3277, allocations: 0 / 0.7925 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/0.3277, allocations: 4 kB / 0.7925 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.3277, allocations: 0 / 0.7925 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001126/0.3278, allocations: 39.97 kB / 0.7925 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006887/0.3285, allocations: 428.5 kB / 0.7929 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002403/0.3288, allocations: 78.66 kB / 0.793 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.923e-05/0.3289, allocations: 32.84 kB / 0.7931 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.327e-05/0.3289, allocations: 4 kB / 0.7931 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000179/0.3291, allocations: 83.3 kB / 0.7931 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.332e-06/0.3291, allocations: 0 / 0.7931 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.000356/0.3295, allocations: 133.3 kB / 0.7933 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.403e-05/0.3295, allocations: 51.41 kB / 0.7933 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003854/0.3299, allocations: 359 kB / 0.7937 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.463e-05/0.33, allocations: 29.7 kB / 0.7937 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/0.3301, allocations: 144 kB / 0.7938 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.797e-05/0.3301, allocations: 19.8 kB / 0.7938 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.911e-05/0.3302, allocations: 25.7 kB / 0.7939 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.3303, allocations: 334.8 kB / 0.7942 GB, free: 4.867 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001152/0.3304, allocations: 51.98 kB / 0.7942 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001259/0.3306, allocations: 80.28 kB / 0.7943 GB, free: 4.734 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001606/0.3307, allocations: 100.6 kB / 0.7944 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.3307, allocations: 0 / 0.7944 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003391/0.3311, allocations: 193.2 kB / 0.7946 GB, free: 4.438 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.3311, allocations: 8 kB / 0.7946 GB, free: 4.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.3311, allocations: 0 / 0.7946 GB, free: 4.43 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.3311, allocations: 3.938 kB / 0.7946 GB, free: 4.426 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.3313, allocations: 23.98 kB / 0.7946 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.333e-06/0.3313, allocations: 320 / 0.7946 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001028/0.3314, allocations: 23.92 kB / 0.7946 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.553e-05/0.3314, allocations: 12 kB / 0.7947 GB, free: 4.367 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.0001542/0.3316, allocations: 154.4 kB / 0.7948 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.997e-05/0.3316, allocations: 27.66 kB / 0.7948 GB, free: 4.18 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.169e-05/0.3317, allocations: 21.73 kB / 0.7949 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.3317, allocations: 3.938 kB / 0.7949 GB, free: 4.156 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.3317, allocations: 0 / 0.7949 GB, free: 4.156 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.3317, allocations: 8 kB / 0.7949 GB, free: 4.148 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000221/0.3319, allocations: 241.6 kB / 0.7951 GB, free: 3.863 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.332, allocations: 0 / 0.7951 GB, free: 3.863 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.144e-05/0.332, allocations: 4 kB / 0.7951 GB, free: 3.859 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.332, allocations: 3.984 kB / 0.7951 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.332, allocations: 7.984 kB / 0.7951 GB, free: 3.848 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.332, allocations: 11.86 kB / 0.7951 GB, free: 3.836 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.332, allocations: 0 / 0.7951 GB, free: 3.836 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002181/0.3322, allocations: 136.8 kB / 0.7953 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.46e-05/0.3323, allocations: 104.8 kB / 0.7954 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.922e-05/0.3324, allocations: 4 kB / 0.7954 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.215e-05/0.3325, allocations: 15.92 kB / 0.7954 GB, free: 3.543 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.709e-05/0.3325, allocations: 7.984 kB / 0.7954 GB, free: 3.535 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.492e-05/0.3326, allocations: 8 kB / 0.7954 GB, free: 3.527 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002326/0.3328, allocations: 225.9 kB / 0.7956 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3328, allocations: 0 / 0.7956 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002455/0.3331, allocations: 40.11 kB / 0.7956 GB, free: 3.27 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.0011/0.3342, allocations: 425.4 kB / 0.796 GB, free: 3 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002624/0.3344, allocations: 103.9 kB / 0.7961 GB, free: 2.898 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3344, allocations: 0 / 0.7961 GB, free: 2.898 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.493e-05/0.3345, allocations: 35.92 kB / 0.7962 GB, free: 2.863 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003562/0.3349, allocations: 48.44 kB / 0.7962 GB, free: 2.812 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000693/0.3356, allocations: 414.6 kB / 0.7966 GB, free: 2.383 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003387/0.336, allocations: 0.7479 MB / 0.7973 GB, free: 1.609 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.416e-05/0.336, allocations: 29.69 kB / 0.7974 GB, free: 1.578 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.894e-05/0.3361, allocations: 15.44 kB / 0.7974 GB, free: 1.562 MB / 0.6075 GB Notification: Performance of SimCode: time 6.51e-07/0.3361, allocations: 0 / 0.7974 GB, free: 1.562 MB / 0.6075 GB Notification: Performance of Templates: time 0.006301/0.3424, allocations: 2.61 MB / 0.7999 GB, free: 14.97 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: