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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000712/0.000712, allocations: 89.89 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.003923/0.003923, allocations: 171.4 kB / 16.26 MB, free: 6.613 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.218/1.218, 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.584/1.584, allocations: 292.7 MB / 0.5502 GB, free: 14.44 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.0004724/0.0004724, allocations: 13.59 kB / 0.6744 GB, free: 25.82 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1687/0.1692, allocations: 116.3 MB / 0.788 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold): time 0.00184/0.171, allocations: 1.633 MB / 0.7896 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001323/0.1724, allocations: 0.9881 MB / 0.7906 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.878e-05/0.1725, allocations: 7.938 kB / 0.7906 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002959/0.1728, allocations: 103.7 kB / 0.7907 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001738/0.173, allocations: 79.72 kB / 0.7908 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000261/0.1732, allocations: 106.7 kB / 0.7909 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002078/0.1734, allocations: 199.4 kB / 0.7911 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000123/0.1736, allocations: 41.67 kB / 0.7911 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001042/0.1737, allocations: 79.56 kB / 0.7912 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001025/0.1738, allocations: 83.67 kB / 0.7912 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.892e-05/0.1738, allocations: 4 kB / 0.7913 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001071/0.1739, allocations: 51.91 kB / 0.7913 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.438e-05/0.174, allocations: 51.81 kB / 0.7913 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.967e-05/0.1741, allocations: 97.12 kB / 0.7914 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002531/0.1744, allocations: 263.3 kB / 0.7917 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.1744, allocations: 0 / 0.7917 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.342e-06/0.1744, allocations: 0 / 0.7917 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.397e-06/0.1744, allocations: 0 / 0.7917 GB, free: 7.617 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.0006287/0.175, allocations: 0.5023 MB / 0.7922 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.175, allocations: 8.031 kB / 0.7922 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.604e-05/0.1751, allocations: 38.73 kB / 0.7922 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.142e-05/0.1751, allocations: 24.66 kB / 0.7923 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003255/0.1755, allocations: 311.6 kB / 0.7925 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.1755, allocations: 8.125 kB / 0.7926 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.58e-05/0.1755, allocations: 8 kB / 0.7926 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001571/0.1757, allocations: 85.59 kB / 0.7926 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.33e-06/0.1757, allocations: 0 / 0.7926 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.1757, allocations: 7.984 kB / 0.7927 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.1757, allocations: 0 / 0.7927 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.731e-05/0.1758, allocations: 39.97 kB / 0.7927 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005585/0.1764, allocations: 428.5 kB / 0.7931 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000212/0.1766, allocations: 82.66 kB / 0.7932 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.427e-05/0.1767, allocations: 28.86 kB / 0.7932 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.834e-05/0.1767, allocations: 7.922 kB / 0.7932 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001352/0.1768, allocations: 79.33 kB / 0.7933 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.303e-06/0.1769, allocations: 0 / 0.7933 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0002987/0.1772, allocations: 141.3 kB / 0.7934 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.279e-05/0.1772, allocations: 51.41 kB / 0.7935 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003281/0.1775, allocations: 359 kB / 0.7938 GB, free: 5.238 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.1776, allocations: 29.7 kB / 0.7938 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.008e-05/0.1777, allocations: 144 kB / 0.794 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.243e-05/0.1777, allocations: 19.8 kB / 0.794 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.293e-05/0.1777, allocations: 21.72 kB / 0.794 GB, free: 5.012 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.1778, allocations: 334.8 kB / 0.7943 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.919e-05/0.1779, allocations: 55.97 kB / 0.7944 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001076/0.178, allocations: 77.59 kB / 0.7945 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001458/0.1782, allocations: 97.64 kB / 0.7946 GB, free: 4.438 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1782, allocations: 0 / 0.7946 GB, free: 4.438 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002859/0.1785, allocations: 200.3 kB / 0.7948 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.1785, allocations: 10.97 kB / 0.7948 GB, free: 4.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.1785, allocations: 0 / 0.7948 GB, free: 4.23 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.038e-05/0.1786, allocations: 3.938 kB / 0.7948 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.1787, allocations: 23.98 kB / 0.7948 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.1787, allocations: 0 / 0.7948 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001007/0.1788, allocations: 19.97 kB / 0.7948 GB, free: 4.184 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.827e-05/0.1788, allocations: 11.92 kB / 0.7948 GB, free: 4.172 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.0001179/0.1789, allocations: 156.9 kB / 0.795 GB, free: 4.012 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.763e-05/0.179, allocations: 23.72 kB / 0.795 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.454e-05/0.179, allocations: 25.67 kB / 0.795 GB, free: 3.965 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.179, allocations: 0 / 0.795 GB, free: 3.965 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.179, allocations: 0 / 0.795 GB, free: 3.965 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.179, allocations: 4 kB / 0.795 GB, free: 3.961 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001683/0.1792, allocations: 249.5 kB / 0.7953 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1792, allocations: 0 / 0.7953 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.169e-05/0.1792, allocations: 4 kB / 0.7953 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.1792, allocations: 0 / 0.7953 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.1793, allocations: 3.938 kB / 0.7953 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.1793, allocations: 4 kB / 0.7953 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.1793, allocations: 0 / 0.7953 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002057/0.1795, allocations: 140.8 kB / 0.7954 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.623e-05/0.1795, allocations: 96.83 kB / 0.7955 GB, free: 3.387 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.073e-05/0.1796, allocations: 11.94 kB / 0.7955 GB, free: 3.375 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.088e-05/0.1797, allocations: 11.98 kB / 0.7955 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.034e-05/0.1797, allocations: 7.984 kB / 0.7955 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/0.1797, allocations: 11.98 kB / 0.7955 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001951/0.1799, allocations: 225.9 kB / 0.7958 GB, free: 3.125 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1799, allocations: 0 / 0.7958 GB, free: 3.125 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002293/0.1802, allocations: 44.12 kB / 0.7958 GB, free: 3.082 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.001195/0.1814, allocations: 0.9856 MB / 0.7968 GB, free: 2.223 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000213/0.1816, allocations: 103.9 kB / 0.7969 GB, free: 2.121 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1816, allocations: 4.062 kB / 0.7969 GB, free: 2.117 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.546e-05/0.1817, allocations: 43.84 kB / 0.7969 GB, free: 2.074 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003106/0.182, allocations: 44.86 kB / 0.7969 GB, free: 2.023 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002353/0.1844, allocations: 2.331 MB / 0.7992 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002475/0.1846, allocations: 0.7513 MB / 0.8 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 7.641e-05/0.1847, allocations: 29.69 kB / 0.8 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.91e-05/0.1848, allocations: 71.41 kB / 0.8001 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of SimCode: time 3.21e-07/0.1848, allocations: 7.938 kB / 0.8001 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4723/0.6571, allocations: 4.59 MB / 0.8045 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002895/0.6575, allocations: 260.3 kB / 0.8048 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.812/2.469, allocations: 4 kB / 0.8048 GB, free: 10.04 MB / 0.6231 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_LessThreshold_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_LessThreshold.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe 2>&1)