Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.807/1.807, allocations: 288.2 MB / 303.2 MB, free: 8.152 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001173/0.001173, allocations: 178 kB / 371.8 MB, free: 10.25 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.835/1.835, allocations: 205.4 MB / 0.6305 GB, free: 9.969 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001012/0.001012, allocations: 101.6 kB / 0.7439 GB, free: 5.895 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005149/0.0005151, allocations: 12.75 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2289/0.2294, allocations: 115.3 MB / 0.9795 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.0007688/0.2303, allocations: 418 kB / 0.9799 GB, free: 27.16 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007494/0.231, allocations: 0.8243 MB / 0.9807 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.104e-05/0.2311, allocations: 0 / 0.9807 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.577e-05/0.2311, allocations: 0 / 0.9807 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.083e-05/0.2312, allocations: 4 kB / 0.9807 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001396/0.2313, allocations: 23.91 kB / 0.9807 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.943e-05/0.2314, allocations: 23.97 kB / 0.9807 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.075e-05/0.2315, allocations: 15.98 kB / 0.9808 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.587e-05/0.2316, allocations: 11.92 kB / 0.9808 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.181e-05/0.2316, allocations: 19.92 kB / 0.9808 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.669e-05/0.2317, allocations: 0 / 0.9808 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.198e-05/0.2317, allocations: 4 kB / 0.9808 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.264e-05/0.2317, allocations: 11.97 kB / 0.9808 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.13e-05/0.2317, allocations: 37.64 kB / 0.9808 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 5.646e-05/0.2318, allocations: 31.88 kB / 0.9809 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.2318, allocations: 3.938 kB / 0.9809 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2318, allocations: 0 / 0.9809 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.2318, allocations: 0 / 0.9809 GB, free: 26.13 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004021/0.2322, allocations: 355.5 kB / 0.9812 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.2323, allocations: 12.02 kB / 0.9812 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.021e-05/0.2323, allocations: 38.56 kB / 0.9813 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.237e-05/0.2323, allocations: 7.906 kB / 0.9813 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001002/0.2324, allocations: 178.9 kB / 0.9814 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.2324, allocations: 0 / 0.9814 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.244e-05/0.2325, allocations: 4 kB / 0.9814 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001713/0.2326, allocations: 73.64 kB / 0.9815 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.2327, allocations: 3.938 kB / 0.9815 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.2327, allocations: 8 kB / 0.9815 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.2327, allocations: 0 / 0.9815 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001844/0.2329, allocations: 55.95 kB / 0.9816 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003329/0.2332, allocations: 296.7 kB / 0.9819 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001677/0.2334, allocations: 71.48 kB / 0.9819 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.522e-05/0.2334, allocations: 4.031 kB / 0.9819 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.409e-05/0.2334, allocations: 34.69 kB / 0.982 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 9.51e-07/0.2334, allocations: 4 kB / 0.982 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0003666/0.2338, allocations: 113.6 kB / 0.9821 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.033e-05/0.2338, allocations: 63.36 kB / 0.9821 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.524e-05/0.2339, allocations: 113.8 kB / 0.9822 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.598e-06/0.2339, allocations: 25.7 kB / 0.9823 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.672e-05/0.234, allocations: 88.05 kB / 0.9823 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.6e-05/0.234, allocations: 7.906 kB / 0.9824 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.91e-06/0.234, allocations: 3.938 kB / 0.9824 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.175e-05/0.234, allocations: 318.8 kB / 0.9827 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.491e-05/0.2341, allocations: 27.98 kB / 0.9827 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.373e-05/0.2342, allocations: 31.97 kB / 0.9827 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.876e-05/0.2343, allocations: 23.98 kB / 0.9827 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2343, allocations: 0 / 0.9827 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002093/0.2345, allocations: 101.6 kB / 0.9828 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.2346, allocations: 9.406 kB / 0.9828 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.2346, allocations: 0 / 0.9828 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.2346, allocations: 0 / 0.9828 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.2347, allocations: 11.98 kB / 0.9829 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.2347, allocations: 4 kB / 0.9829 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.641e-05/0.2348, allocations: 31.78 kB / 0.9829 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.162e-06/0.2348, allocations: 0 / 0.9829 GB, free: 23.83 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (intLesThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.588e-05/0.2349, allocations: 117.8 kB / 0.983 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.228e-05/0.2349, allocations: 0 / 0.983 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.882e-05/0.2349, allocations: 11.83 kB / 0.983 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.2349, allocations: 336 / 0.983 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.2349, allocations: 4 kB / 0.983 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.923e-06/0.2349, allocations: 4 kB / 0.983 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001194/0.2351, allocations: 181.7 kB / 0.9832 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.2351, allocations: 3.984 kB / 0.9832 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.235e-05/0.2352, allocations: 15.98 kB / 0.9832 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.2352, allocations: 0 / 0.9832 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/0.2352, allocations: 0 / 0.9832 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.2352, allocations: 0 / 0.9832 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.2352, allocations: 0 / 0.9832 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002485/0.2354, allocations: 199.4 kB / 0.9834 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.831e-05/0.2355, allocations: 81.05 kB / 0.9835 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.335e-05/0.2355, allocations: 0 / 0.9835 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.939e-05/0.2356, allocations: 11.98 kB / 0.9835 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.796e-05/0.2357, allocations: 15.98 kB / 0.9835 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.2357, allocations: 4 kB / 0.9835 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.403e-05/0.2357, allocations: 87.27 kB / 0.9836 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2357, allocations: 0 / 0.9836 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002076/0.2359, allocations: 8 kB / 0.9836 GB, free: 23 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (intLesThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003772/0.2363, allocations: 0.7241 MB / 0.9843 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002206/0.2365, allocations: 71.89 kB / 0.9844 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.2365, allocations: 0 / 0.9844 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001019/0.2366, allocations: 35.97 kB / 0.9844 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000191/0.2368, allocations: 7.984 kB / 0.9844 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007674/0.2376, allocations: 478.4 kB / 0.9849 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.153e-05/0.2377, allocations: 0.6848 MB / 0.9855 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.377e-05/0.2378, allocations: 4 kB / 0.9856 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.582e-05/0.2378, allocations: 23.42 kB / 0.9856 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of SimCode: time 2.21e-07/0.2378, allocations: 0 / 0.9856 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009848/0.2477, allocations: 1.53 MB / 0.9871 GB, free: 19.53 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001422/0.2479, allocations: 196.9 kB / 0.9873 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.564/1.812, allocations: 4 kB / 0.9873 GB, free: 19.29 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1)