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.001038/0.001038, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001213/0.001213, allocations: 189.6 kB / 16.25 MB, free: 6.633 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.312/1.312, allocations: 205.1 MB / 222.1 MB, free: 4.73 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.603/1.603, allocations: 292.3 MB / 0.5486 GB, free: 13.61 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.001565/0.001565, allocations: 76.34 kB / 0.6711 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2233/0.2249, allocations: 114.5 MB / 0.783 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.002364/0.2273, allocations: 0.7699 MB / 0.7837 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009999/0.2283, allocations: 0.8293 MB / 0.7846 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.147e-05/0.2283, allocations: 0 / 0.7846 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.543e-05/0.2284, allocations: 7.875 kB / 0.7846 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.31e-05/0.2285, allocations: 3.984 kB / 0.7846 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000137/0.2286, allocations: 15.98 kB / 0.7846 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.769e-05/0.2287, allocations: 51.91 kB / 0.7846 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.2289, allocations: 11.94 kB / 0.7846 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.232e-05/0.2289, allocations: 23.91 kB / 0.7847 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.339e-05/0.229, allocations: 31.84 kB / 0.7847 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.864e-05/0.229, allocations: 4 kB / 0.7847 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.198e-05/0.229, allocations: 4 kB / 0.7847 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.895e-05/0.2291, allocations: 7.938 kB / 0.7847 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.245e-05/0.2291, allocations: 19.92 kB / 0.7847 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.785e-05/0.2292, allocations: 51.84 kB / 0.7848 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.2292, allocations: 0 / 0.7848 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.192e-06/0.2292, allocations: 4 kB / 0.7848 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.05e-06/0.2292, allocations: 0 / 0.7848 GB, free: 11.94 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.0005519/0.2298, allocations: 359.6 kB / 0.7851 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.2298, allocations: 8.031 kB / 0.7851 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.832e-05/0.2299, allocations: 30.75 kB / 0.7852 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.346e-05/0.2299, allocations: 4.938 kB / 0.7852 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001647/0.2301, allocations: 180.2 kB / 0.7853 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.2301, allocations: 4.375 kB / 0.7853 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.519e-05/0.2301, allocations: 4.375 kB / 0.7853 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002054/0.2303, allocations: 70.14 kB / 0.7854 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.2304, allocations: 3.938 kB / 0.7854 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.2304, allocations: 0 / 0.7854 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.2304, allocations: 4 kB / 0.7854 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002003/0.2306, allocations: 47.95 kB / 0.7855 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004935/0.2311, allocations: 292.8 kB / 0.7857 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001925/0.2313, allocations: 62.48 kB / 0.7858 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001109/0.2314, allocations: 36.91 kB / 0.7858 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.801e-05/0.2314, allocations: 4 kB / 0.7858 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.205e-05/0.2315, allocations: 30.56 kB / 0.7859 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.2315, allocations: 0 / 0.7859 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0003851/0.2319, allocations: 113.5 kB / 0.786 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.8e-05/0.2319, allocations: 51.41 kB / 0.786 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.498e-05/0.232, allocations: 113.8 kB / 0.7861 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.417e-05/0.232, allocations: 29.7 kB / 0.7862 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.323e-05/0.2321, allocations: 84.14 kB / 0.7862 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.809e-05/0.2321, allocations: 15.8 kB / 0.7863 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.773e-05/0.2322, allocations: 17.72 kB / 0.7863 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.2323, allocations: 314.8 kB / 0.7866 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001038/0.2324, allocations: 27.97 kB / 0.7866 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.948e-05/0.2325, allocations: 27.97 kB / 0.7866 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001722/0.2327, allocations: 56.81 kB / 0.7867 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.2327, allocations: 0 / 0.7867 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002139/0.2329, allocations: 81.66 kB / 0.7868 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.2329, allocations: 7.938 kB / 0.7868 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.2329, allocations: 0 / 0.7868 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.2329, allocations: 3.938 kB / 0.7868 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001123/0.2331, allocations: 15.98 kB / 0.7868 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.2331, allocations: 0 / 0.7868 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.496e-05/0.2332, allocations: 11.92 kB / 0.7868 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.2332, allocations: 7.938 kB / 0.7868 GB, free: 9.621 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.371e-05/0.2333, allocations: 117.8 kB / 0.7869 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.618e-05/0.2333, allocations: 7.906 kB / 0.7869 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.211e-05/0.2333, allocations: 3.906 kB / 0.7869 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.2333, allocations: 0 / 0.7869 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.2333, allocations: 0 / 0.7869 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.2333, allocations: 8 kB / 0.7869 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001595/0.2335, allocations: 177.6 kB / 0.7871 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.2335, allocations: 0 / 0.7871 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.419e-05/0.2336, allocations: 11.98 kB / 0.7871 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.2336, allocations: 0 / 0.7871 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.2336, allocations: 0 / 0.7871 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.2336, allocations: 4 kB / 0.7871 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.2336, allocations: 0 / 0.7871 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002712/0.2339, allocations: 187.4 kB / 0.7873 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.605e-05/0.2339, allocations: 81.02 kB / 0.7874 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.375e-05/0.234, allocations: 0 / 0.7874 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.2341, allocations: 11.98 kB / 0.7874 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.218e-05/0.2341, allocations: 7.984 kB / 0.7874 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-06/0.2341, allocations: 4 kB / 0.7874 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.359e-05/0.2342, allocations: 91.56 kB / 0.7875 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2342, allocations: 0 / 0.7875 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002146/0.2344, allocations: 12 kB / 0.7875 GB, free: 8.809 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.0005827/0.235, allocations: 0.7205 MB / 0.7882 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002322/0.2352, allocations: 59.94 kB / 0.7883 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.2353, allocations: 0 / 0.7883 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000103/0.2354, allocations: 27.98 kB / 0.7883 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000278/0.2357, allocations: 8.062 kB / 0.7883 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001521/0.2372, allocations: 1.342 MB / 0.7896 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002764/0.2375, allocations: 0.6807 MB / 0.7903 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.711e-05/0.2375, allocations: 11.92 kB / 0.7903 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.749e-05/0.2376, allocations: 15.44 kB / 0.7903 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of SimCode: time 2.51e-07/0.2376, allocations: 4 kB / 0.7903 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01081/0.2484, allocations: 1.649 MB / 0.7919 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002113/0.2487, allocations: 207.6 kB / 0.7921 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.73/1.978, allocations: 3.375 kB / 0.7921 GB, free: 4.035 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)