Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.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.Integers.Validation.LessThreshold,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,fileNamePrefix="Buildings_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007357/0.0007357, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.004204/0.004204, allocations: 170.9 kB / 16.27 MB, free: 6.648 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.276/1.276, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.647/1.647, 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.0005115/0.0005118, allocations: 22.58 kB / 0.6744 GB, free: 25.76 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2125/0.213, allocations: 116.3 MB / 0.788 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.0008272/0.2139, allocations: 441.4 kB / 0.7884 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008864/0.2148, allocations: 0.8293 MB / 0.7892 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.318e-05/0.2148, allocations: 0 / 0.7892 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.438e-05/0.2149, allocations: 0 / 0.7892 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.256e-05/0.215, allocations: 11.94 kB / 0.7893 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001445/0.2151, allocations: 27.91 kB / 0.7893 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.84e-05/0.2152, allocations: 39.91 kB / 0.7893 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.2153, allocations: 12 kB / 0.7893 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.792e-05/0.2154, allocations: 15.86 kB / 0.7893 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.648e-05/0.2155, allocations: 23.91 kB / 0.7894 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.041e-05/0.2155, allocations: 0 / 0.7894 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.257e-05/0.2155, allocations: 4 kB / 0.7894 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.989e-05/0.2156, allocations: 7.984 kB / 0.7894 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.345e-05/0.2156, allocations: 49.56 kB / 0.7894 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.558e-05/0.2157, allocations: 43.84 kB / 0.7895 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.2157, allocations: 0 / 0.7895 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.823e-06/0.2157, allocations: 0 / 0.7895 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.927e-06/0.2157, allocations: 0 / 0.7895 GB, free: 9.965 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005388/0.2163, allocations: 351.7 kB / 0.7898 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.2163, allocations: 12.02 kB / 0.7898 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.658e-05/0.2164, allocations: 38.75 kB / 0.7898 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.964e-05/0.2164, allocations: 12.78 kB / 0.7899 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001573/0.2166, allocations: 168.3 kB / 0.79 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.969e-05/0.2166, allocations: 4.359 kB / 0.79 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.515e-05/0.2166, allocations: 8.312 kB / 0.79 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002224/0.2169, allocations: 66.22 kB / 0.7901 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.2169, allocations: 7.938 kB / 0.7901 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.2169, allocations: 8 kB / 0.7901 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.2169, allocations: 0 / 0.7901 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002203/0.2171, allocations: 59.94 kB / 0.7902 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004562/0.2176, allocations: 300.7 kB / 0.7905 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002025/0.2178, allocations: 70.56 kB / 0.7905 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001083/0.2179, allocations: 28.89 kB / 0.7906 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.506e-05/0.218, allocations: 4 kB / 0.7906 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.479e-05/0.218, allocations: 38.55 kB / 0.7906 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.218, allocations: 0 / 0.7906 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0004329/0.2184, allocations: 125.6 kB / 0.7907 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.292e-05/0.2185, allocations: 51.41 kB / 0.7908 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.294e-05/0.2186, allocations: 113.8 kB / 0.7909 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.2186, allocations: 25.7 kB / 0.7909 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.53e-05/0.2187, allocations: 84.14 kB / 0.791 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.063e-05/0.2187, allocations: 11.91 kB / 0.791 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.106e-05/0.2187, allocations: 13.7 kB / 0.791 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.2188, allocations: 318.8 kB / 0.7913 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000117/0.219, allocations: 35.97 kB / 0.7913 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001026/0.2191, allocations: 23.98 kB / 0.7914 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002039/0.2193, allocations: 68.75 kB / 0.7914 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.2193, allocations: 0 / 0.7914 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002495/0.2195, allocations: 97.55 kB / 0.7915 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.2196, allocations: 4 kB / 0.7915 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.2196, allocations: 7.938 kB / 0.7915 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.989e-06/0.2196, allocations: 0 / 0.7915 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.2197, allocations: 15.98 kB / 0.7915 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.2197, allocations: 0 / 0.7915 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.011e-05/0.2198, allocations: 15.92 kB / 0.7916 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.606e-05/0.2198, allocations: 4 kB / 0.7916 GB, free: 7.578 MB / 0.6075 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 (reaToInt.y,intLesThr.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.765e-05/0.2199, allocations: 113.8 kB / 0.7917 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.844e-05/0.22, allocations: 11.94 kB / 0.7917 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.451e-05/0.22, allocations: 4.234 kB / 0.7917 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.22, allocations: 3.938 kB / 0.7917 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.22, allocations: 0 / 0.7917 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.22, allocations: 7.969 kB / 0.7917 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001713/0.2202, allocations: 177.6 kB / 0.7919 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2202, allocations: 0 / 0.7919 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.471e-05/0.2203, allocations: 23.98 kB / 0.7919 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.2203, allocations: 0 / 0.7919 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.896e-06/0.2203, allocations: 3.984 kB / 0.7919 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.2203, allocations: 0 / 0.7919 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2203, allocations: 0 / 0.7919 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000302/0.2206, allocations: 199.3 kB / 0.7921 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.561e-05/0.2207, allocations: 77.11 kB / 0.7922 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.499e-05/0.2207, allocations: 0 / 0.7922 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.2208, allocations: 11.98 kB / 0.7922 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.016e-05/0.2209, allocations: 11.98 kB / 0.7922 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.134e-06/0.2209, allocations: 0 / 0.7922 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.219e-05/0.2209, allocations: 91.22 kB / 0.7923 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.51e-07/0.221, allocations: 4 kB / 0.7923 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002206/0.2212, allocations: 8 kB / 0.7923 GB, free: 6.742 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: 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 (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.0006114/0.2218, allocations: 0.7279 MB / 0.793 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002536/0.2221, allocations: 67.89 kB / 0.7931 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.2221, allocations: 0 / 0.7931 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001258/0.2222, allocations: 39.97 kB / 0.7931 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002686/0.2225, allocations: 10.67 kB / 0.7931 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001581/0.2241, allocations: 1.353 MB / 0.7944 GB, free: 4.445 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002506/0.2243, allocations: 0.6848 MB / 0.7951 GB, free: 3.734 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.353e-05/0.2244, allocations: 4 kB / 0.7951 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.253e-05/0.2244, allocations: 19.36 kB / 0.7951 GB, free: 3.711 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.2244, allocations: 0 / 0.7951 GB, free: 3.711 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01052/0.235, allocations: 1.526 MB / 0.7966 GB, free: 2.316 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000208/0.2352, allocations: 210.4 kB / 0.7968 GB, free: 2.062 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.73/1.965, allocations: 0 / 0.7968 GB, free: 2.062 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1)