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.001865/0.001864, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002944/0.002944, allocations: 187.3 kB / 16.62 MB, free: 6.582 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.573/1.573, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.741/1.741, allocations: 292.3 MB / 0.549 GB, free: 12.72 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.001488/0.001488, allocations: 72.97 kB / 0.6718 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2099/0.2114, allocations: 114.5 MB / 0.7836 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold): time 0.003282/0.2147, allocations: 1.92 MB / 0.7855 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001614/0.2164, allocations: 1.028 MB / 0.7865 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001169/0.2165, allocations: 4 kB / 0.7865 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003764/0.2169, allocations: 107.5 kB / 0.7866 GB, free: 10.13 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0002602/0.2172, allocations: 91.59 kB / 0.7867 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003054/0.2175, allocations: 126.8 kB / 0.7868 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000242/0.2178, allocations: 207.4 kB / 0.787 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001402/0.2179, allocations: 45.67 kB / 0.7871 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001289/0.218, allocations: 87.61 kB / 0.7872 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001271/0.2182, allocations: 95.55 kB / 0.7873 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.338e-05/0.2182, allocations: 8 kB / 0.7873 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001426/0.2184, allocations: 67.95 kB / 0.7873 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.499e-05/0.2185, allocations: 55.83 kB / 0.7874 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000101/0.2186, allocations: 83.36 kB / 0.7875 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003138/0.2189, allocations: 283.3 kB / 0.7877 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.2189, allocations: 0 / 0.7877 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.674e-06/0.2189, allocations: 0 / 0.7877 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.2189, allocations: 4 kB / 0.7877 GB, free: 9.004 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.0007667/0.2197, allocations: 0.5294 MB / 0.7883 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.2198, allocations: 8.031 kB / 0.7883 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.845e-05/0.2198, allocations: 38.69 kB / 0.7883 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.461e-05/0.2199, allocations: 24.66 kB / 0.7883 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003985/0.2203, allocations: 307.7 kB / 0.7886 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.2203, allocations: 16.11 kB / 0.7886 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.67e-05/0.2203, allocations: 8 kB / 0.7886 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001752/0.2205, allocations: 81.64 kB / 0.7887 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.2205, allocations: 0 / 0.7887 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.2205, allocations: 0 / 0.7887 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.2205, allocations: 4 kB / 0.7887 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001133/0.2207, allocations: 39.92 kB / 0.7888 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006543/0.2213, allocations: 424.6 kB / 0.7892 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002341/0.2216, allocations: 78.61 kB / 0.7892 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.655e-05/0.2216, allocations: 28.84 kB / 0.7893 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.465e-05/0.2217, allocations: 0 / 0.7893 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000162/0.2218, allocations: 79.38 kB / 0.7893 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.432e-06/0.2219, allocations: 4 kB / 0.7893 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003405/0.2222, allocations: 133.2 kB / 0.7895 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.569e-05/0.2223, allocations: 55.41 kB / 0.7895 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003825/0.2226, allocations: 358.9 kB / 0.7899 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.119e-05/0.2227, allocations: 33.7 kB / 0.7899 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.2228, allocations: 143.9 kB / 0.79 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.283e-05/0.2228, allocations: 19.8 kB / 0.7901 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.898e-05/0.2229, allocations: 41.7 kB / 0.7901 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.223, allocations: 334.8 kB / 0.7904 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000107/0.2232, allocations: 59.92 kB / 0.7905 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001246/0.2233, allocations: 73.69 kB / 0.7905 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001703/0.2235, allocations: 97.62 kB / 0.7906 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2235, allocations: 0 / 0.7906 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003449/0.2238, allocations: 189.3 kB / 0.7908 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.2239, allocations: 6.656 kB / 0.7908 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.2239, allocations: 0 / 0.7908 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/0.2239, allocations: 11.88 kB / 0.7908 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001543/0.2241, allocations: 27.92 kB / 0.7909 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.2241, allocations: 4 kB / 0.7909 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001122/0.2242, allocations: 15.83 kB / 0.7909 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.507e-05/0.2242, allocations: 12.03 kB / 0.7909 GB, free: 5.523 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.000146/0.2244, allocations: 152.9 kB / 0.791 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.593e-05/0.2244, allocations: 23.72 kB / 0.7911 GB, free: 5.344 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.454e-05/0.2245, allocations: 29.67 kB / 0.7911 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.2245, allocations: 0 / 0.7911 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.2245, allocations: 0 / 0.7911 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.2245, allocations: 0 / 0.7911 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002029/0.2247, allocations: 245.6 kB / 0.7913 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.2247, allocations: 0 / 0.7913 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.38e-05/0.2248, allocations: 8 kB / 0.7913 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.2248, allocations: 0 / 0.7913 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.2248, allocations: 7.922 kB / 0.7913 GB, free: 5.012 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.2248, allocations: 4 kB / 0.7913 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.2248, allocations: 4 kB / 0.7913 GB, free: 5.004 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002221/0.225, allocations: 132.8 kB / 0.7915 GB, free: 4.855 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.812e-05/0.2251, allocations: 92.92 kB / 0.7916 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.674e-05/0.2252, allocations: 11.92 kB / 0.7916 GB, free: 4.734 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.676e-05/0.2252, allocations: 12 kB / 0.7916 GB, free: 4.723 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.105e-05/0.2253, allocations: 11.92 kB / 0.7916 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.151e-05/0.2253, allocations: 7.984 kB / 0.7916 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002258/0.2255, allocations: 229.9 kB / 0.7918 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2256, allocations: 0 / 0.7918 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002621/0.2258, allocations: 40.03 kB / 0.7919 GB, free: 4.441 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.001438/0.2273, allocations: 0.9985 MB / 0.7928 GB, free: 3.57 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002554/0.2275, allocations: 111.8 kB / 0.7929 GB, free: 3.461 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.2275, allocations: 0 / 0.7929 GB, free: 3.461 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.084e-05/0.2276, allocations: 31.92 kB / 0.793 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003376/0.228, allocations: 56.77 kB / 0.793 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002518/0.2305, allocations: 2.296 MB / 0.7953 GB, free: 0.9883 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002805/0.2308, allocations: 0.7476 MB / 0.796 GB, free: 220 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.945e-05/0.2309, allocations: 33.53 kB / 0.796 GB, free: 188 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001001/0.231, allocations: 63.42 kB / 0.7961 GB, free: 124 kB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.231, allocations: 0 / 0.7961 GB, free: 124 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02216/0.2532, allocations: 5.104 MB / 0.8011 GB, free: 11.15 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.757/8.01, allocations: 20.58 kB / 0.8011 GB, free: 11.14 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)