Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.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.GreaterEqualThreshold,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold",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.001254/0.001254, allocations: 107.4 kB / 15.22 MB, free: 0.6562 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.00135/0.00135, allocations: 192 kB / 16.14 MB, free: 6.664 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.339/1.339, allocations: 205.1 MB / 222 MB, free: 4.746 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.68/1.68, 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.001337/0.001337, allocations: 63.5 kB / 0.6709 GB, free: 26.35 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2194/0.2207, allocations: 114.5 MB / 0.7828 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.001768/0.2226, allocations: 0.7661 MB / 0.7836 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007439/0.2233, allocations: 0.8408 MB / 0.7844 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.173e-05/0.2233, allocations: 0 / 0.7844 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.074e-05/0.2234, allocations: 0 / 0.7844 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.745e-05/0.2235, allocations: 3.938 kB / 0.7844 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000114/0.2236, allocations: 27.98 kB / 0.7844 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.356e-05/0.2237, allocations: 43.89 kB / 0.7844 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.93e-05/0.2237, allocations: 12 kB / 0.7845 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.747e-05/0.2238, allocations: 15.92 kB / 0.7845 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.878e-05/0.2239, allocations: 23.91 kB / 0.7845 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.771e-05/0.2239, allocations: 4 kB / 0.7845 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.089e-05/0.2239, allocations: 0 / 0.7845 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.159e-05/0.2239, allocations: 19.91 kB / 0.7845 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.699e-05/0.224, allocations: 15.94 kB / 0.7845 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.561e-05/0.2241, allocations: 51.78 kB / 0.7846 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.2241, allocations: 0 / 0.7846 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of FrontEnd: time 5.71e-07/0.2241, allocations: 0 / 0.7846 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.236e-06/0.2241, allocations: 0 / 0.7846 GB, free: 12.06 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.0004637/0.2245, allocations: 359.6 kB / 0.7849 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.2246, allocations: 8.031 kB / 0.7849 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.824e-05/0.2246, allocations: 34.69 kB / 0.785 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.356e-05/0.2246, allocations: 4.938 kB / 0.785 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/0.2248, allocations: 180.2 kB / 0.7851 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.2248, allocations: 4.375 kB / 0.7851 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.304e-05/0.2248, allocations: 8.359 kB / 0.7852 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001736/0.225, allocations: 62.22 kB / 0.7852 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.225, allocations: 3.938 kB / 0.7852 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.225, allocations: 0 / 0.7852 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.533e-06/0.225, allocations: 4 kB / 0.7852 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000185/0.2252, allocations: 51.89 kB / 0.7853 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003728/0.2256, allocations: 288.8 kB / 0.7855 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001782/0.2258, allocations: 58.55 kB / 0.7856 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.78e-05/0.2259, allocations: 36.91 kB / 0.7856 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.384e-05/0.2259, allocations: 4.078 kB / 0.7856 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.382e-05/0.2259, allocations: 38.44 kB / 0.7857 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.2259, allocations: 0 / 0.7857 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0003614/0.2263, allocations: 109.5 kB / 0.7858 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.663e-05/0.2263, allocations: 51.41 kB / 0.7858 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.231e-05/0.2264, allocations: 113.8 kB / 0.7859 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.219e-05/0.2264, allocations: 25.7 kB / 0.786 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.76e-05/0.2265, allocations: 88.14 kB / 0.786 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.556e-05/0.2265, allocations: 7.812 kB / 0.7861 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.478e-05/0.2265, allocations: 21.7 kB / 0.7861 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.802e-05/0.2266, allocations: 318.8 kB / 0.7864 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.591e-05/0.2267, allocations: 27.97 kB / 0.7864 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.398e-05/0.2268, allocations: 27.97 kB / 0.7864 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001691/0.227, allocations: 48.77 kB / 0.7865 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.227, allocations: 3.938 kB / 0.7865 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002099/0.2272, allocations: 81.64 kB / 0.7866 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/0.2272, allocations: 4 kB / 0.7866 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.2272, allocations: 4 kB / 0.7866 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.806e-06/0.2273, allocations: 0 / 0.7866 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.2274, allocations: 19.98 kB / 0.7866 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.91e-06/0.2274, allocations: 0 / 0.7866 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.227e-05/0.2275, allocations: 11.92 kB / 0.7866 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/0.2275, allocations: 0 / 0.7866 GB, free: 9.758 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,intGreEquThr.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 6.69e-05/0.2275, allocations: 118.4 kB / 0.7867 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.917e-05/0.2276, allocations: 11.89 kB / 0.7867 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.191e-05/0.2276, allocations: 8.234 kB / 0.7867 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/0.2276, allocations: 0 / 0.7867 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.2276, allocations: 4 kB / 0.7867 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.2276, allocations: 3.984 kB / 0.7867 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001469/0.2278, allocations: 177.6 kB / 0.7869 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.2278, allocations: 4 kB / 0.7869 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.966e-05/0.2279, allocations: 15.98 kB / 0.7869 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.2279, allocations: 0 / 0.7869 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.2279, allocations: 0 / 0.7869 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.2279, allocations: 0 / 0.7869 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.2279, allocations: 0 / 0.7869 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002502/0.2282, allocations: 183.4 kB / 0.7871 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.721e-05/0.2282, allocations: 85.02 kB / 0.7872 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.355e-05/0.2282, allocations: 0 / 0.7872 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.689e-05/0.2283, allocations: 7.984 kB / 0.7872 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.102e-05/0.2284, allocations: 15.92 kB / 0.7872 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.568e-06/0.2284, allocations: 0 / 0.7872 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.744e-05/0.2284, allocations: 91.27 kB / 0.7873 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.71e-07/0.2285, allocations: 7.938 kB / 0.7873 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002012/0.2287, allocations: 4 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 (intGreEquThr.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.0004931/0.2292, allocations: 0.7124 MB / 0.788 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002217/0.2294, allocations: 63.88 kB / 0.7881 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.532e-06/0.2294, allocations: 0 / 0.7881 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001012/0.2295, allocations: 27.98 kB / 0.7881 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002537/0.2298, allocations: 14.8 kB / 0.7881 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001319/0.2311, allocations: 1.325 MB / 0.7894 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001941/0.2313, allocations: 0.6848 MB / 0.7901 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.225e-05/0.2313, allocations: 4 kB / 0.7901 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.771e-05/0.2314, allocations: 15.44 kB / 0.7901 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.2314, allocations: 0 / 0.7901 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02095/0.2524, allocations: 1.606 MB / 0.7917 GB, free: 4.496 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002439/0.2526, allocations: 224.4 kB / 0.7919 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.682/1.935, allocations: 0 / 0.7919 GB, free: 4.242 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe 2>&1)