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.001116/0.001116, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001169/0.001169, allocations: 190.8 kB / 16.25 MB, free: 6.621 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.243/1.243, allocations: 205.1 MB / 222.1 MB, free: 4.707 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.548/1.548, allocations: 292.3 MB / 0.5486 GB, free: 13.64 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.001319/0.001319, allocations: 66.66 kB / 0.6711 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1994/0.2007, allocations: 114.5 MB / 0.783 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold): time 0.003123/0.2039, allocations: 1.991 MB / 0.7849 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001368/0.2053, allocations: 1.007 MB / 0.7859 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.976e-05/0.2054, allocations: 4 kB / 0.7859 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003613/0.2058, allocations: 95.69 kB / 0.786 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002274/0.206, allocations: 95.64 kB / 0.7861 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002854/0.2063, allocations: 111.1 kB / 0.7862 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002286/0.2066, allocations: 195.5 kB / 0.7864 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001634/0.2067, allocations: 49.64 kB / 0.7864 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001205/0.2069, allocations: 87.58 kB / 0.7865 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001146/0.207, allocations: 103.6 kB / 0.7866 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.857e-05/0.207, allocations: 15.98 kB / 0.7866 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001178/0.2071, allocations: 63.97 kB / 0.7867 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.685e-05/0.2072, allocations: 55.77 kB / 0.7868 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.456e-05/0.2073, allocations: 87.41 kB / 0.7868 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002774/0.2076, allocations: 271.3 kB / 0.7871 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.2076, allocations: 0 / 0.7871 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.353e-06/0.2076, allocations: 3.938 kB / 0.7871 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.2076, allocations: 0 / 0.7871 GB, free: 9.543 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.000726/0.2083, allocations: 0.5333 MB / 0.7876 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.2084, allocations: 8.031 kB / 0.7876 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.802e-05/0.2084, allocations: 38.69 kB / 0.7877 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.706e-05/0.2085, allocations: 20.66 kB / 0.7877 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003313/0.2088, allocations: 307.7 kB / 0.788 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.2088, allocations: 12.12 kB / 0.788 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.46e-05/0.2089, allocations: 4 kB / 0.788 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001652/0.209, allocations: 77.66 kB / 0.7881 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.2091, allocations: 4 kB / 0.7881 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.2091, allocations: 0 / 0.7881 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.451e-06/0.2091, allocations: 4 kB / 0.7881 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001111/0.2092, allocations: 47.91 kB / 0.7881 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005664/0.2098, allocations: 416.6 kB / 0.7885 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002216/0.21, allocations: 82.59 kB / 0.7886 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.212e-05/0.2101, allocations: 32.84 kB / 0.7886 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.103e-05/0.2101, allocations: 0 / 0.7886 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001487/0.2103, allocations: 79.38 kB / 0.7887 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.2103, allocations: 0 / 0.7887 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.000304/0.2106, allocations: 129.3 kB / 0.7888 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.046e-05/0.2106, allocations: 55.41 kB / 0.7889 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003353/0.211, allocations: 362.9 kB / 0.7892 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.211, allocations: 33.69 kB / 0.7893 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.507e-05/0.2111, allocations: 140 kB / 0.7894 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.129e-05/0.2111, allocations: 15.8 kB / 0.7894 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.277e-05/0.2112, allocations: 45.7 kB / 0.7894 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.2113, allocations: 338.8 kB / 0.7898 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001052/0.2114, allocations: 55.97 kB / 0.7898 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001082/0.2115, allocations: 73.69 kB / 0.7899 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001469/0.2117, allocations: 93.64 kB / 0.79 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.2117, allocations: 0 / 0.79 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002799/0.212, allocations: 193.3 kB / 0.7902 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.212, allocations: 6.344 kB / 0.7902 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.212, allocations: 0 / 0.7902 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.212, allocations: 7.938 kB / 0.7902 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.2121, allocations: 27.86 kB / 0.7902 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.2121, allocations: 4 kB / 0.7902 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001/0.2122, allocations: 19.83 kB / 0.7902 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.024e-05/0.2123, allocations: 8 kB / 0.7902 GB, free: 6.078 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.0001261/0.2124, allocations: 158.5 kB / 0.7904 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.626e-05/0.2124, allocations: 23.72 kB / 0.7904 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.817e-05/0.2125, allocations: 29.61 kB / 0.7904 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.2125, allocations: 0 / 0.7904 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.2125, allocations: 0 / 0.7904 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.2125, allocations: 7.922 kB / 0.7904 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001788/0.2127, allocations: 241.6 kB / 0.7907 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.2127, allocations: 3.984 kB / 0.7907 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.196e-05/0.2127, allocations: 4 kB / 0.7907 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.2128, allocations: 0 / 0.7907 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.2128, allocations: 7.938 kB / 0.7907 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.2128, allocations: 4 kB / 0.7907 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.2128, allocations: 0 / 0.7907 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002026/0.213, allocations: 133.1 kB / 0.7908 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.787e-05/0.2131, allocations: 96.91 kB / 0.7909 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.28e-05/0.2131, allocations: 11.94 kB / 0.7909 GB, free: 5.277 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.323e-05/0.2132, allocations: 7.984 kB / 0.7909 GB, free: 5.27 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.509e-05/0.2132, allocations: 15.98 kB / 0.791 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.2132, allocations: 4 kB / 0.791 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002001/0.2135, allocations: 229.9 kB / 0.7912 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2135, allocations: 0 / 0.7912 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002358/0.2137, allocations: 48.02 kB / 0.7912 GB, free: 4.98 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.001284/0.215, allocations: 0.9829 MB / 0.7922 GB, free: 4.125 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000236/0.2152, allocations: 111.8 kB / 0.7923 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.2152, allocations: 0 / 0.7923 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.537e-05/0.2153, allocations: 31.92 kB / 0.7923 GB, free: 3.984 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003094/0.2156, allocations: 58.81 kB / 0.7924 GB, free: 3.934 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002488/0.2181, allocations: 2.329 MB / 0.7946 GB, free: 1.516 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002864/0.2184, allocations: 0.7476 MB / 0.7954 GB, free: 0.7422 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.195e-05/0.2185, allocations: 29.69 kB / 0.7954 GB, free: 0.7148 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001208/0.2187, allocations: 71.34 kB / 0.7955 GB, free: 0.6445 MB / 0.6075 GB Notification: Performance of SimCode: time 2.71e-07/0.2187, allocations: 0 / 0.7955 GB, free: 0.6445 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3604/0.5791, allocations: 4.933 MB / 0.8003 GB, free: 11.87 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002796/0.5794, allocations: 261.2 kB / 0.8005 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.732/2.312, allocations: 0 / 0.8005 GB, free: 11.61 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)