Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.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.LessEqualThreshold,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",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.001214/0.001214, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001393/0.001393, allocations: 199.2 kB / 16.14 MB, free: 6.707 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 MB, free: 5 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.5484 GB, free: 13.66 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.001375/0.001375, allocations: 67.25 kB / 0.6709 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2158/0.2172, allocations: 114.5 MB / 0.7828 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.002072/0.2193, allocations: 0.7738 MB / 0.7836 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001251/0.2206, allocations: 0.837 MB / 0.7844 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.004e-05/0.2207, allocations: 0 / 0.7844 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.944e-05/0.2207, allocations: 3.938 kB / 0.7844 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.111e-05/0.2208, allocations: 0 / 0.7844 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001361/0.221, allocations: 23.92 kB / 0.7844 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.509e-05/0.221, allocations: 39.97 kB / 0.7844 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.2212, allocations: 11.98 kB / 0.7845 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.474e-05/0.2212, allocations: 23.86 kB / 0.7845 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.349e-05/0.2213, allocations: 27.91 kB / 0.7845 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.687e-05/0.2213, allocations: 0 / 0.7845 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.276e-05/0.2213, allocations: 4 kB / 0.7845 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.923e-05/0.2214, allocations: 7.922 kB / 0.7845 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.605e-05/0.2214, allocations: 23.92 kB / 0.7845 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.34e-05/0.2215, allocations: 43.81 kB / 0.7846 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.2215, allocations: 0 / 0.7846 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.605e-06/0.2215, allocations: 3.984 kB / 0.7846 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.2215, allocations: 0 / 0.7846 GB, free: 12.05 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.0005123/0.2221, allocations: 351.6 kB / 0.7849 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.2221, allocations: 12.03 kB / 0.7849 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.92e-05/0.2221, allocations: 38.73 kB / 0.785 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.432e-05/0.2222, allocations: 0.9375 kB / 0.785 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/0.2223, allocations: 180.2 kB / 0.7851 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.2223, allocations: 4.375 kB / 0.7851 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.278e-05/0.2224, allocations: 8.312 kB / 0.7852 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002001/0.2226, allocations: 66.22 kB / 0.7852 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.2226, allocations: 3.938 kB / 0.7852 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.2226, allocations: 0 / 0.7852 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.2226, allocations: 0 / 0.7852 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002047/0.2228, allocations: 55.94 kB / 0.7853 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004325/0.2233, allocations: 280.8 kB / 0.7855 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002086/0.2235, allocations: 70.47 kB / 0.7856 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001009/0.2236, allocations: 28.92 kB / 0.7856 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.693e-05/0.2236, allocations: 0 / 0.7856 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.635e-05/0.2236, allocations: 38.56 kB / 0.7857 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.2236, allocations: 3.938 kB / 0.7857 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.000436/0.2241, allocations: 113.4 kB / 0.7858 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.723e-05/0.2241, allocations: 55.41 kB / 0.7858 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.062e-05/0.2242, allocations: 113.8 kB / 0.7859 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.2243, allocations: 25.7 kB / 0.786 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.81e-05/0.2243, allocations: 80.14 kB / 0.786 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.022e-05/0.2243, allocations: 15.89 kB / 0.7861 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.099e-05/0.2244, allocations: 21.7 kB / 0.7861 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.2245, allocations: 314.8 kB / 0.7864 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000102/0.2246, allocations: 23.97 kB / 0.7864 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.879e-05/0.2247, allocations: 27.98 kB / 0.7864 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000181/0.2249, allocations: 52.81 kB / 0.7865 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2249, allocations: 3.938 kB / 0.7865 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002257/0.2252, allocations: 85.58 kB / 0.7866 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.2252, allocations: 4 kB / 0.7866 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.2252, allocations: 4 kB / 0.7866 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.2252, allocations: 0 / 0.7866 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.2253, allocations: 15.98 kB / 0.7866 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.2254, allocations: 0 / 0.7866 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.689e-05/0.2254, allocations: 15.92 kB / 0.7866 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.2255, allocations: 0 / 0.7866 GB, free: 9.746 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,intLesEquThr.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 8.904e-05/0.2255, allocations: 113.8 kB / 0.7867 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.663e-05/0.2256, allocations: 7.906 kB / 0.7867 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.481e-05/0.2256, allocations: 7.906 kB / 0.7867 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.2256, allocations: 0 / 0.7867 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.361e-06/0.2256, allocations: 8 kB / 0.7867 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.2256, allocations: 3.984 kB / 0.7867 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001816/0.2258, allocations: 173.6 kB / 0.7869 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.2258, allocations: 0 / 0.7869 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.852e-05/0.2259, allocations: 11.98 kB / 0.7869 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.2259, allocations: 0 / 0.7869 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.2259, allocations: 4 kB / 0.7869 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.226, allocations: 3.984 kB / 0.7869 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.226, allocations: 3.938 kB / 0.7869 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002905/0.2263, allocations: 183.4 kB / 0.7871 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.832e-05/0.2263, allocations: 81.02 kB / 0.7872 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.811e-05/0.2263, allocations: 4 kB / 0.7872 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.2264, allocations: 7.984 kB / 0.7872 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.457e-05/0.2265, allocations: 7.984 kB / 0.7872 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.2265, allocations: 4 kB / 0.7872 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.082e-05/0.2266, allocations: 87.28 kB / 0.7873 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2266, allocations: 0 / 0.7873 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002173/0.2268, allocations: 11.94 kB / 0.7873 GB, free: 8.934 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 (intLesEquThr.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.0005932/0.2274, allocations: 0.7206 MB / 0.788 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002393/0.2276, allocations: 59.94 kB / 0.7881 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.2276, allocations: 0 / 0.7881 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.00011/0.2278, allocations: 35.91 kB / 0.7881 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003207/0.2281, allocations: 8.75 kB / 0.7881 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001614/0.2297, allocations: 1.329 MB / 0.7894 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003054/0.23, allocations: 0.6809 MB / 0.7901 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.861e-05/0.2301, allocations: 4 kB / 0.7901 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.713e-05/0.2302, allocations: 23.42 kB / 0.7901 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.2302, allocations: 0 / 0.7901 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01133/0.2415, allocations: 1.597 MB / 0.7916 GB, free: 4.469 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001938/0.2417, allocations: 221.3 kB / 0.7919 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.78/2.022, allocations: 0 / 0.7919 GB, free: 4.215 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1)